Monday 18 August 2003 3:56:12 am
Hi, Last weekend, using the examples provided by the default ezP3.1 instalation, i created a small site using the Content Classes: folders, articles and pageinfo. I setup bilingual content too with links to switch between the two languages (content and interface). Great ! I have 2 questions about folder listing.
1 - When a link to a folder, i can get the articles list. Each articles uses the template (i use the default template with some changes) line_article.tpl to show header and intro for that article. Using the same aproach, i created a line_infopage.tpl and created the entry:
[line_infopage]
Source=node/view/line.tpl
MatchFile=line_infopage.tpl
Subdir=templates
Match[class]=10
on the override.ini.append file (10 is the number of content class pageinfo) Unfortunately i dont get the expected result and dont see the result of line_pageinfo.tpl. What im missing ? 2 - I want create a default content article or pageinfo each time i choose a list content folder. Instead of articles list, I want display the complete content of the most recent article (or pageinfo) published and then the articles list using the line_article.tpl. Can someonte give ideas how to reach these results ?? Thank you, axel
http://AlexandreCunha.com
|