adding partial content...

6 posts by 3 authors in: Forums > CMS Builder
Last Post: March 30, 2011   (RSS)

By (Deleted User) - March 29, 2011 - edited: March 29, 2011

hi. Is there a way to have only partial content show up on a multiple listing page?

Right now I have this in the code...

Content: <?php echo $record['content'] ?><br/>

I only want to show the first paragraph or so --- how do I do this?

thanks!

-C

Re: [cfdesign] adding partial content...

By Damon - March 29, 2011

Hi,

What about creating a textbox in CMS Builder for Summary and then using that field to enter the first paragraph of content.

You could publish it with code like this:
<p><?php echo $record['summary'] ?></p>

Would that work for you?
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Damon] adding partial content...

By (Deleted User) - March 29, 2011

yes that would work.. but was hoping to prevent the user of the CMS that I was building to not complicate it for them... is there another way?

thanks!

Re: [cfdesign] adding partial content...

By zip222 - March 29, 2011 - edited: March 30, 2011

Take a look at this forum discussion for a few options...

http://www.interactivetools.com/iforum/Products_C2/CMS_Builder_F35/gforum.cgi?post=84668

Re: [zip222] adding partial content...

By Damon - March 30, 2011

Hi,

The forum link you added links right back here.

Can you repost the link to the forum discussion you had in mind?

Thanks!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/