Jump to content
DevFuse Forums
  • [Random Logos] Empty logo url


    Michael
    • Fixed IP.Board Version: IP.Board 4.3.x

    The empty logo url should display the forum url instead.

    Manual Patch:

    Open acp > theme editor > randomlogos > front > global > logo

    Find:

        {{if $logo->link}}
            <a href='{$logo->link}' target='_blank'>
        {{endif}}
        <img src="{$image}" alt='{$logo->alt}' {{if $logo->width}}width='{$logo->width}px'{{endif}} {{if $logo->height}}height='{$logo->height}px'{{endif}}>
        {{if $logo->link}}
            </a>
        {{endif}}

    Replace With:

        {{if $logo->link}}
            <a href='{$logo->link}' target='_blank'>
        {{else}}
            <a href='{setting="base_url"}' id='elLogo' accesskey='1'>    
        {{endif}}
        <img src="{$image}" alt='{$logo->alt}' {{if $logo->width}}width='{$logo->width}px'{{endif}} {{if $logo->height}}height='{$logo->height}px'{{endif}}>
        </a>

    Save.


    User Feedback

    Recommended Comments



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

    Pending = We are still working on this report.

    Fixed = The issue has been fixed and the resolution will be available in the next version.

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

×
×
  • Create New...