Hi everyone,
I'm making my own theme and have two problems witch i can't figure out by myself.
1. I want to have two news sections on my Index page. First one where will be news about the web (I use news loop from ZenPage news.php) and other one with news where will be the new pictures from. Is it possible to separate news by using different category? Or is there another way how to do this? I really don't want to use something like hard coding into gallery.php...
2. Thickbox is not working. I call the Thickbox.js from head (also tried to copy paste from webpage where it is working to make sure I've linked the right file. I also call thickbox.css from head. I added "class="thickbox"" to the images and added also "rel="pict"" to the picture loop (I skipped the images.php and added the picture loop to album.php from where I want to display big pictures with thickbox). I also tried to link "autor.php" which i created with thickbox and it just doesn't work and open new page. I'm using some other javascript (scrollable), but that shouldn't make problem.
Thank you very much for any hints. I'm a newbie to php so please be patient.
MarB
Comments
a) Using CombiNews mode with the news loop that shows image mixed between normal posts as if they were posts.
b) Using news loop and the image_album_statistics latestimages functions
c) Using the lastestimages and the latestnews function.
2. You have to change the links to display either the sized image or the full size image directly. The normal image loop points to the image.php page which the thickbox is not able to display direclty (if not using the iFrame etc mode).
`
<?php while (next_image(false, $firstPageImages)): ?>
" class="thickbox" rel="image" title="<?php echo getBareImageTitle();?>">
<?php printCustomSizedImageMaxSpace(getBareImageTitle(),525,350); ?>
<?php endwhile; ?>
`
But this still doesn't work. When I click at the thumb, it opens me new blank page just with the image.
`
`
inside the "href=" is this: echo htmlspecialchars(getFullImageURL());?>"
hope it'll be fine this time.
Thanks for help