4images Help / Hilfe > FAQ, Tips

How can I show more new images on home page?

(1/12) > >>

V@no:
If you would like to show more new images on your 4images homepage, you will need:
Open index.php
Find:
--- Code: ---$num_new_images = $config['image_cells'];
--- End code ---
Replace it with:
--- Code: ---$num_new_images = XX;
--- End code ---
Where XX is the number of images.

Egly:
Great! Thats exactly what i´ve been searching for :!:

HaveFun:
Thanks for the tipp.

I set the value to 0, to deactivate the "new pics".
The border and the heading is still there ... but I found no other way to deactivate it.

mawenzi:

--- Quote from: HaveFun on December 05, 2005, 11:42:42 PM ---The border and the heading is still there ... but I found no other way to deactivate it.

--- End quote ---

... delete the table-code around the {new_images}-Tag in /templates/<your_template>/home.html.
( but ... make a backup from your original home.html )

mawenzi

HaveFun:
wow ... thanks for your "realtime-reply" :)

I deleted

--- Code: ---<td class="head1">{new_images}</td>
--- End code ---

Now, its a little bit better ... it looks like this, now:
(Neue Bilder = New images)

Navigation

[0] Message Index

[#] Next page

Go to full version