Announcement

Collapse
No announcement yet.

Remove "... Read More"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [CMS] Remove "... Read More"

    Hey All,

    Can someone pls tell me how to remove the "... Read More" after the article summary in VB CMS?

    It suffices that ppl can click on article headings to view the whole article!

    Cheers!

  • #2
    Styles and Templates > Style Manager > Edit Templates > vBulletin CMS Templates > vbcms_content_article_preview

    You can also do a search in languages and phrases but I think it might still leave traces like the arrow image.
    vBulletin Rules!

    Comment


    • #3
      Originally posted by kontagio.us View Post
      Styles and Templates > Style Manager > Edit Templates > vBulletin CMS Templates > vbcms_content_article_preview

      You can also do a search in languages and phrases but I think it might still leave traces like the arrow image.
      I'm pretty anal and find the "Read More" link kinda of annoying too, especially when the article is short and it's fully viewable without having to open the article. Anyway, so I followed the directions but I'm scared to edit or delete the script. Actually, I'm not sure what to do next to remove the Read More link.

      This part in the vbcm_content_article_preview seems to have the READ MORE part:

      <vb:if condition="$preview_chopped">
      <span class="cms_article_readmore"><a href="{vb:raw page_url}">{vb:rawphrase read_more_phrase} <img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}.png" alt="{vb:rawphrase read_more_phrase}" /></a>

      Anyone know what I should do next? I'll probably just leave it as is since this looks pretty complicated. Eh?

      Comment


      • #4
        Just remove this part including the closing if tag. Nothing can happen because there is the option to reverse all templates to default values.
        .......

        Comment


        • #5
          Originally posted by monet View Post
          Originally posted by kontagio.us View Post
          Styles and Templates > Style Manager > Edit Templates > vBulletin CMS Templates > vbcms_content_article_preview You can also do a search in languages and phrases but I think it might still leave traces like the arrow image.
          I'm pretty anal and find the "Read More" link kinda of annoying too, especially when the article is short and it's fully viewable without having to open the article. Anyway, so I followed the directions but I'm scared to edit or delete the script. Actually, I'm not sure what to do next to remove the Read More link. This part in the vbcm_content_article_preview seems to have the READ MORE part: <vb:if condition="$preview_chopped"> <span class="cms_article_readmore"><a href="{vb:raw page_url}">{vb:rawphrase read_more_phrase} <img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}.png" alt="{vb:rawphrase read_more_phrase}" /></a> Anyone know what I should do next? I'll probably just leave it as is since this looks pretty complicated. Eh?
          you dont need to delete or remove anything just put <!-- and -->

          Code:
          <!--
          <vb:if condition="$preview_chopped">
          <span class="cms_article_readmore"><a href="{vb:raw page_url}">{vb:rawphrase read_more_phrase} <img src="{vb:stylevar imgdir_cms}/read_more-{vb:stylevar right}-light.png" alt="{vb:rawphrase read_more_phrase}" /></a>
          </span>
          </vb:if>-->
          http://www.myjoomla16.com

          Comment


          • #6
            EVen better than <!-- and !> is <vb:comment> at the start of the code you want to hide and </vb:comment> at the end of the code you want to hide, then it never even gets shown to the browser.

            Just be sure you don't break a <vb:if> statement... basically if you put the code BEFORE a <vb:if...> opening statement make sure you don't put the closing </vb:comment> until AFTER the closing </vb:if> statement.

            OR

            in a case like this, change <vb:if condition="$preview_chopped"> to <vb:if condition="$preview_chopped AND 0"> and it will NEVER be true so it will never show.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...
            X