1
limecity
XoopsGallery Recent Images?
  • 2004/4/15 7:12

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


I discovered Xoopsgallery Recent images block is only in Picture format.

How do i change it so I can only show the recent images in text format

Recent Images
-Picture 1 (20/2/2004)
-Picture 2 (13/3/2004)
-Picture 3 (14/3/2004)
-Picture 4 (12/4/2004)
-Picture 5 (16/5/2004)

Just a small hack in the template? please please how do i do this. Showing the recent images can cause slow load time for the website.

2
limecity
Re: XoopsGallery Recent Images?
  • 2004/4/15 13:19

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


whats the site URL for developers of this module?

3
DonXoop
Re: XoopsGallery Recent Images?

Xoops Gallery

Funny, I did the opposite and removed the text. The block's template seems to have everything you need to mod. You'll see the href links and image. You should be able to comment or remove the image and leave the text and links.

If it helps you can look at my site although I kept the image and dropped the text (a bug prevents the admin option for text from working right). It was easier for me to remove the date text than chasing the bug.

good luck.

4
limecity
Re: XoopsGallery Recent Images?
  • 2004/4/15 14:58

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


oh.
because my site does not focus on Photo gallery..
so.. i dun need to show the images so openly.

Just text to show the newly added images will do it.

5
DonXoop
Re: XoopsGallery Recent Images?

Mine doesn't focus on photos either but car guys like their pictures.

It appears to be very easy to remove the image from the block. I think you'll want the photo name along with the date which isn't in the block template. You can track down the variable name from the viewalbum/photo templates and that should work.

Also, I'd guess you'd want to truncate the photo name in case there are long names that might look bad if printed in full. Also easy enough to do in the template.

I know there is always opinions on competting modules but I have xoopsgallery working like I want it and hope to see the dev continue so I don't have to rebuild the albums. Forums are more important on my site.

6
limecity
Re: XoopsGallery Recent Images?
  • 2004/4/15 15:22

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Can't seem to find the varibale..
it this it " <{$row.captions[i].title}> "

i add that into the xoopsgallery_block_new.html template. and the page went blank..

hm.. i just cut and paste tat into the codings..
me no php coder.. pls guide me...

Login

Who's Online

92 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 92


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits