Unwanted content
7 posts by 2 authors in: Forums > CMS Builder
Last Post: February 22, 2008 (RSS)
By Vaisoco - February 21, 2008
I dont want the record, title and content fields showing at all. This is a simple text page.
What have I done wrong?
Re: [Vaisoco] Unwanted content
By Dave - February 21, 2008
Record Number: <?php echo $record['num'] ?><br/>
Title: <?php echo $record['title'] ?><br/>
Content: <?php echo $record['content'] ?><br/>
Just remove those and refresh the page.
Also, change this tag:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
To this:
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
And you won't get those funny "Â" characters.
Hope that helps! Let us know if you have any other questions.
interactivetools.com
Re: [Dave] Unwanted content
By Vaisoco - February 21, 2008
I removed only those lines you requested but now the content has completely dispapeared from http://www.first4studio.com/indus/offers.php
The code for the page is attached.
Re: [Vaisoco] Unwanted content
By Dave - February 21, 2008
Try adding this back in step 2:
<?php if ($record): ?>
<?php echo $record['content'] ?>
<?php endif ?>
Let me know how that goes.
interactivetools.com
Re: [Dave] Unwanted content
By Vaisoco - February 21, 2008
Total thanks for great support
Re: [Vaisoco] Unwanted content
By Vaisoco - February 21, 2008
How can a list page show records in a more formatted manner. By default your program adds field names to every entry in a record. As you can see at http://www.first4studio.com/indus/caravansList.php this doesnt look right. I would love to be able to display my records as you can see at http://www.curtisusedcars.co.uk/carListing/
Re: [Vaisoco] Unwanted content
By Dave - February 22, 2008
It's totally possible to display your listings like that. CMS Builder doesn't provide the web design (that's up to you) but it gives you all the tools to manage the content and generate all the product pages.
The next step is to just keep cutting and pasting. If there's content you don't want try editing your viewer and removing that extra text. If you remove too much just undo or copy and paste from the code generator again.
Once you have all the fields you want (make a backup of that working file! and then) start adding your design to the page.
Hope that helps! Keep posting with your progress, we're here to help.
interactivetools.com