22855 Posts in 9971 Topics by 2805 members
|Go to End|
11 November 2009 at 1:05pm
I need to have a page, called "Seminars", that contains only list of seminars and their short descriptions.
Under this page I need to have pages with full description for every seminar.
Should I use a "blog module" to create section like this?
If the blog module is fine, please explain how to define a separate "BlogEntry.ss" and "BlogHolder.ss" because I also have specific blogs on my website and I changed templates "BlogEntry.ss" and "BlogHolder.ss".
11 November 2009 at 5:48pm
I think your best approach, and probably easiest, would be to create the seminar pagetype yourself. Then you can define exactly the information it needs.
12 November 2009 at 6:07am
But how to create a page, that is going to collect only titles and short descriptions of all the seminar pages?
12 November 2009 at 7:09am
Create two different Page types: SeminarHolder and SeminarPage.
The SeminarPage is your detail page. Create all the needed fields there.
The SeminarHolder contains several seminar pages and displays its children summarized. Here's how your site-structure would look like:
+-- SeminarPage 1
+-- SeminarPage 2
+-- SeminarPage 3
To summarize the SeminarPages, you would create a special template for your SeminarHolder (SeminarHolder.ss), with something along these lines:
<% control Children %>
<a href="$Link">Read more</a>
<% end_control %>
That would output the Title, summarized Content and a Link to the detail-Page for every SeminarPage in the SeminarHolder. Feel free to extend this with your own fields and markup.
12 November 2009 at 8:30am
|Go to Top|