23001 Posts in 11702 Topics by 2827 members
|Go to End|
6 April 2009 at 10:58am
in "Step 4: Create the template for the site map", what details for SIteMap.ss.
I created SiteMap.ss with empty file.
I included $SiteMap in my Page.ss
I got my Site Map page but nothing in that page.
What i am missing?
6 April 2009 at 6:15pm
Well.. Do you have:
SiteMap.ss in your templates/Layout directory? It should contain the code listed in the Tutorial (not an empty file).
You don't need to put $SiteMap in Page.ss as long as you use the Layout file (must have $Layout in your Page.ss)
You should have a SiteMap.php file in your code directory.
DB must be rebuilt.
In the CMS you'll have to create a new Page with type "SiteMap"
Maybe you should read through the tutorial once more and check if you missed something?
7 April 2009 at 8:32am
I did what what you said, but just could not find source code for SiteMap.ss.
Could you point me where is it?
7 April 2009 at 10:07am
The code code for the SiteMap.ss Layout can be found here:
@ Step 4: Create the template for the site map
7 April 2009 at 11:52am
I did copy that code at the first time and did not work.
But this time is working.thanks
|Go to Top|