Adding Content to a Multi Page Section
7 posts by 2 authors in: Forums > CMS Builder
Last Post: March 7, 2008 (RSS)
By rasbro - March 5, 2008
I want to add some intro text that will appear above the product listings. I can do this with a single page section, but of course then I wouldn't have any product listings, and any field I add to a multi page section will be used for the product listings. Do I need to create another section just for this purpose of adding content to a page that uses a multi page section/viewer? Seems like an inefficient work around. Why can't I add a field to be used only for the multi page section and not just for listings?
Thanks,
Brian
Re: [rasbro] Adding Content to a Multi Page Section
By Dave - March 5, 2008
Often what I do is create a single page section (that has one record) with fields for the common blocks on content around the website. Those might be: footer_copyright, address, welcome_message, etc. Then I'll load that single record at the very top of the page and use a variable like $common or $content instead of $record.
Then I can display the common content on the various pages like this: <?php echo $common['footer_copyright']; ?>.
Does that help any? If not, post an url and I'll keep trying. :)
interactivetools.com
Re: [Dave] Adding Content to a Multi Page Section
By rasbro - March 6, 2008
http://www.petesoutdoorgrills.com/holland-grill.php
Brian
Re: [rasbro] Adding Content to a Multi Page Section
By Dave - March 6, 2008
interactivetools.com
Re: [Dave] Adding Content to a Multi Page Section
By rasbro - March 6, 2008
Brian
Re: [rasbro] Adding Content to a Multi Page Section
By Dave - March 7, 2008
So you'd have to have 2 viewers to do that.
Hope that makes sense.
interactivetools.com
Re: [Dave] Adding Content to a Multi Page Section
By rasbro - March 7, 2008
Thanks,
Brian