USBDev
asked on
Ampersand Issue in firefox 3.5
Hi
Here's my issue -
In IE 8, a URL shows up as -
/index.php?option=com_cont ent&view=a rticle&id= 93:the-pin k-city&cat id=42:roks tories&Ite mid=111
But in firefox it shows up in the URL as -
index.php?option=com_conte nt&vie w=article& amp;id=93: the-pink-c ity&ca tid=42:rok stories&am p;Itemid=1 11
The difference is in IE8 we see "&" in the URL and in FF 3.5 they are seen as "&".
I am using a module in Joomla CMS named RokStories and the line in the PHP file I have narrowed down to is -
RokStoriesLinks['rokstorie s-<?php echo $module->id; ?>'].push('<?php echo $item->link; ?>');
I think its that link that something goes wron with in firefox.
appreciate any help.
Thanks,
UD
Here's my issue -
In IE 8, a URL shows up as -
/index.php?option=com_cont
But in firefox it shows up in the URL as -
index.php?option=com_conte
The difference is in IE8 we see "&" in the URL and in FF 3.5 they are seen as "&".
I am using a module in Joomla CMS named RokStories and the line in the PHP file I have narrowed down to is -
RokStoriesLinks['rokstorie
I think its that link that something goes wron with in firefox.
appreciate any help.
Thanks,
UD
ASKER
The site is a bit confidential at the moment. Can I PM you? How do I?
Send an email to brian.portlock at google mail dot c o m
I rarely use it for emails but I will make a point of logging to check it over the next day or two.
I rarely use it for emails but I will make a point of logging to check it over the next day or two.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Not the exact solution, but gave me guidance to get to my soluton.
index.php?option=com_conte
then that is a little screwy. However, this is the correct format for a link embedded in an HTML page because the & stops the link being mistaken for an HTML entity. When the link is clicked the browser knows to recode the & as & and this happens before it is loaded into the address bar and displayed at the top.
Can you post a link to the page that concerns you? Better still, run it through the W3C page validator at
http://validator.w3.org/