Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Eric RAMAHATRA Friend
    #129708

    Hello

    i’ve downloaded itahia and it’s a really great template…
    I have the following errors both in IE and Firefox:
    – Warning: Invalid argument supplied for foreach() in templates/ja_utahia_ii/ja_menus/Base.class.php on line 144
    – also the Collapse Spotlight (hide top sl tool) does not work

    otherwise It seems to work in firefox but i have some errors in IE6 :
    – My main content (MainMenu and Body) are not centered but aligned to the left
    – the user tool on bottom right is not “collapsed” and i have a javascript error:
    tool_elem.style is null or not an object

    I also would like to “disable” the usertool button and apply the “natural” style by default.

    Would anyone help me please ?

    here is the link to my website
    http://www.papango.net/newsoi

    best regards

    Sherlock Friend
    #253833

    Hi papango !
    have you fixed some error on your site ?

    Eric RAMAHATRA Friend
    #253854

    hell

    to prevent the error i’ve added a line before the “foreach” in line 144

    so it’s like this now:

    [PHP]if (!empty($rows))
    foreach…[/PHP]

    if i comment the “if” statement, the error appears again… as you can see i modified the code as below

    [PHP]$this->items = array();
    144 //if (!empty($rows))
    145 foreach ($rows as $index => $v) {
    146 if ($v->access <= $user->get(‘gid’)) {
    .[/PHP]

    and the error appears .

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

This topic contains 3 replies, has 2 voices, and was last updated by  Eric RAMAHATRA 15 years, 11 months ago.

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