Jazhawk - 24 November 2005 09:20 AM
Thanx Sue. I’ll see if I can plug in something using this example. I notice a lot of threads talking about the wonders of this ExpressionEngine. Is that some kind of web tool for plugging in these downloadable themes? Is it imperative to use that ExpressionEngine for those themes or can they plug in without it?
-Jazhawk
ExpressionEngine is the replacement for pMachine. It is completely different from pMachine and very powerful.
If you download the EE themes, they won’t work with pMachine.
What I did to get that sample page to work was to view the renderd template on a test site, and plug in the pMachine tags where appropriate.
With EE, I take a rendered page, put it into EE’s template system and start taking apart the design to work the way I want it to work.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Testing</title>
<meta http-equiv="Content-Type" content="text/html; charset={charset}" />
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet=2col/site_css}' />
<style type='text/css' media='screen'>@import "{stylesheet=2col/site_css}";</style>
</head>
<body>
<div id="wrapper">
<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="{homepage}">Home</a></li>
<li><a href="{path=weblog/info/about-us}">About Sue</a></li>
<li><a href="#" title="Go to archives">Archives</a></li>
<li><a href="{path=weblog/feedback}" title="Contact Page">Contact</a></li>
<li><a href="http://www.pmachinehowto.com/index.php/forums">Forum</a></li>
</ul>
</div>
<div id="block_1">
<img src="/images/happythanks.jpg">
<div class="pad5">
{exp:weblog:entries weblog="testing"}
<div class=title>{title}</div>
<span class=subtitle>{subtitle}</span>
{page_content}
<br />
Author: {author}
{/exp:weblog:entries}
</div>
</div>
<div id="block_2">
{embed=2col/rightnav}
</div>
<div id="footer">
Footer goes here.
</div>
</div>
</body>
</html>
See how different this is from the source you see on my test turkey page?
It’s the same design.
I’m embedding a template called rightnav for the rightnav part of the design.
95% of my clients use EE, only 5% use pMachine. It just depends on what you want to do.
Did that make any sense, or confuse you more?