two front page

  • Suchanski
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 6 days ago #27420 by Suchanski
Replied by Suchanski on topic two front page
ok. Now I'm testing on different web browsers..
and on the IE or Chrome everything is ok, but firefox still display WRONG.
please look once again from firefox and give me know if U maybe know what is wrong with the site.

Best regards Adam

Please Log in to join the conversation.

More
11 years 5 days ago #27426 by ivan.milic
Replied by ivan.milic on topic two front page
In template_css.css at bottom you will find several css entries starting with:
#content_gradient_home .....

copy them to bottom but removing _home

#content_gradient ....

Please Log in to join the conversation.

  • Suchanski
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 day ago - 11 years 1 day ago #27597 by Suchanski
Replied by Suchanski on topic two front page
I try to solve this as you write and... there is no change.. now even bottom buttons are crashed.

The main problem is with carousel. In firefox it shows carousel next to the screen.
Attachments:
Last edit: 11 years 1 day ago by Suchanski.

Please Log in to join the conversation.

More
11 years 1 day ago #27613 by ivan.milic
Replied by ivan.milic on topic two front page
Undo that. Open index.php of template and find this code:
Code:
$menu = JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { $ishome = true; }

after that add:
Code:
if ($menu->getActive()->alias == 'put alias of that second page menu item here') { $ishome = true; }

Please Log in to join the conversation.

  • Suchanski
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 18 hours ago - 11 years 18 hours ago #27655 by Suchanski
Replied by Suchanski on topic two front page
now I have my index.php in template like this but this doesn't work.. I don't know if I write the alias in right way.. please check and give me know.
Code:
(...) <?php // module states $ishome=false; $menu = JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { $ishome = true; } if ($menu->getActive()->alias == 'http://www.azs.us.edu.pl/AMP-2013-SNB/index.php/home-aerobik') { $ishome = true; } $showadvert[1] = $this->countModules('advert1'); (...)
Last edit: 11 years 18 hours ago by Suchanski.

Please Log in to join the conversation.

More
11 years 16 hours ago #27662 by ivan.milic
Replied by ivan.milic on topic two front page
that is not alias , enter menu item setting you nicely have parameter with name "Alias" so take that value and not whole url like you did.

Please Log in to join the conversation.

Time to create page: 0.140 seconds
Powered by Kunena Forum