sodesign Posted March 19 Share Posted March 19 Hello, I'm having a weird issue where I can't activate pages in other languages if they're using a specific template. Pages using other templates work fine. I have tried ticking the box in the page's settings tab, and tried using $page->setAndSave("status$lang"); with the api. The box just shows as unticked again when I refresh. The only thing I can notice about this template is at the bottom of the setting page where it says 'Page object class: RepeaterPage' (see attachment). Does anyone know what this means and whether it could be the cause of the problem? Thank you! Link to comment Share on other sites More sharing options...
da² Posted March 19 Share Posted March 19 Hello, Is your template named "repeater"? (I don't really understand the "page object class: RepeaterPage" here, I don't see this information on my side but am not on last PW version, I imagine this is the custom class associated with this template, but RepeaterPage is a PW class) Link to comment Share on other sites More sharing options...
sodesign Posted March 20 Author Share Posted March 20 No the template name doesn't contain the word Repeater. I don't know of any reason why this particular template would have a custom page class (I hadn't even heard of them until this issue!). For now I have removed "pageClass":"RepeaterPage" from the data column for this template in the DB and the other languages can now be activated. I'll test all the features associated with this page and see if this change had any bad consequences. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now