Jump to:

22976 Posts in 11620 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Content Editor does not have access to create/edit pages in different language

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 821 Views
  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Content Editor does not have access to create/edit pages in different language Link to this post

    Hi,

    I have created a site that is multilingual, and when I login as an administrator I see the the two languages in the 'Language:' select (english and spanish) in the 'Site Content and Structure' left hand side bar.

    I have created a user to create and edit the pages for the spanish site. Permissions are...

    • access to 'file & images' (assetadmin)
    • access to 'site content' (cmsmain)
    • access to all cms interfaces
    • control which groups can access or edit certain pages
    • access to 'model' (modeladmin)
    • access to 'comments' (commentadmin)
    • control which groups can access or edit certain pages
    • site

    ...and when I log in as this user I do not get the select instead it is fixed text stating 'Language: English (United Kingdom)' which is the opposite of what I want... I want him to either have the option or to default to creating, editing the spanish pages). I have tried editing the CMS language and the country of origin, but this just results in the the language of the CMS changing, not the option to edit pages for that locale.

    Any help on this would be greatly appreciated!

    Barry

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Content Editor does not have access to create/edit pages in different language Link to this post

    To follow this up I have hacked a fix that within...

    CMSMain.php
    function LangSelector()

    ...to comment out the condition that checks for the 'VIEW_LANGS' permission on the user and always show the language select options.

    I am still stumped how to assign this permission to the user using in the proper fashion (e.g. using the GUI)

    Barry

    821 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.