 | |  |
 |

Jesus
User
Oct 26, 2006, 4:13 PM
Post #1 of 2
(256 views)
Shortcut
|
|
A fwe questions
|
Can't Post
|
|
Hi everybody.... here i'm working on my 1st project with AM :) and I've a few questions... so here I go... 1st, I'm trying to display articles by category on my article pages. So how or which place holder or template do I need to use to display all the available articles per specific category. I'm using AM not to just create articles as a newspaper or magazine. I'm using it for content administration as for the website well. So each of my main categories will have like 5 articles to show. Example: About Us, will have: Mision, Vision, History and Contact Us 2nd, I want to use just one template for my articles so, I understand I can use IF statements, can you explain a little more how can I use those if's so I can just use one tamplate for my articles? That's it for now but I'm sure I'll have some other questions as soon as I'm advancing on this configuration stuff. Thanks in advance for pointing me to the right direction. Jesus
|
|
|  |
 |

Theo
Project Manager
/ Moderator

Oct 27, 2006, 4:40 PM
Post #2 of 2
(232 views)
Shortcut
|
Thanks for posting, Jesus! I'm not sure exactly what it is you're looking to do. Do you have a mockup of what you want the page to look like? Ditto for your article pages...what and how extensive your templateIf's are depends on what you specifically want to do. In a nutshell, you want to: - Create a Category checkbox field called "Custom Article Format" (with a placeholder name of "customArticleFormat"). - In your articlePages/articlePage.thml template, use templateIf's to define where you want to use the custom format:
<!-- templateIf : $category.customArticleFormat$ == "1" --> CUSTOM ARTICLE FORMAT HERE <!-- /templateIf --> <!-- templateIf : $category.customArticleFormat$ != "1" --> DEFAULT ARTICLE FORMAT HERE <!-- /templateIf --> I can give you some more specifics if I get a bit of an idea of what you're hoping to do. Talk to you soon, Jesus! Theo Wiersma Project Manager
|
|
|  |
 | |  |
|