- Posts: 11
- Thank you received: 0
two front page
-
Suchanski
Inactive member -
Topic Author
- New Member
-
Less
More
12 years 1 week 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
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.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 week 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 ....
#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
-
Less
More
- Posts: 11
- Thank you received: 0
12 years 1 week ago - 12 years 1 week 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.
The main problem is with carousel. In firefox it shows carousel next to the screen.
Last edit: 12 years 1 week ago by Suchanski.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 days 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:
after that add:
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
-
Less
More
- Posts: 11
- Thank you received: 0
12 years 6 days ago - 12 years 6 days 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: 12 years 6 days ago by Suchanski.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 6 days 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.102 seconds