PDA

View Full Version : Thumbnails in the main page instead of image


Umbi
03-21-2008, 10:43 PM
It's kind of funny,

Pixelpost is very flexible but I got lost in such a simple point:

when you load up the blog it points to the first pic of your gallery.

I do not want that.

I want it to point to the thumbnails of my gallery.

That is:

at the moment when you point to http://www.myblogsite.net
it triggers the showimage option pointing to the last loaded image in the gallery, e.g

http://www.myblogsite.net/index.php?showimage=21

Instead I want it to show whatever it is at the following:

http://www.myblogsite.net/index.php?x=browse&category=2


why is that so difficult?

It is the most obvious thing you would do, showing the gallery and not the first pic.....

what am I missing?

Can anybody help on this?

I looked in the forum but I could not find any help on this....

Thanks in advance!!!!!!!!!!

Imbu

mowopi
03-21-2008, 11:22 PM
I asked the same question a few days ago. This is the way you can change the startup page :

http://www.pixelpost.org/forum/showthread.php?p=52128#post52128

jaywilliams
03-21-2008, 11:31 PM
And now, thanks to one of the developers of Pixelpost, Dennis, you can set the entry page with an addon.
http://www.schonhose.nl/pixelpost-addons/entrypage/
So that's yet another way to get the job done.

mowopi
03-22-2008, 02:41 AM
Wow ... really easy now. Thanks Dennis !

Umbi
03-22-2008, 04:20 AM
The piece of code worked better for me, for some reason the addon gives me blank page...i t must be because of some changes I made in the code, certainly not an issue with the addon!

Thanks for your hint guys....

the only thing I have left is that I cannot set up the category I want,
in the sense that if I use

if(!isset($_GET['x']) AND !isset($_GET['showimage'])){
$_GET['x'] = browse&category=2';
}


the page does not load, it gives me "The page cannot be found "....

However your reply is of a great help.

Thanks a lot!

jaywilliams
03-22-2008, 04:24 AM
If you want too set a category too, do this:


if(!isset($_GET['x']) AND !isset($_GET['showimage'])){
$_GET['x'] = 'browse';
$_GET['category'] = '2';
}

Dennis
03-22-2008, 07:25 AM
It doesn't support browsing categories yet, but I think I'll manage to create a workaround for this.

Look for the next version to have this option.

Umbi
03-22-2008, 02:31 PM
you rock!

Jay that works perfectly!

Dennis many thanks for looking into that.

Mowopi many thanks to you too!