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 16. Dec 2017, 11:01

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 11. Jan 2012, 17:12 
Offline

Joined: 5. Jan 2012, 17:20
Posts: 15
Hi Michael,

Is it possible for the gallery to be manipulated (edited and run) solely through the XML files? It does not seem to be working for me right now, but I was just wondering if this can be done. My boss wants me to do this in order to have more control over the gallery through the structure we have set up in our own XML files.

-Andres


Top
 Profile  
 
PostPosted: 11. Jan 2012, 19:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
I don't know what you mean?

In the xml files only counter, titles, comments and so on are stored.
And the configuration itself can be directly done on the config files.

- Michael


Top
 Profile  
 
PostPosted: 11. Jan 2012, 20:32 
Offline

Joined: 5. Jan 2012, 17:20
Posts: 15
Well, I was trying to see if one could make folders and include images solely through those XML files. I guess not. It seems like the XML files are just to keep a record rather than files that are being parsed by php scripts or such.


Top
 Profile  
 
PostPosted: 11. Jan 2012, 22:52 
Offline

Joined: 5. Jan 2012, 17:20
Posts: 15
Ok so I am confused. I keep editing the XML files in order to change the captions (I know you can edit them through the administrator account), but they do not change according to the captions I write in the XML files. Do you have any idea why? I have cleared the cache from the gallery and my browser, yet the caption does not change. The captions do change if I click on Edit (while in administrator account) and change the caption text; this also changes the XML files. If I change the XML file's text, it has no effect on what is shown on the gallery. So how is the original caption being saved? I do not have session caching set to true and I made sure that the cache for the browser and the gallery was cleared.


Top
 Profile  
 
PostPosted: 14. Jan 2012, 23:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
TWG does cache the captions in the session and does not load them every time. So if you edit the xml you have to do this while the browser is closed.

- Michael


Top
 Profile  
 
PostPosted: 17. Jan 2012, 17:20 
Offline

Joined: 5. Jan 2012, 17:20
Posts: 15
Oh ok. Thank you.

I also noticed that if I make an XML file from scratch, the Edit option on the admin side is rendered useless. If I delete this XML file that I made and go through the gallery so that the XML file is created by the scripts it runs perfectly, but I cannot edit this XML file without being on the admin side. Any thoughts on this?


Top
 Profile  
 
PostPosted: 17. Jan 2012, 17:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
why do you create xml files from scratch? And why should you not be able to edit them with any editor?

- Michael


Top
 Profile  
 
PostPosted: 17. Jan 2012, 23:06 
Offline

Joined: 5. Jan 2012, 17:20
Posts: 15
Quote:
why do you create xml files from scratch?

This is how my boss wants to use the gallery (outside of the browser).

Quote:
And why should you not be able to edit them with any editor?

I can edit these XML files with any editor, the problem is that I was not seeing the changes on the browser.

Quote:
So if you edit the xml you have to do this while the browser is closed.

Problem solved. :) Thanks. You were right. I had my browser open and I was just refreshing the page to see my changes to these XML files. If I close the browser, make the changes, and then open the browser I can see these changes. Thanks Michael.


Top
 Profile  
 
PostPosted: 18. Jan 2012, 10:54 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10573
good ;).


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO