Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 16:26

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Integration in CMSimple.
PostPosted: 10. Aug 2005, 14:58 
Offline
User avatar

Joined: 7. Aug 2005, 19:49
Posts: 17
I have succeeded in integrating the TWG 1.2 in the CMS-system CMSimple ( http://www.cmsimple.dk )

The result can be seen at http://www.hsf-1919.dk/?Havefotos

I have been forced to elliminate the advanced scrolling panel, as it would mess with the width of my template. Is there a way of making the scrolling area smaller, so it covers only 2-3 pictures instead of 5!

I think this involves a bit of corrections in a javascript, but unfortunately I know nothing about this.

Can anyone help me out?


Top
 Profile  
 
 Post subject:
PostPosted: 10. Aug 2005, 16:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

the problem is easy in the html part - there you only have to change a couple of lines.

But the dhtml part ...
I calculate every position of the dhtml navigation - I can take a look and see - but this can not be included in 1.2 anymore ...

Maybe 1.3 .... :).


go to the inc/index.inc.php and search for
$numberofpics=2;
change this to
$numberofpics=1;

should be in there 2 times - the html part has 3 images then.

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 10. Aug 2005, 21:04 
Offline
User avatar

Joined: 7. Aug 2005, 19:49
Posts: 17
I have made the proposed corrections, with no effect.

Seems I have to wait for the 1.3

Otherwise I am very satisfied with the gallery.

Still the most easy to manage!


Top
 Profile  
 
 Post subject:
PostPosted: 11. Aug 2005, 08:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This does only work for the html solution!

Not for the dhtml. You have to switch to the html navigation in the config.php or the options

But I have taken a closer look in the dhtml part - it's not that hard to do - only lots of places I have to change something ;).

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Aug 2005, 08:59 
Offline
User avatar

Joined: 7. Aug 2005, 19:49
Posts: 17
OK. Guess I have understood it now. Don't use too much time with the corrections, the gallery fully fits my needs as it is. The rest is only to brush it up! Thanks for your time. :D


Top
 Profile  
 
 Post subject:
PostPosted: 11. Aug 2005, 10:53 
Offline
User avatar

Joined: 7. Aug 2005, 19:49
Posts: 17
I am satisfied with the functionality of the gallery as it is, but it would be nice, if I could use "the arrow-up" key to go back in the tree-structure. Is that difficult to impliment? :wink:


Top
 Profile  
 
 Post subject:
PostPosted: 11. Aug 2005, 11:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No - but time consuming :) because it has to be done at several places and for several browsers.

I can do this on my todo for 1.3.

/michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Aug 2005, 12:16 
Offline
User avatar

Joined: 7. Aug 2005, 19:49
Posts: 17
Thank you for your time. I consider this thread closed for my part. :D


Top
 Profile  
 
 Post subject: How to?
PostPosted: 17. Aug 2005, 10:29 
Offline

Joined: 17. Aug 2005, 10:26
Posts: 1
Hi,

congratulations to your integration in CMSimple. I´m using CMSimple for some days now and would like to integrate TWG there as well.
Could you give me some information on how you did it?

Thanks for your help

Matthias


Top
 Profile  
 
 Post subject:
PostPosted: 17. Aug 2005, 12:47 
Offline
User avatar

Joined: 7. Aug 2005, 19:49
Posts: 17
It's really quite simple.

1. First make a folder named e.g. gallery and upload the TWG to this folder.
2. Log in to your admin-area and make a <H1> headline e.g Gallery. Save it.
3. Edit the Gallery page, which now contains only the headline.
4. Switch to HTML-mode and add the following:

<IFRAME src="http://www.yourdomain.com/gallery/index.php?noborder=true" frameBorder=0 width=540 height=600> </IFRAME>

path to gallery needs to be absolute!

Switch back to layout-mode. (the gallery should appear) Remember to save!
Of course you can alter the width and height of the IFRAME to your own needs.

The procedure is described in the CMSimple howto's

That should do it! :D

See also the HOWTO about this issue #removed_broken_link


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy