G2 Album Navigation block
archshrk
Joined: 2005-04-29
Posts: 45 |
Posted: Thu, 2007-10-11 19:04 |
Are there any plans to update the G2 Album Navigation block? |
|
archshrk
Joined: 2005-04-29
Posts: 45 |
Posted: Thu, 2007-10-11 19:04 |
Are there any plans to update the G2 Album Navigation block? |
|
Posts: 492
WPG2 3.0 has a new WPG2 Album Tree Widget. Small example at wpg2next.com.
To use it, you first have to "widgetize" your theme. Matt put up some instructions here.
Then you go to WP Admin -> Presentation -> Widgets and drag the WPG2 Album Tree to the part of the sidebar you want it in.
The alternative way of implementing it is the old style of including the PHP in your sidebar code, like this:
or even simpler (if you don't want the title above the album tree)
EDIT: Also, if you're using wpg2header.php, you need to get the dtree javascript and CSS into your header by adding the following to your theme's header file:
I haven't ever installed Aylwin's album tree, so I'm not sure if we're missing any functionality. But, if we are, we can add it in for WPG2 3.1.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 45
I tried the first of the alternative ways and there seems to be a glitch.
The expand/collapse all part is there but no actual nav tree (see bottom of right column.
-
www.archshrk.com
www.photojulia.com
Posts: 492
EDIT: See my edited entry above. I forgot that you need to add the dtree javascript and CSS into your header, if you're using wpg2header.php.
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website
Posts: 45
Still no change.
-
www.archshrk.com
www.photojulia.com
Posts: 492
All the code is there in the HTML and the javascript and CSS are loading. But using Firebug, it's showing 9 javascript/xml errors. I'm wondering if one of those errors is keeping the dtree javascript from functioning?
Kirk
____________________________________
G2Image Documentation, G2Image Demo Page, My Family Website