Announcement

Collapse
No announcement yet.

Fix to open attachments in new window/tab

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Free Mod Fix to open attachments in new window/tab

    Edit bbcode_attachment_list template.

    Change:

    Code:
    <a href="{vb:raw attachurl}{vb:raw attachment.nodeid}">
    to:

    Code:
    <a href="{vb:raw attachurl}{vb:raw attachment.nodeid}" [COLOR=#FF0000]target="_blank"[/COLOR]>
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    #2
    I try do that it is still open in same , not new window

    Comment


      #3
      Try clearing system cache in AdminCP. Are you sure you modified the template in the correct theme/style you're viewing on the frontend?
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #4
        Originally posted by glennrocksvb View Post
        Try clearing system cache in AdminCP. Are you sure you modified the template in the correct theme/style you're viewing on the frontend?
        you are correct ....

        I check what you said about correct theme .... it is working well and open in new window
        nice Modifications

        Comment


          #5
          Glad it works now for you.
          Helpful? Donate. Thanks!
          Buy me a coffeePayPal QR Code
          Fast VPS Host for vBulletin:
          A2 Hosting & IONOS

          Comment


            #6
            Handy. Thanks.
            Works in vB 5.6.0.

            Comment

            Users Viewing This Page

            Collapse

            There is 1 user viewing this forum topic.

            • Guest Guest

            Latest Posts

            Collapse

            Working...
            X
            Searching...Please wait.
            An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

            Please push the back button and reload the previous window.'
            An unexpected error was returned: 'Your submission could not be processed because the token has expired.

            Please push the back button and reload the previous window.'
            An internal error has occurred and the module cannot be displayed.
            There are no results that meet this criteria.
            Search Result for "|||"