xoops forums

Northern

Just can't stay away
Posted on: 2009/12/6 1:47
Northern
Northern (Show more)
Just can't stay away
Posts: 420
Since: 2004/12/26
#1

Integrate a gallery

Im at the point where help is needed.

Im needing to integrate a gallery into another module.

Basically i have a a certain page that needs to have a certain group of pictures in it.
with out had to code a few thousand pages is there a easier way?

i remember some time ago we started something like this, but i could not find it in the search.


Marc

Burning

Theme Designer
Posted on: 2009/12/6 1:57
Burning
Burning (Show more)
Theme Designer
Posts: 1163
Since: 2006/8/22
#2

Re: Integrate a gallery

hi'

A form which accept html format is required. With such feature, you can easily make a gallery inside all page you want.

But I believe you need a lot of patience :
• you have to write html code
• you have to modify images. eg, if you use a "lightbox", you need each time a large image and his thumb. Not so difficult to do if you well know 'toshop

Northern

Just can't stay away
Posted on: 2009/12/6 2:12
Northern
Northern (Show more)
Just can't stay away
Posts: 420
Since: 2004/12/26
#3

Re: Integrate a gallery

i already use jquery in my theme, for the rotating header, drop menu ect. and yes i can use it for the mix of the modules, but thats what i dont want to do.
a huge list of pages and pages of
$('#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=100 #album_div");

$(
'#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=101 #album_div");

$(
'#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=102 #album_div");

$(
'#user_css_dbs_gal').load("<{$xoops_url}>/modules/xcgal/thumbnails.php?album=103 #album_div");


and then deal with each and every page.

there should be a better way

Burning

Theme Designer
Posted on: 2009/12/6 2:33
Burning
Burning (Show more)
Theme Designer
Posts: 1163
Since: 2006/8/22
#4

Re: Integrate a gallery

ok, I haven't understood... to difficult for me, because you have to modify php files.

Perhaps eXtGallery module have the feature you need (search "hook hack") : http://www.zoullou.net/modules/news/a ... om_id=352&com_rootid=352&

mjoel

Quite a regular
Posted on: 2009/12/6 5:09
mjoel
mjoel (Show more)
Quite a regular
Posts: 283
Since: 2006/12/9
#5

Re: Integrate a gallery

http://support.sirium.net/modules/news/article.php?storyid=40

http://support.sirium.net/modules/myd ... ds/visit.php?cid=1&lid=69