Root Page on theme Clean Canvas - need help, please
|
fashion23
Joined: 2006-03-15
Posts: 4 |
Posted: Fri, 2011-11-11 18:37
|
|
Hello, I started to modify the Clean Canvas theme, and until now everything it's ok... but i wanted to have an introduction page, and i created a page with Pages module, and i placed a redirection code to show that page before index.php... after that, i started to search for some inspiration for the content of the page, here on the forum, and i found this topic -> LINK, and i want to have the same thing on my page... i refer to root page content. an example is this website -> LINK. i tried to move some code from the root page found in greydragon theme, but without success... please if somebody knows how to create a similar root page from greydragon theme to my Clean Canvas theme i would really appreciate... Informations: - my website: www.kiteaddict.ro |
|

Posts: 25957
http://codex.gallery2.org/Gallery3:Tutorials:Themes#Adding_stuff_to_root_album_only
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
i'm sorry, but i copied this text in page.html.php:
<? if ($theme->item() && $theme->item()->id == item::root()->id): ?>
FRONT PAGE HTML
<? endif ?>
and i can't access page /?root=yes . this was the point of "#Adding_stuff_to_root_album_only" page?
maibe you can help me with more information, please. Thank you Dave.
Andrew.
.
.
.
p.s.: What i want, is to have the same root page like this one -> http://www.jbroivainen.com/?root=yes
Posts: 25957
I don't know how /?root=yes is done you would have to look at the code as much as I would
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
thanks Dave for trying to help me,
i'll wait a little bit, maybe someone else knows a way to help me getting a similar page for my website.
.
.
www.kiteaddict.ro - my website
www.jbroivainen.com - the modification i want to have as a first page for my website. (text + imageblockex).
open both and you will see the difference.
P.S.: (sorry for repeating myself, but i didn't practice a lot of english, and i can't explain so good, so i try to give as many details as i can)
Posts: 2436
www.jbroivainen.com uses GreyDragon theme where root page is supported
you can download the theme and look at the code then port some of it into theme you are trying to mod
Posts: 7890
Did something similar to wind theme on my demo site.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 2436
Nice, slideshow, what do you use? http://galleria.aino.se/ ?
Posts: 7890
Yes
I've created a demo w/ code example here.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 2436
The only "problem" it is not free, at least theme you are using
Posts: 7890
The free classic theme is still attractive.
But to confess the 2 premium themes in my 2 demos cost me $58 But I can use them in any project I wish. And As I stated in my demo "I like to give back to projects I use"
;)
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 2436
Hey, me too