Cataloger beginner question
Posted: Fri Jul 16, 2010 11:23 am
Hello,
I'm trying to get Cataloger to work, but just can't figure out how it works...
I'll try to explain what I tried;
I've made 2 templates, one called "catalog" with this code:
And another one called item, almost the same but with this code instead:
Then I made a new page, with the content type set as 'Category page', and the template "catalog", and sub-template "category-css-based". Then I added some stuff for testing and an image.
After that I made an Item page, with content, and template set to "item page" and assigned it to the previously made category.
Now when I go and view the category page, I see one thumbnail in the top-right corner, with the name of the item page I created, but when I click it I get a blank page with this code in it:
But it doesn't work...
I'm probably doing everything wrong, but I cant find how to get it work though..
So if there 's anyone who could tell me how to get it work that would be great,
Thanks.
(sorry for my spelling, i'm not the best in english..)
I'm trying to get Cataloger to work, but just can't figure out how it works...
I'll try to explain what I tried;
I've made 2 templates, one called "catalog" with this code:
Code: Select all
...head>
</__body>
<div id="container">
<div id="top"></div>
<div id="catal">
{Cataloger sub_template='Category-CSS-based' action='all' alias='/'}
</div>
</div>
<__body>
</__html...
Code: Select all
.. {Cataloger sub_template='Item-css-based' action='all' alias='/'} ..
After that I made an Item page, with content, and template set to "item page" and assigned it to the previously made category.
Now when I go and view the category page, I see one thumbnail in the top-right corner, with the name of the item page I created, but when I click it I get a blank page with this code in it:
Code: Select all
<div class="item">
<p></p>
<table><tr><td><img id="item_image" name="item_image" src="" title="" alt="" /></td>
<td></td></tr></table>
<__script__ type="text/javascript">
function repl(img)
{
document.item_image.src=img;
}
</__script>
</div>
</div>
</div>
But it doesn't work...
I'm probably doing everything wrong, but I cant find how to get it work though..
So if there 's anyone who could tell me how to get it work that would be great,
Thanks.
(sorry for my spelling, i'm not the best in english..)