How Can I Show last albums added in joomla frontpage?
jhonbueno
Joined: 2010-08-13
Posts: 14 |
Posted: Wed, 2010-08-18 13:10 |
I have my Gallery2 integrated to my joomla template I want to show the last albums added, at least 6, how can I do that? Thanks! |
|
Posts: 8339
I explain how to do it with mediaBlock here.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
I did that already...didn´t work...any heelp!!!
Posts: 8339
what exactly?
Where? url? test page?
less is not more in this case.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
hello, I was testing everything and i uploaded a test page and it work htt://beatbox.com.do/site2/test.php but I want to know how can I insert the lastest albums in my template.
Thank You
Posts: 14
http://www.beatbox.com.do/site2/test.php
I also would like that when the user clicks the lastest albums go to the galeria that is bridged not the one that is in http://www.beatbox.com.do/site2/galeria
Posts: 8339
Again, less is not better.
appears you are using imageblock.
use mediaBlock instead, you can configure the embedUri to point to your embedded gallery instead.
it looks like you uploaded mediaBlock, but you did not edit line 28 like instructed.
your embedUri would be something like: http://www.beatbox.com.do/site2/index.php?option=com_g2bridge&view=gallery
and your g2Uri would be: http://www.beatbox.com.do/site2/galeria/
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
i got this error the printscreen is attached.
and now it only appears ¨Array¨
Posts: 8339
I don't use joomla so I'm just guessing here, the embedUri might be http://www.beatbox.com.do/site2/index.php?option=com_g2bridge
After you get this presenting images correctly you'll need the joomla module to allow php, a quick search reveals http://extensions.joomla.org/extensions/edition/custom-code-in-modules/1758
but there may be a better one available.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
please go to http://www.beatbox.com.do/site2/test.php
that is the only way I get to see the images...any other method give the the last error
<?php @readfile('http://www.beatbox.com.do/site2/galeria/mediaBlock.php?g2_itemId=23');?>
that is the code that i used in test.php I cant add any other command.
Posts: 8339
look at my samples http://www.flashyourweb.com/staticpages/index.php?page=mediaBlock
you can use the parameters to display the images how you want.
And you can visit the url alone to preview the layout.
http://www.beatbox.com.do/site2/galeria/mediaBlock.php?g2_itemId=23&useThumb=1&column=4&limit=14
If you install gallery's image frame module it will look better with the dropshadows.
If you want to use the dynamic options, you need to install gallery's dynamic albums module.
Or for tags->tags module same for keywords->keyword albums module.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
Yes! i´m getting to it...but how about if I only want to show 1 image from 5 new albums uploaded.
Posts: 8339
Gallery's Dynamic Updates album will supply the newest items uploaded to gallery, you can specify in Gallery Admin -> Dynamic Albums how many items it returns.
But to get the latest item from each of five albums, I'm afraid you'll have to make five separate calls.
I also have a miniSlideshow which works similarly and may save some space on your site.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 14
one last question, how can I display The album name? and when I use Dynamicalbum.UpdatesAlbum nothing appears.
Posts: 8339
http://www.beatbox.com.do/site2/galeria/mediaBlock.php?mode=dynamic&g2_view=dynamicalbum.UpdatesAlbum&useThumb=1&column=4&limit=14&showTitle=1
if you want to show albums, you'll need to use the hack I linked above.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 1
I personally prefer the Minislideshow too. I have used it on a bunch of websites and loved the way they fit in my website's design.
Best regards,
Martijn van Vreeden