-
- 42 Posts
Hi, I’m just new to MODx and MaxiGallery, both with possibilities way beyond my expectations! Now I sit here wondering: is this possible too? I came up with an idea for my website, to present galleries based on keywords/tags. So a gallery with ’architecture’ could contain some pictures from the gallery ’holidays’ and the galleries ’party’ and ’people’ could contain the same pictures as ’night photography’. I’m sure you get the idea..
Is there a way? Maybe with an additional snippet? I’d love to find out!
thanx, n`
-
- 4,213 Posts
Picture tagging is not currently possible in Maxigallery, but there has been some talk about it..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
- 4,213 Posts
You would need to make another field in the database table, then store the tag selection to that field in the snippet code. Make a new form field (select box maybe) in the picture management form and get the values (eg. tagnames) to the selection box via sql select distinct. Then make it possible to edit the available tags if you want (if you only need static tag names, put the tags to some pictures in the db table and they will appear on the form). Then you need to make a snippet that get’s the pictures from selected galleries with some tags info. You can quickly edit that from maxigallery solo.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
- 4,213 Posts
If you get it done nicely and are willing to publish for others to use under GPL, I can take a look at it to include in maxigallery by default. I think many would like that. Also, if you have any questions, I’ll try to help.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."