 |

Vaisoco
User
Feb 21, 2008, 4:25 AM
Post #1 of 7
(428 views)
Shortcut
|
|
Unwanted content
|
Can't Post
|
|
I have just created my first section and added the appropriate code to my required page (http://www.first4studio.com/indus/offers.php). I dont want the record, title and content fields showing at all. This is a simple text page. What have I done wrong?
|
|
|  |
 |

Dave
Staff
/ Moderator

Feb 21, 2008, 1:42 PM
Post #2 of 7
(413 views)
Shortcut
|
|
Re: [Vaisoco] Unwanted content
[In reply to]
|
Can't Post
|
|
You're on the right track! The code viewer outputs ALL the fields, just remove the ones you don't want. They probably look something like this: 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. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 | |  |
 |

Dave
Staff
/ Moderator

Feb 21, 2008, 2:21 PM
Post #4 of 7
(408 views)
Shortcut
|
|
Re: [Vaisoco] Unwanted content
[In reply to]
|
Can't Post
|
|
It looks like maybe we removed a little too much. I think we want that "Content" field after all, maybe just without the text before it that said "Content: ". Try adding this back in step 2:
<?php if ($record): ?> <?php echo $record['content'] ?> <?php endif ?> Let me know how that goes. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

Vaisoco
User
Feb 21, 2008, 4:07 PM
Post #5 of 7
(405 views)
Shortcut
|
That has sorted it perfectly. Total thanks for great support
|
|
|  |
 | |  |
 |

Dave
Staff
/ Moderator

Feb 22, 2008, 9:45 AM
Post #7 of 7
(390 views)
Shortcut
|
|
Re: [Vaisoco] Unwanted content
[In reply to]
|
Can't Post
|
|
Hi Vaisoco, 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. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
|