| Author |
Message |
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Jul 22, 2003 1:37 pm Post subject: Latest Albums Block |
|
|
Hi Dari,
I see the new site nukedgallery is up - nice one!
Is there or could there be a LATEST ALBUMS BLOCK?
The block would show the last 5 or 10 albums that had been uploaded and if possible show the HIGHLIGHTED photo.
Any ideas?
Slack |
|
| Back to top |
|
|
AdBot
|
| Post subject: Latest Albums Block |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 22, 2003 1:58 pm Post subject: Re: Latest Albums Block |
|
|
hmm...i think there's already one of those out there, but i'll double check.
<checking>
yep there is, but i don't think it's compatible with newer versions of PHPNuke / Gallery. I'll stick this on the TODO list. _________________
 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 22, 2003 2:57 pm Post subject: |
|
|
actually, are you looking for the last 5 that have been uploaded or the ones that have been updated? (ie, totally new albums, or albums that have just had pictures added to them) _________________
 |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Jul 22, 2003 4:50 pm Post subject: Re: Latest Albums Block |
|
|
Hi Dari,
No just albums that are totally new UPLOADED (not updated)
Cheers |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 22, 2003 7:33 pm Post subject: Re: Latest Albums Block |
|
|
ah, this shouldn't be too hard, just a matter of date checking and such. if work is slow tomorrow i could have it done by the end of the day. _________________
 |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Wed Jul 23, 2003 12:58 pm Post subject: Re: Latest Albums Block |
|
|
okay, i've got it done, i just need to package it and write up installation instructions. should have it done by tonight. _________________
 |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Fri Jul 25, 2003 1:01 pm Post subject: Re: Latest Albums Block |
|
|
actually, i've got this puppy tweaked so that you can tell if whether or not you want it to display the highlighted images (ie, for faster loading, you may just want a list)...lemme zip it up and dump it into the downloads. monitor my signature image, it'll change to read that the newest download is "Newest albums block" _________________
 |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Fri Jul 25, 2003 1:09 pm Post subject: |
|
|
I think I will use this as a center block - no problem there?
Also is it easy to get the album description to be displayed? No right for a side block I guess but would be great for the center.
Cheers |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Fri Jul 25, 2003 1:13 pm Post subject: |
|
|
hmm...i have all these things set to be centered in the block (there's just a <center> tag there), and have breaks after each image/title. you may have to tweak the code around to have them line up side by side for a center block (just remove the break tags after each album title and you should be fine). as for the description, you could just add:
Code: ›
$content .= $currentAlbum->fields['description']."<br>";
underneath this line:Code: ›
$content .= $parentTitle."".$currentAlbum->fields['title']."</a></center><br>";
_________________
 |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Fri Jul 25, 2003 5:30 pm Post subject: |
|
|
Thx man - all done on my site!
Check it out:
http://www.esp3.net [esp3.net] |
|
| Back to top |
|
|
|
|
|
|
|