WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: ragou on April 18, 2010, 02:52:21 AM

Title: Content areas
Post by: ragou on April 18, 2010, 02:52:21 AM
Hi,
I have a question about editing different areas in a page.
For example I've installed "Orange sunset" template. There are few areas  in the page such as "Latest news" and "Other information" that I don't know how to edit because they are invisible. May be I misunderstand something. Any helm will be appreciated.
Best regards.
Title: Re: Content areas
Post by: Argos on May 03, 2010, 10:17:15 AM
Hi,
I have a question about editing different areas in a page.
For example I've installed "Orange sunset" template. There are few areas  in the page such as "Latest news" and "Other information" that I don't know how to edit because they are invisible. May be I misunderstand something. Any helm will be appreciated.
Best regards.

Maybe they're just bogus content areas hardcoded in the template? Real content areas should be declared in the info.php file, and the template should have php calls to content or modules in the content places.
Title: Re: Content areas
Post by: Steve_O on May 03, 2010, 01:13:09 PM
I am currently using orange sunset for a website. Argus is right, what you see right now in the right column is bogus content which you have to delete from the index.php.

To show content in the right column, you can edit the index.php and info.php to create content blocks (look here (http://www.websitebaker2.org/en/help/designer-guide/content-blocks.php?lang=EN)) OR you can use something like anynews (http://www.websitebakers.com/pages/code-snippets/listings/anynews.php) or showsection (http://www.websitebakers.com/pages/droplets/official-library/content/showsection.php) (that's what I did).