How can I move a sidebar block to another area of the page ?

SeesCandy
SeesCandy's picture

Joined: 2013-06-18
Posts: 26
Posted: Sat, 2013-06-22 23:34

I am trying to move a sidebar block module "IPTC" to under the large Photo.

I read this 'how to' post;
http://galleryproject.org/node/99949

I cant' find on this post which file exactly I am supposed to edit.

I'm using the GreyDragon theme.

Can someone please tell me which file I'm supposed to edit ?

Thank you.

 
celticfox_317
celticfox_317's picture

Joined: 2013-06-22
Posts: 3
Posted: Sun, 2013-06-23 05:04

Can I get a screen shot of where the item is you want to move and where you would like to have be shown? That would help very much, thanks.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-06-23 17:19

Add:
<?= iptc_block::get("iptc", $theme) ?>
to last line in views/photo.html.php of the theme you are using.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
SeesCandy
SeesCandy's picture

Joined: 2013-06-18
Posts: 26
Posted: Sun, 2013-06-23 18:05

Thank you for your help.

Is this correct ?
views/photo.html.php, last section...

*Before*:
---------------------------
</div>
<? if (($theme->photo_descmode == "bottom") and ($_description)): ?>
<div id="g-info"><div class="g-description"><?= $_description ?></div></div>
<? endif; ?>
<?= $theme->add_paginator("bottom", FALSE); ?>
<?= $theme->photo_bottom() ?>
</div>
<?= $script ?>

*After*:
---------------------------
</div>
<? if (($theme->photo_descmode == "bottom") and ($_description)): ?>
<div id="g-info"><div class="g-description"><?= $_description ?></div></div>
<? endif; ?>
<?= $theme->add_paginator("bottom", FALSE); ?>
<?= $theme->photo_bottom() ?>
</div>
<?= $script ?>
<?= iptc_block::get("iptc", $theme) ?>

Do you think this might conflict with the below module ?;
Under Photo Text 1 Puts the description of an album or photo under that photo's thumbnail.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-06-23 21:17

Looks good to me.
You can test by just placing some text to see how it works and its position with other data.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
SeesCandy
SeesCandy's picture

Joined: 2013-06-18
Posts: 26
Posted: Sun, 2013-06-23 22:45

Thanks so much.

I'm probably not going to be able to keep up with you regarding testing with some text, sorry.

I think you mean (at the bottom);
<?= "some test text here" ?>

And change the color, position with ? css from somewhere.

Thank you again.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-06-23 23:53

No. Just add plain text, on a new line, to the view page to see where you want it to show. It is just HTML no need to add php.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
SeesCandy
SeesCandy's picture

Joined: 2013-06-18
Posts: 26
Posted: Tue, 2013-06-25 10:20

OK, thanks for your help floridave.
Where would you use css to set color, size, etc. ?

Regards.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2013-06-25 13:18

since you are using the Gery Dragon theme:
http://codex.galleryproject.org/Gallery3:Themes:greydragon#Purpose_of_custom.css

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
SeesCandy
SeesCandy's picture

Joined: 2013-06-18
Posts: 26
Posted: Tue, 2013-06-25 19:05

OK, thank you much for your help floridave.

Cheers