Fork me on GitHub

Web_Links module 2 -- Error box link does not work due to mis-formatting of a link ref.  Bottom

  • Does anyone know where I would find the error text to modify a mis-formatting of a link? There are some delimiters that need to be removed --> " in the link that reads: "Register for a new user account". It returns an error message due to to typos in the link.

    I looked for the error message file in the Web_Links module, but could not find it.

    You can find an example here: http://frenchasasecondlanguage.org/index.php?module=Weblinks&func=addlink

    Thanks for the help.

    Marc
  • The link looks like this:

    Code

    http://frenchasasecondlanguage.org/\"index.php?module=Users&func=register\"

    It should look like this

    Code

    http://frenchasasecondlanguage.org/index.php?module=Users&func=register

    Typically a link like this will be constructed using the pnmodurl plugin in one of the templates. I'd suggest searching in you templates for

    Code

    <!--[pnmodurl modname=Users ...

    There must be something strange going on around there.
  • Hi Marc,

    there is a hardcoded link in Web_Links/pnlang/eng/user.php:

    Code

    define('_WL_LINKSNOTUSER8','<a href="index.php?module=Users&func=register">Register for a new user account</a>');


    --
    Cheers, Sascha

    Philivision, Inc. - User of Zikula since 2002...
  • Hi Sascha:

    Thanks for the tip. I have modified the code (removed the two offending backslashes) and it now works properly. The error also appears in the other language packs. I'll modify the threads where this is discussed and point them back to this thread.

    Cheers Marc

This list is based on users active over the last 60 minutes.