Results 1 to 4 of 4
  1. #1
    Casual Pligger Genghis's Avatar
    Joined
    Mar 2007
    Posts
    57
    Thanks
    Received:0
    Given: 0

    Smile How to remove <br /> in link_summary_pre_story_content

    Hey fellas:

    How can one go about removing those nasty little <br /> that are injected with the story at submission and are displayed in the pre_story_content of the un/published pages?

    Depending on where the <br /> are they can make the sentence lines look a little screwy.
    It would be nice to just filter them out in the pre_story_content.

  2. #2
    ozo
    ozo is offline
    Casual Pligger ozo's Avatar
    Joined
    Jan 2007
    Posts
    50
    Thanks
    Received:0
    Given: 0
    Hey, dont really know what you want. But from what you described you should check your link_summary.tpl file for the "<br/>" tags. If you have an example page post it

  3. #3
    Casual Pligger Genghis's Avatar
    Joined
    Mar 2007
    Posts
    57
    Thanks
    Received:0
    Given: 0

    Cool

    Ozo and all else:

    Take a look at this pligg site: http://www.rankcommercials.com/

    Notice, for example, the first post at the top of the page looks like this w/ the html tags:

    HTML Code:
    This commercial had me riveted to the screen.<br />
    <br />
    Paul McCartney stolling down the street strumming a mandolin.<br />
    <br />
    Bonus points for th read more » 
    The above <br /> were injected during the submit process and do not exist in link_summary.tpl. So the question still stands: How does one filter them out during submit?

  4. #4
    Casual Pligger Genghis's Avatar
    Joined
    Mar 2007
    Posts
    57
    Thanks
    Received:0
    Given: 0
    abcdefgary,

    Thanks at the attempt of resolving the issue. I did a search for 'nl2br' and found only 3 entries on the topic. None of them really addressed the issue. Moreover, I did a search for 'nl2br' in my Pligg 9.5 beta files and did not find a single instance of 'nl2br'...so I think it's safe to presume that this value is not the issue.

    Any other suggests?

Similar Threads

  1. Remove Adsense
    By faceachebook in forum Questions & Comments
    Replies: 2
    Last Post: 05-24-2011, 03:11 PM
  2. Remove Mysite
    By IGVSystems in forum Questions & Comments
    Replies: 1
    Last Post: 01-16-2010, 06:45 AM
  3. How To Remove this....?
    By ucupzzz in forum Questions & Comments
    Replies: 2
    Last Post: 04-25-2009, 06:54 PM
  4. How to remove this?
    By BalkanW in forum Questions & Comments
    Replies: 1
    Last Post: 02-08-2009, 03:31 PM
  5. how to remove all of this
    By cute2008 in forum Questions & Comments
    Replies: 1
    Last Post: 04-06-2007, 10:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg