Move the description

Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Mon, 2007-07-30 21:00

I've been trying to get this to work for about a week now, and i guess i'm just missing something basic. the description next to the picture in Gallery 2 (Carbon Theme) is to the right of the image. where in its code do i change it to where it will make it drop down below the image. i've tried changing valign="top" to valign="baseline" but so far it wont work. anyone have any ideas? i mainly do html so i'm not too new to it. but try not to use big words... lol

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Wed, 2007-08-01 04:48

photo.tpl
you will need to move the code that renders the description

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Raxinii

Joined: 2007-07-05
Posts: 74
Posted: Wed, 2007-08-01 17:03

what do i change? and what do i change it to? again, i'm new to tpl

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Thu, 2007-08-02 05:17

move

 		    {if !empty($theme.item.description)}
 		    <p class="giDescription">
 		      {$theme.item.description|markup}
 		    </p>
 		    {/if}

this code to were you would like. If i does not work revert and try a different position.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Steel Rat
Steel Rat's picture

Joined: 2006-06-24
Posts: 96
Posted: Wed, 2009-08-12 17:31

I know this is an old thread, but it's exactly relevant to what I want to do.

I'm trying to move the description and other detail info to below the image. I moved the snippet above (found that before finding this thread), and moved it to where I believe should be below, or even above, the actual image, but it doesn't move. I've made sure I uploaded the changed photo.tpl, deleted the template cache, and did a forced refresh of the browser (FF3), but the description remains firmly implanted on the right side.

Any more thoughts?

Thanks!

Steel Rat
RPGMapShare.com

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-08-12 18:07

Did you clear Gallery's cache after making the change?
FAQ: How can I clear cached data?

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Steel Rat
Steel Rat's picture

Joined: 2006-06-24
Posts: 96
Posted: Wed, 2009-08-12 20:25

Nope, I'm an idiot. The problem was I had two different Gallery2 installations, I was editing the wrong one :( It works as expected now. Sorry for the false alarm!

Steel Rat
RPGMapShare.com