Register   Login
     
  Latest Posts  
custom field type:url
by aviavia on 11/23/2008 7:13 PM
Module Development Techniques
by hchattaway on 11/23/2008 5:14 PM
Customizing the URL a little further
by tmahmud on 11/23/2008 4:11 PM
RE: Google Maps
by smcculloch on 11/23/2008 10:29 AM
RE: I cant get rss feeds to work correctly
by smcculloch on 11/23/2008 10:27 AM
captcha still proken
by StatisticsIO on 11/23/2008 6:11 AM
RE: Comments RSS feeds
by StatisticsIO on 11/23/2008 6:09 AM
Regions and Copuntry List scripts for Location Types
by rodneyjoyce on 11/23/2008 4:56 AM
RE: BUG: Sort by: Price
by usheen on 11/23/2008 1:23 AM
RE: News Articles 301 Redirect
by mcox on 11/22/2008 11:16 PM
  Forums  
Subject: [HASSUMMARY] vs FCKeditor
Prev Next
You are not authorized to post a reply.

Author Messages
David SnowUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:95


7/21/2008 3:34 PM  

I see a problem that [HASSUMMARY][SUMMARY][/HASSUMMARY][HASNOSUMMARY][DETAILS:150][/HASNOSUMMARY] always uses the summary even if it appears empty.  The FCKeditor is placing p-tag nbsp; end-ptag in the file even if it is empty. This appears to be forcing me to alway have a summary.

I am courious what [HASMOREDETAIL] is supposed to do. Even if I have show the whole article in the listing [HASMOREDETAIL] still shows the "View Full Article... ". Is there a way to make this work so that I only get the "View Full Article... " if there is truly more information?

/DaveS

 

PS I have the FCKeditor set of paragraph breaks rather than br's for div's

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12450


8/01/2008 8:24 PM  
The HasSummary should strip out the HTML - so it should only compare content.

You can use [HASMOREDETAIL:150][/HASMOREDETAIL:150] where 150 is the number of characters to check against. This should resolve your 2nd point.

Let me know if this is unclear and I'll try to explain in further detail.

Scott McCulloch
Site Administrator
David SnowUser is Offline
Gold Membership
Nuke Addict
Nuke Addict
Posts:95


8/02/2008 9:14 AM  

I'll retest with the latest version ---- DaveS

You are not authorized to post a reply.
Forums > General > Bugs & Problems > [HASSUMMARY] vs FCKeditor



ActiveForums 3.7