| 14 Jul 2009, 22:42 | |
|
Experienced Joined: 22 Dec 2006Posts: 67 |
I was wondering if i would be possible to add an new photo button on to the menu. This way when new photo's are published there will be a button "word" "badge" which says that that gallery menu item has some new photo's to share. After "example" 7 days the button will disappear from the menu item.
I hope you like the idea and interested if this would be possible. greetings, Eissap |
| 17 Jul 2009, 03:43 | Re: New photo's button |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
You mean that a new folder would exist which accesses the latest images?
Yes, this would be cool, although it is more complciated for a gallery like Imagevue because we rely on real-time physically reading folders and folder-structure, instead of some other galleries using database. We were thinking of creating some "smartfolder" method, that could be used to create a virtual folder based on some conditions(for example only new images). Perhaps something for the future ... _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 17 Jul 2009, 04:51 | Re: New photo's button |
|
Experienced Joined: 22 Dec 2006Posts: 67 |
I my opinion this should not be hard to make.
The big advantage you have is like you said is doing it real time. As of i understand it, the folderdata.xml is used to make up the gallery. With in the folderdata.xml another element could be added with a created date. Combined with a setting within the backend "+7 days" a button could be created on that menu quite easily. You could also make an extra function in the backend like "mark as new for 7 days" but this would be a dirty work arround which is working i fact as I'm thinking of it right now, you could ad an extra word in the current folderdata.xml under <folder> like "updated=$date" and reflect that against the current date. so you'll get $date minus currectdate = -3 eq $button_new But correct me if i'm wrong. If i have some spare time I'll set it up on my own site as a test. i'll let you know the outcome. can you tell me which page is making the menu ? it looks like it's not flash ? |
| 18 Jul 2009, 00:35 | Re: New photo's button |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
can you tell me which page is making the menu ? it looks like it's not flash ? Flash renders the menu, but it gets the menu structure from PHP - Something like this: www.imagevuex.com/mygallery/?a=folders Pain knows more about this stuff ... _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 18 Jul 2009, 01:22 | Re: New photo's button |
|
Experienced Joined: 22 Dec 2006Posts: 67 |
I see that the date is already in there. Maybe by adding another date like UpdatedDate="06.01.2009"
Then you could do something like: Code if UpdatedDate = $date - 7{ menu.item.class=updated }else{ menu.item.class=normal } Just my quick 2 cents. Maybe Pain has something to add as well. |
| 19 Jul 2009, 11:51 | Re: New photo's button |
|
Imagevue Hitman Joined: 2 May 2006Posts: 2858 |
Actually interesting idea, we'll think about it, have to write down to not forget.
_________________ Nick // Imagevue ![]() ![]() ![]() ![]() dear-apple.com jaconda.im indexr gridpapr |
| 06 Aug 2009, 19:55 | Re: New photo's button |
|
Experienced Joined: 26 Jul 2008Posts: 137 |
I was wondering if the "smart folder" mentioned below - that would show images uploaded in the last X days - is going to make it into a future release.
Just curious - it's a great idea! Thanks!!! |
| 18 Aug 2009, 08:50 | Re: New photo's button |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
It is a good idea, and we hope to implement it ...
_________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |




