Announcement

Collapse
No announcement yet.

"Recent Article" Widget Headers-as-Links?

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

  • [CMS] "Recent Article" Widget Headers-as-Links?

    Is it possible to turn the widget header/title for a recent article widget into a hyperlink?

  • #2
    It depends where you want to hyperlink it to? if it's just a static page you can edit the template: vbcms_widget_recentarticle_page

    And find the code: {vb:raw widget_title}

    And just put a hyperlink around it-


    HTML Code:
    <a href="somewhere.php">{vb:raw widget_title}</a>

    Comment


    • #3
      Our current setup is a number of recent article widgets set to sections to get the layout that we want. I'm trying to see if I can link each recent article widget's title directly to it's section page, so it isn't a single link

      Comment


      • #4
        You would have to copy the template vbcms_widget_recentarticle_page to...
        vbcms_widget_recentarticle_page2
        vbcms_widget_recentarticle_page3
        vbcms_widget_recentarticle_page4
        vbcms_widget_recentarticle_page5 etc...

        Setup the link you want for each one... Then create a separate widget for each using the specific template you made for that link/widget.

        Comment


        • #5
          Awesome, thank you!

          Comment


          • #6
            I put in an Improvement Request for 'block' headers to be linked where applicable.
            My Live vB5 Site - NZEating.com
            vBulletin Hosting | vBulletin Services - Need hosting for your vB? Need it installed? Something else? Let me take that hassle off your hands.

            Comment

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