Jump to content
verdeandrea

Problem with repeater fields in multi language pages

Recommended Posts

Hi guys,

something very strange is happening with a multilanguage site.

Some repeater fields are not showing if i change the active language.

I have this pages with information about professors and one of the fields is a repeater field called "professor_info".

So, if in a blank professor template i write "echo $page->professor_info" i get ids of the repeater items, but if i switch language to english (the default language is italian) those fields are not showing.

Moreover, this only happens with existing pages. If I create a new page the repeater field is working in both languages.

I can't understand what is causing this problem.

Share this post


Link to post
Share on other sites

I've tried deleting the repeater items for a page, and the adding then again but nothing change. It only works if i delete the page and i create a new page. But there are alot of pages, related to other pages, so i can not recreate every page.

Does anyone have an idea about how to resove this problem?

Please tell me if my previuos explanation is not clear enough.

Thanks.

Share this post


Link to post
Share on other sites

Now I've tried upgrading to the last PW dev version, but this didn't work too.

No one knows what could I try with this problem, guys? Ryan?

I think that the only thing i can do is recreate every page and every page field related to tem via api.

Share this post


Link to post
Share on other sites

Just to make sure, are those pages active in both (all) languages?

(check at Pages -> Settings - > Name, and there's a "Active?" checkbox at the end of the name input field)

Share this post


Link to post
Share on other sites

I am having the same problem where repeater fields are not displayed on a page if the active language is not the default language. Even more strange, everything does work on my local installation, but not on the server. There must be some reason for this, but I just cannot find it.

Any suggestions as to how to test this issue are highly welcome!

Cheers,

Stefan 

Share this post


Link to post
Share on other sites

I had another issue with an image description that wouldn't get saved on the production server, and this turned out to be due to insufficient folder rights. I am suspecting the same to be the case with the content of repeaters not showing up on the production server. I therefore would like to ask if there is some folder under /assets/ or somewhere else connected to repeaters that I could check. 

For the record, I recursively gave 777 permission to the /assets/ folder, but the program my hosting provider uses doesn't seem to work, as it also did not change the permissions of the image mentioned above. 

Cheers, 

Stefan

Share this post


Link to post
Share on other sites

I can finally confirm that the /assets/ folder is writable, but still the repeater contents are not showing on non-default language pages. Honestly, I have no clue what to do next, so any ideas are highly appreciated.

Cheers, 

Stefan

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...