a few questions about adding the sidebar

drazin

Joined: 2002-11-23
Posts: 144
Posted: Tue, 2005-05-03 21:03

where do i put
{include file="gallery:templates/sidebar.tpl" l10Domain="modules_core"}

to have it displayed on ALL my pages (gallery level, album level, and photo level)

i tried putting it in my albumbody.tpl and it shows up, but it pushes everything else down.

and what is the call to show the photo counter? i cant seem to locate it.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2005-05-03 21:22

album and photo pages for matrix layout already have a sidebar, right?
for what pages is it missing?

you can use $child.viewCount in albumBody.tpl (inside the child loop..) or $layout.viewCount in albumBody.tpl or singleBody.tpl for the album/photo's count.

 
drazin

Joined: 2002-11-23
Posts: 144
Posted: Tue, 2005-05-03 23:25

im not using matrix. i started hacking away at Siriux

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-05-04 00:16

then look at how matrix adds the sidebar..