0
Welcome Guest! Login
0 items Join Now

Rok_newsrotator Title Issue

    • GH's Avatar
    • GH
    • Newbie
    • Posts: 9
    • Thanks: 0

    Rok_newsrotator Title Issue

    Posted 15 years 9 months ago
    • In rok_newsrotator, I have a problem with getting dollar signs to show in titles.

      If I create a title like, "Jury Awards $100 Million in Jones Case" it turns to:

      "Jury Awards 0 Million in Jones Case."

      I've tried using $ for the dollar sign but it still happens in the title of a rok_newsrotator item. I can use $ in the article body okay but can't get past this issue in the title.

      How can I get the dollar sign to show up in the title for a rok_newsrotator item?
    • GH's Avatar
    • GH
    • Newbie
    • Posts: 9
    • Thanks: 0

    Re: Rok_newsrotator Title Issue

    Posted 15 years 9 months ago
    • I have found this solved thread, which details my same issue, but I am unable to correct this dollar sign problem in the title:

      www.rockettheme.com/forum/index.php?f=90..._v=viewtopic#p187987

      My code looks exactly as this person's:
       
      /*
      strips tags won't remove the actual jscript
      $text = preg_replace( "'<script[^>]*>.*?</script>'si", "", $text );
      $text = preg_replace( '/{.+?}/', '', $text);
      // replace line breaking tags with whitespace
      $text = preg_replace( "'<(br[^/>]*?/|hr[^/>]*?/|/(div|h[1-6]|li|p|td))>'si", ' ', $text );
      $text = strip_tags( $text );
      if (strlen($text) > $length) $text = substr($text, 0, $length) . "...";
      */

      So I'm not sure what else I should do to "comment it out" as they have suggested.

      Please help.

Time to create page: 0.050 seconds