Hello again,
I would like to move the slideshow icon (replacing it with just a text link) to one of the code blocks or the album description area (2nd choice) but am so far unable to wrap my head around what needs to be moved. I'd also like to do this with the download album, download full sized image icons as well.
Appreciate any help, thanks!
wamfgcom
Posts: 27300
http://galleryproject.org/node/111801#comment-405018
but you would use a different ID for the slideshow icon. That would position it to the top or bottom of the sidebar.
I guess another option would be to add a <div id="slideshow_in_block"></div> to the code block and then use some jquery like the above link to reposition it to the new <div>
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Tested it now.
Add:
to the code_block.html.php file as described in the directions: http://codex.galleryproject.org/Gallery3:Modules:code_block#Advanced_usage
using the UI (gallery3/index.php/admin/code_block) add :
<div id="slide"></div>
to the first blocks html section. Add a title as well.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 24
Yes it does work perfectly! Many thanks!
I moved the View Slideshow and Download Album links into the first code block easily (looks good), I am however still having a little trouble with the View Fullsize and Download Fullsize links. They seem to be a little different
wamfgcom
Posts: 27300
Do they have IDs? What is a URL to check.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 24
No the links don't appear to have ID's and I had noticed that but have so far been unsuccessful in my attempts to correct
<a class="g-menu-link g-fullsize-link"
href="/members/gallery3/var/albums/guest-sets/fst/0042.jpg?m=1377373900"
title="View full size">View full size </a>
<div id="g-download-fullsize" class="g-block">
<h2>Download Photo</h2>
<div class="g-block-content">
<div class="g-download-fullsize-block">
<a href="/members/gallery3/index.php/downloadfullsize/send/136"
title="Download Photo"
class="g-button ui-icon-left ui-state-default ui-corner-all">Download Fullsize Image</a>
</div>
</div>
</div>
Posts: 27300
$('a:contains("<?= t('View full size') ?>")').appendTo("#slide");
Should work for the View Full size link.
The other...... Is it a sidebar block already? I don't understand the second block of code you posted.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 24
Yes that did work for the View Full Size, thanks again!
The other is the "Download Full Size Photo" Module and yes it is a sidebar block.
However it's in the wrong place and it's a button Is that a problem?
Posts: 27300
I think there is a option for that module to make it a sidebar or top of sidebar location.
If it is set the other location perhaps you can move it. The other option is to manage the the sidebar blocks and reposition it.
I need a url to understand as I don't want to keep guessing as to the position and placement. I also don't want to install these modules to just help you.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 24
Apologies, and the help is appreciated!