ampersands & in external urls - invalid markup

ampersands & in external urls - invalid markup was created by bamhost

Posted 11 years 11 months ago #3418
I have searched this forum looking for a fix for this to no avail. I do not speak French, and a large portion of your forum does not convert to English making it impossible to read.

I have a single install of the latest maximenuck 6.0.1 installed in my joomla 2.5.4 The menu works beautifully but due to it unencoding ampersands in external urls - changing & to & it not only breaks validation, but it also breaks other scripts and coding.

This is only happening with the menu items in the maximenu. It does not happen in other normal joomla menus.

How do we fix this? These errors are causing errors with other coding.

Thank you for your assistance.
by bamhost

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: ampersands & in external urls - invalid markup

Posted 11 years 11 months ago #3430
Hi
please send me screenshots of your params with ampersands and the result on front end. Strange because it should work as standard joomla menus
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by bamhost on topic Re: ampersands & in external urls - invalid markup

Posted 11 years 11 months ago #3432
Hello Ced,

Thank you for your quick response.

I really don't like to post my clients url's in forums, is there any other way I can send it to you?...and then when we resolve the issue we can post it here in the forum for other users? Sorry for the inconvenience and hope that you understand.
by bamhost

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: ampersands & in external urls - invalid markup

Posted 11 years 11 months ago #3433
just send me screenshots where and how you put the & in your page, and the result as screenshot too. Like you want...

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by bamhost on topic Re: ampersands & in external urls - invalid markup

Posted 11 years 11 months ago #3445
This isn't making any sense - a screen shot is still going to show my clients url, but here goes.

One of the links I entered is or/index.php?action=searchresults&pclass[]=1

Here you can see that it is invalid markup:
validator.w3.org/check?uri=http%3A%2F%2F...=W3C_Validator%2F1.3

I have also tried using the full url, but it still results in invalid markup.

And of course if I disable the maximenuck all together, then the page valid dates. But as you can see in the results above, it's the unencoded ampersands that are causing the invalidation.

Thank you for your help.
by bamhost

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: ampersands & in external urls - invalid markup

Posted 11 years 11 months ago #3446
do you know that you can do screenshots of a selected area only ? ... ;)
ok, so it is in a link url, I see.

I will have a look why this does not happen on the joomla native menu.

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.723 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 909 guests and no members online