test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • andanet1 Friend
    #146792

    Hi all.
    First forgive me if I wrong section but i think this is correct.
    I’ve verified two problems with validation in Pyrite theme.
    When i try to validate its in validator.w3.org I received 2 errors. First is very simple.
    mod_Search/tmpl/default.php
    line 42: <input type=”hidden” name=”Itemid” value=<?php echo $mitemid; ?> />

    there aren’t quotes after value=
    Correction to be made is to insert quotes to include php code.
    Correct line: <input type=”hidden” name=”Itemid” value=”<?php echo $mitemid; ?>” />

    Next error is present in ja.menuhover.php at line 23.
    if (els && (els = els.getChildren())) {

    Validator cannot recognized correctly &&. Then can I transform && in
    &&
    ?
    Template code fail?

    Thanks for your reply.
    Bye

    Antonio.

    Saguaros Moderator
    #326510

    Hello Andanet!

    1) problem with hidden tag : that’s a mistake in the core module joomla. you can fix the issue via your solution or use the override template to resolve

    2) Product with javascript:
    It’s wrong if you make this change, i make sure that the javascript error’ll happen.
    [PHP]&&[/PHP]
    [PHP]&&[/PHP]

    When we write javascript code, we put them inside this block :

    [PHP]
    <script type=”text/javascript”>
    //<!]>
    </script>
    [/PHP]
    This code was recommended by w3c

    andanet1 Friend
    #326534

    <em>@tienhc 156733 wrote:</em><blockquote>Hello Andanet!

    1) problem with hidden tag : that’s a mistake in the core module joomla. you can fix the issue via your solution or use the override template to resolve
    </blockquote>

    Yes I’ve reported only for statistics.

    <em>@tienhc 156733 wrote:</em><blockquote>
    2) Product with javascript:
    It’s wrong if you make this change, i make sure that the javascript error’ll happen.
    [PHP]&&[/PHP]
    [PHP]&&[/PHP]

    When we write javascript code, we put them inside this block :

    [PHP]
    <script type=”text/javascript”>
    //<!]>
    </script>
    [/PHP]
    This code was recommended by w3c</blockquote>

    Thanks…. now I try…

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  andanet1 15 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum