Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Different layout for different categories of the site. Is it possible?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Different layout for different categories of the site. Is it possible? (Read 5865 times)
ROUBOS
Hero Member
Posts: 699
Different layout for different categories of the site. Is it possible?
«
on:
November 11, 2009, 23:59:37 »
Hi,
Just a thought.
I would like to make a site, where the home page has a nice flash slideshow. The menu can be horizontal across the top (dropdown).
Now when selecting a menu item, to display a list of documents, it will display the list in a similar layout but without the flash. And then display the document page when selected.
Is this possible? Is it like making two different templates? Or can it be achieved with the use of javascript or something?
Any thoughts?
Thanks in advance.
EDIT>>> Just a thought now. Could it be like the Home page have the flash playing, and then the same area just loads the content when clicked on. Right? Do I make sense?
«
Last Edit: November 12, 2009, 01:00:07 by ROUBOS
»
Logged
speck
Elxis Community
Sr. Member
Posts: 348
Re: Different layout for different categories of the site. Is it possible?
«
Reply #1 on:
November 12, 2009, 09:06:10 »
in the template where you have the flash animation and you want it only in home page you can do this:
<?php if ($option == 'com_frontpage') { ?>
<object width="960" height="260" bla bla bla bla ....................
...................
...................
</object>
<?php } ?>
in this way, your animation appear only in home page
«
Last Edit: November 12, 2009, 09:09:41 by speck
»
Logged
ROUBOS
Hero Member
Posts: 699
Re: Different layout for different categories of the site. Is it possible?
«
Reply #2 on:
November 12, 2009, 14:35:34 »
thanks a lot
Logged
ROUBOS
Hero Member
Posts: 699
Re: Different layout for different categories of the site. Is it possible?
«
Reply #3 on:
November 25, 2009, 17:28:35 »
Did it and it works thanks.
I have a problem though. I have a drop-down menu above my flash, and the menu appears behind the flash movie
Logged
CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
Posts: 2334
Professional services for Elxis CMS
Re: Different layout for different categories of the site. Is it possible?
«
Reply #4 on:
November 25, 2009, 18:30:02 »
Quote from: ROUBOS on November 25, 2009, 17:28:35
I have a drop-down menu above my flash, and the menu appears behind the flash movie
TIP: z-index & trasparent
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Different layout for different categories of the site. Is it possible?
«
Reply #5 on:
November 26, 2009, 08:28:51 »
You can not solve this issue when you deal with flash movies even if you use the z-index.
It is a well known problem of the flash objects. Try to move the flash in a place where does not creates this problem.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Different layout for different categories of the site. Is it possible?