Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Simple multilingual gallery with descriptions and categories


Go to End


2 Posts   2122 Views

Avatar
Bert

Community Member, 19 Posts

11 July 2008 at 3:39am

I want to develop a gallery in SilverStripe which can contain categories, and for which multilangual descriptions can be added to pictures. The CMS user can only create new categories or delete existing categories, upload or delete pictures, and add descriptions to pictures in multiple languages.

The problem is that the current Gallery module doesn't allow categories, has the configuration options available to CMS user (I want access to be limited to the developer), and for which no descriptions (let alone multilangual descriptions) can be added to pictures. If I understand it correctly descriptions can be added to assets, but no multilangual descriptions? I would like to have this all in one place.

Has someone done anything similar?

Avatar
Ingo

Forum Moderator, 801 Posts

15 July 2008 at 6:40pm

Multilingual content is (mostly) available for SiteTree objects, and we've implemented it for DataObjects as well (e.g. on translate.silverstripe.com). The problem is that you don't get a multilingual UI "out of the box" for stuff like ComplexTableField popups, in which you'd usually edit assets and categories. Documentation is available at: http://doc.silverstripe.com/doku.php?id=multilingualcontent

Depending on your php knowledge, I would suggest you try to enhance the existing gallery module in a well-tested and well-documented way - this way you can let the community benefit from your work. Having a multilingual gallery would be awesome!