1
theycallmepj
multiple photo gallery's

Ok, this might be more complicated than I want it to be.

On my website, I have the latest "XoopsGallery" with all my pictures from the 2004/2005 school year. Now that the 2005/2006 school year is approaching way to fast, I want to have a separate photogallery for my pictures for the year.

So what I did so far is, I downloaded a clean version of "XoopsGallery" and I renamed the directory from xoopsgallery to "xoopsgallery_0506", so then I opened the "xoopsversion.php" file and changed the
$modversion['dirname'] = "xoopsgallery";
to
$modversion['dirname'] = "xoopsgallery_0506";
.

Then were it says
$modversion['tables'][0] = "xoopsgallery_image";
I changed it to
$modversion['tables'][0] = "something_here";
.

Then I went into sql/mysql.sql, and I changed were is says
CREATE TABLE xoopsgallery_image (
I changed it to
CREATE TABLE something_here (


I then went and installed the module, and when I went to look at it and test it out, the pictures from my old gallery were there, and they were also in the old gallery. So I uninstalled the module.

This is probably in a file somewere with a similar database link or something....any ideas?
Thanks,
Paul Travis
MASD.info
THEYCALLMEPJ.com

2
theycallmepj
Re: multiple photo gallery's

any idea's??
Thanks,
Paul Travis
MASD.info
THEYCALLMEPJ.com

3
WarDick
Re: multiple photo gallery's
  • 2005/8/21 1:14

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Why not use a new album for each year?

I do not know if xoopsgallery has this feature.

These modules do.
myalbum this module can also be cloned
xcgal

There are probably others!
Urging XOOPS to be the Best It Can Be.
Richard......

4
theycallmepj
Re: multiple photo gallerys

The reason I don't want to do that is because I use the random picture block, and that block shows every picture in the gallery, but I only want it to show the ones for that year.

do those modules have a random picture block feature?
Thanks,
Paul Travis
MASD.info
THEYCALLMEPJ.com

5
skenow
Re: multiple photo gallerys
  • 2005/8/21 2:03

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


There is a simple hack to restrict photos in the random block to a specific album - see the XoopsGallery forum topic

6
theycallmepj
Re: multiple photo gallerys

it does not seem to be working for me.....i am copying the lines of text to all the right places....then i go to the block administration and type the album name....nothing happens.....it still rotates the pictures as usual

I need this to work for my site....I wish I was better with XOOPS and php....do you have any ideas, or copies of files you could send me?
Thanks,
Paul Travis
MASD.info
THEYCALLMEPJ.com

7
theycallmepj
Re: multiple photo gallery's

...or could it also be that I am using XOOPS 2.2 instead of 2.0?
Thanks,
Paul Travis
MASD.info
THEYCALLMEPJ.com

8
Shine
Re: multiple photo gallery's
  • 2005/8/22 8:42

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Quote:
do those modules have a random picture block feature?

Yes, my album-P had this feature and works also with XOOPS 2.2.x and php5.

Grtz., Shine

Login

Who's Online

175 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

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

Latest GitHub Commits