Page 2 of 2

Re: Picture page is not W3C valid! How to fix this?

Posted: 13 Feb 2009, 00:06
by st3n
so i replace the code:

Code: Select all

echo '<form action="'.$this->tmpl['action'].'" method="post" name="adminForm">';
in:

Code: Select all

components/com_phocagallery/views/category/tmpl/default.php
for:

Code: Select all

$mojetmp = '';
$mojetmp = '<form action="'.$this->tmpl['action'].'" method="post" name="adminForm">';
$mojetmp = str_replace("&", "&", $mojetmp);
echo $mojetmp;
its valid now, i am testing the site, i will write, when i will see some problems with the replacement

Re: Picture page is not W3C valid! How to fix this?

Posted: 27 Feb 2009, 23:34
by st3n
SO I tried it, but... with the string replace for amp are problems... after action in form and automatic reloading the page, cant get paarameters from menu item and component are getting confgurations from global parameters....

but i need valid site :(

any tips?

thanks and sorry for my english

Re: Picture page is not W3C valid! How to fix this?

Posted: 28 Feb 2009, 17:10
by Jan
Hi, the links are still problem in Joomla! and some servers. There are mehtods: JRoute, JHTML, etc. which create correct link with & but some links then doesn't work on some servers, so e.g. here $this->tmpl['action'] need to be used instead...

Why do you need your site will be valid? Is there some reason for it? All xhtml tags are correctly closed, there is only & instead of & in some Joomla! links but this doesn't have any influence on the site?


Jan

Re: Picture page is not W3C valid! How to fix this?

Posted: 02 Mar 2009, 16:22
by Jan