home page without {content}

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
maske
New Member
New Member
Posts: 2
Joined: Sat Feb 05, 2011 2:52 pm

home page without {content}

Post by maske »

hi,
I need to make template which doesn't have {content} on home page, but I have module news and some others on it.
My question is how to make that if someone clicks on some news, content from news show. I suppose that I must make on template some if..then block but if someone do that or have good suggestion how to that please help.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: home page without {content}

Post by Dr.CSS »

When you click on more link or title link in News it want/needs {content} box to populate with the detail if template doesn't have it it will not know what to do, you could do like the default install news tag and give it a detail page to go to that has the {content} in it...

If you try and use a template on a page w/o {content} it will give you an error, no content added...
Post Reply

Return to “Layout and Design (CSS & HTML)”