17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1465 Views |
-
Gallery issues - please help before i pull all my hair out.

27 August 2008 at 7:59pm Last edited: 27 August 2008 8:15pm
an issue with the gallery I've set up:
I've created a normal page with 3 child pages which are all Gallery Pages. For some reason, the submenu is showing on each of those child pages. Any ideas? http://www.djmedi4.com/gallery/ looks fine, but click on any of the links on the right and you'll see what I'm talking about. Maybe there's a smarter way for me to structure the main page (/gallery/) and sub-pages (/promo-shots/, /candids/, /performance/)?
any advice? thanks!
-
Re: Gallery issues - please help before i pull all my hair out.

27 August 2008 at 11:25pm
The gallery-page probably extends your Page type class . So have a look at your template-structure to make sure you have divided the templates up correctly.
-
Re: Gallery issues - please help before i pull all my hair out.

28 August 2008 at 3:33am
The first Template you call is the \themes\yourtheme\templates\ and the template in gallery he ist in \gallery\templates\Layout , you must in the second delete teh control sidebar!!!
----------------Stooni
-
Re: Gallery issues - please help before i pull all my hair out.

28 August 2008 at 4:20am Last edited: 28 August 2008 4:26am
Thank you, Stooni! That was it - solved the problem, but created another minor glitch that I'd love to fix.
My divider graphic beneath my page title (that distressed horizontal div bar) is stretched all the way across & merges with the divider graphic under "menu" on the right. (see http://www.djmedi4.com/promo-shots/ ) but on the other pages on my site, there's a break between the two (see http://www.djmedi4.com/mp3-downloads/ )
I definitely prefer that all the pages are uniform, and would very much like for the gallery pages to also display that break between the two. Can't for the life of me figure out where in the gallery template this occurs.
The code for the gallery layout template is:
<div class="typography">
<% if Menu(2) %>
<div id="Content">
<% end_if %>
<% if Level(2) %>
<% include BreadCrumbs %>
<% end_if %>
<h2>$Title</h2>
<% include GalleryPageContent %>
$Content
$Form
$PageComments
<% if Menu(2) %>
</div>
<% end_if %>
</div>Can anyone tell me what I need to change so the gallery pages match the rest of the site?
Thanks! -
Re: Gallery issues - please help before i pull all my hair out.

28 August 2008 at 6:19am Last edited: 28 August 2008 7:30am
The simplest way is you take
this code from yourheme\templates\Layout\Page.ss
copy these in the file gallery\templates\Layout\GalleryPage.ss and put in them over
$Content
this Control --- <% include GalleryPageContent %>sample---
<% include GalleryPageContent %>$Content
....so you have the same design file i think in the gallery templates are some div's that not important
---- Stooni
| 1465 Views | ||
|
Page:
1
|
Go to Top |


