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 24. Nov 2024, 12:47

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  [ 4 posts ] 
Author Message
PostPosted: 7. Nov 2010, 23:31 
Offline

Joined: 29. Oct 2010, 21:32
Posts: 27
Just wanted to reiterate that this is a great product and I am having a lot of fun settings things up!

Is there a simple way of enabling tags for images only? I want to keep things simple for my users, and not bother them with a distinction between tags for images and for directories. So when they enter a tag, it should just be for image only, no mention of directories. I could go through and hack the code, but I was wondering if there is a simpler way?


Top
 Profile  
 
PostPosted: 8. Nov 2010, 00:49 
Offline

Joined: 29. Oct 2010, 21:32
Posts: 27
I have solved the problem by commenting out lines 66, 67 and 68 in i_frames/i_tags.php. Note that to comment out these lines in their entirety you have to use html <!-- commented lines -->

I also edited the message that appears in language_en.php for the variable lang_tag_enter to eliminate mention of directories.


Top
 Profile  
 
PostPosted: 8. Nov 2010, 01:14 
Offline

Joined: 29. Oct 2010, 21:32
Posts: 27
So commenting out these lines hasn't completely done things as I want. The issue is that tags are directory sensitive. So even though users are only aware of tags for images and not directories (which is what I want), under the hood tags are still associated with directories, it seems. So if I am in a directory that doesn't happen to have any photos with a particular tag, and none of its subdirectories do either, then 'Top Tags' doesn't show that tag.


Top
 Profile  
 
PostPosted: 8. Nov 2010, 08:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
?? If you don't have any images in this directories then not showing anything in the top tags is o.k. in my opinion.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 28 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