Page 1 of 1

Album question (Smarty): display multiple albums in full view... [SOLVED]

Posted: Thu Apr 12, 2007 9:29 pm
by Caspar
Hi everybody,

me again with another Album question. This time it's about the pop-up table template and album comments.

Problem:
If multiple Albums (e.g. "Album 1", "Album 2" etc.) are attached to one and the same page, each of them would show up as a thumbnail with some album name and/or comment to it.
Clicking on one of those thumbnails would get me to one album at a time, let's say to "Album 1".
After having watched some pictures I'd click on the "Return"-link and find myself back on the page with those album thumbnails.

What I'd love to create instead would look like this (that's supposed to be the generated xhtml now):

Code: Select all

<!-- Start with Album1, that's easy -->

<div id="album1">
   <!--the following div would probably be floated left or roght via css -->
   <div class="albumcomment">
         Generated album comment for Album 1 here.
   </div>
   <!-- now the thumbnail table as generated by the popup table template -->
   <table class="popuptable" summary="thumbmail images">
      <tr>
         <td><img src="thumbnail1.jpg" alt="image1"/></td>
         <td><img src="thumbnail2.jpg" alt="image2"/></td>
      </tr>
      <tr>
         <td><img src="thumbnail3.jpg" alt="image3"/></td>
         <td><img src="thumbnail4.jpg" alt="image4"/></td>
      </tr>
      <tr>
         <td>etc.</td>
         <td>etc.</td>
      </tr>
   </table>
</div>

<!-- Up to here everything's okay, but now we want Album2 on the SAME PAGE, 
with comment and thumbnail table next to it, 
but no separate album thumbnail to click on first...! -->

<div id="album2">
   <div class="albumcomment">
         Generated album comment for Album 2 here.
   </div>
   <table class="popuptable" summary="thumbmail images">
      <tr>
         <td>etc.</td>
         <td>etc.</td>
      </tr>
   </table>
</div>
My trouble starts with displaying my so called "Album2" in full glory on the same page as "Album1". Any support highly appreciated!!

THANKS!
Caspar

Re: Album question (Smarty): display multiple albums in full view on one page?

Posted: Sat Apr 14, 2007 6:05 am
by Elijah Lofgren
Hi cas,

Hmm.. I've never really thought about displaying the thumbs of 2 different Albums on the same page.

Is there any reason you can't just combine the pictures into one Album?

- Elijah

Re: Album question (Smarty): display multiple albums in full view on one page?

Posted: Sat Apr 14, 2007 6:09 pm
by Vin
I'm not so sure what exactly you want to achieve, cas. A preview of the next album?

Re: Album question (Smarty): display multiple albums in full view on one page?

Posted: Sat Apr 14, 2007 9:50 pm
by Caspar
Thank you for responding, Elijah and Vin!

It's the comments. I need one comment for a various number of pictures, followed by another comment and another row of pictures, followed by...etc.
Maybe this page can give a better idea of what I'm up to: http://www.sackermann-foto.de/index.php?page=B_cher.
(Please don't look at the code, I'm re-doing anyway.) It uses the older Image Gallery UDT, the comments are wrapped into a div which means: editing source code when adding a new comment/row of pics. If it was my own page, I wouldn't mind using the same method now, but my relative I'm doing it for needs a wysiwyg solution.

Please: If this is a bigger issue, don't let yourself be distracted from it. I thought, it'll be only my lack of smarty knowledge... I can come up with a workaround for now.

Thanks again!  :)
Caspar

Re: Album question (Smarty): display multiple albums in full view on one page?

Posted: Sat Apr 14, 2007 11:19 pm
by Elijah Lofgren
cas wrote: Please: If this is a bigger issue, don't let yourself be distracted from it. I thought, it'll be only my lack of smarty knowledge... I can come up with a workaround for now.
It would take some work to add this feature so I won't plan on doing it. I need to work on my speech for English. I hope you find a solution.

Wishing you the best,

Elijah

Re: Album question (Smarty): display multiple albums in full view on one page?

Posted: Sun Apr 15, 2007 6:01 am
by Caspar
Thanks and a successful speech to you! :)
Caspar

Re: Album question (Smarty): display multiple albums in full view... [SOLVED]

Posted: Sun Apr 15, 2007 9:06 am
by Vin