Results 1 to 10 of 1988

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Hi Clyde,
    On the links page.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 release

    I just checked the links category page and All of the links pages and HTML Tidy didn't show this warning anywhere.

    The only warning I did see was about using & instead of &.

    So I'm not sure where it is coming from.

    One place to look would be:

    includes/functions/links.php

    and check this line of code

    $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"';

  3. #3
    Join Date
    Mar 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Hi Clyde,

    Changed this line of code to;
    }
    // alt is added to the img tag even if it is null to prevent browsers from outputting
    // the image filename as default
    $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"';
    if (zen_not_null($alt)) {
    $image .= ' title=" ' . zen_output_string($alt) . ' "';
    }

    And everything is fine.
    The code that was there on that line was;

    }
    // alt is added to the img tag even if it is null to prevent browsers from outputting
    // the image filename as default
    $image = '<img src="' . zen_output_string($src) . '"alt="' . zen_output_string($alt) . '"';
    if (zen_not_null($alt)) {
    $image .= ' title=" ' . zen_output_string($alt) . ' "';
    }

    very similar except for spaces. I have no idea why this brought up validation errors but it did using the validator at w3c.
    Thanks for the help Clyde

    Rottie

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by rottiejoe View Post
    Hi Clyde,

    Changed this line of code to;
    }
    // alt is added to the img tag even if it is null to prevent browsers from outputting
    // the image filename as default
    $image = '<img src="' . zen_output_string($src) . '" alt="' . zen_output_string($alt) . '"';
    if (zen_not_null($alt)) {
    $image .= ' title=" ' . zen_output_string($alt) . ' "';
    }

    And everything is fine.
    The code that was there on that line was;

    }
    // alt is added to the img tag even if it is null to prevent browsers from outputting
    // the image filename as default
    $image = '<img src="' . zen_output_string($src) . '"alt="' . zen_output_string($alt) . '"';
    if (zen_not_null($alt)) {
    $image .= ' title=" ' . zen_output_string($alt) . ' "';
    }

    very similar except for spaces. I have no idea why this brought up validation errors but it did using the validator at w3c.
    Thanks for the help Clyde

    Rottie
    glad it worked out.

 

 

Similar Threads

  1. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  2. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  3. Download File Manager Support Thread
    By balihr in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 17 Aug 2017, 10:32 PM
  4. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  5. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg