1
Northern
Integrate a gallery
  • 2009/12/6 1:47

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


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

2
Burning
Re: Integrate a gallery
  • 2009/12/6 1:57

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


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


3
Northern
Re: Integrate a gallery
  • 2009/12/6 2:12

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


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

4
Burning
Re: Integrate a gallery
  • 2009/12/6 2:33

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


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/article.php?storyid=7&com_id=352&com_rootid=352&

5
mjoel
Re: Integrate a gallery
  • 2009/12/6 5:09

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9



Login

Who's Online

289 user(s) are online (211 user(s) are browsing Support Forums)


Members: 0


Guests: 289


more...

Donat-O-Meter

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

Latest GitHub Commits