Page 1 of 1
intro page with no content
Posted: Thu Dec 23, 2010 2:40 pm
by jeenyus
good day!
i need an intro page with no content . but i cannot save a page with type Content without some content. what should i do ? i need just an image and language selector in forst page
thanks
edmunds
Re: intro page with no content
Posted: Thu Dec 23, 2010 2:55 pm
by uniqu3
Add image and flags in content area

Or enter some content, save the page, create new template with no {contet}, style it with your image and flags, assign it to "home" page.
Re: intro page with no content
Posted: Thu Dec 23, 2010 2:55 pm
by spike
Slot yer image into "content"
Re: intro page with no content
Posted: Thu Dec 23, 2010 5:45 pm
by Wishbone
Turn off WYSIWYG and insert an HTML comment.. It will save, but appear to have no content.
Re: intro page with no content
Posted: Thu Dec 23, 2010 7:34 pm
by Jos
uniqu3 wrote:
create new template with no {content}
I've learned that every template needs at least a plain {content} tag?
Re: intro page with no content
Posted: Thu Dec 23, 2010 7:39 pm
by calguy1000
Every template needs to have in it somewhere at least one content tag.
You do not need to use it though.
i.e: {content assign='junk'} {* nothing will be displayed *}
or as stated above, just put an HTML comment, or a smarty comment {* foo *} into the content area.
Re: intro page with no content
Posted: Thu Dec 23, 2010 8:27 pm
by uniqu3
@Jos
Actually i never experienced any problems/errors if not using {content} in template, only problem is page cant be edited

"set it and leave it", and if it's meant as a splash page you don't have to edit it anymore after switching template.
Re: intro page with no content
Posted: Thu Dec 23, 2010 8:49 pm
by Jos
ok
