17 Answers

4

Avatar michael.maass Support answered

I can confirm that this seems to be an issue with 2.518: Once you add a new element in thetype > Edit Elements, save the changes, and go to assign it to a layout position, the Core Elements are not shown anymore.

We passed this on to the developers, but it's a holiday and I am not sure when this will be taken care of.

To fix the symptom (as oppsode to the cause) without needing to revert to a backup please try this as a workaround:

  • Access your site via FTP.

  • Use a text editor capable of UTF-8 encoding and open

    media/zoo/applications/[yourApp]/types/[theTypeYouEdited].config

    Example: media/zoo/applications/business/types/employee.config

  • Make a backup copy of this file! (just for safety purposes)

  • Now look for this whole block of core elements

    "_itemaccess":  {  
        "access": "1",  
        "type": "itemaccess"  
    },  
    "_itemauthor":  {  
        "access": "1",  
        "type": "itemauthor"  
    },  
    "_itemcategory":  {  
        "access": "1",  
        "type": "itemcategory"  
    },  
    "_itemcommentslink":  {  
        "access": "1",  
        "type": "itemcommentslink"  
    },  
    "_itemcreated":  {  
        "access": "1",  
        "type": "itemcreated"  
    },  
    "_itemedit":  {  
        "access": "1",  
        "type": "itemedit"  
    },  
    "_itemfrontpage":  {  
        "access": "1",  
        "type": "itemfrontpage"  
    },  
    "_itemhits":  {  
        "access": "1",  
        "type": "itemhits"  
    },  
    "_itemlink":  {  
        "access": "1",  
        "type": "itemlink"  
    },  
    "_itemmodified":  {  
        "access": "1",  
        "type": "itemmodified"  
    },  
    "_itemname":  {  
        "access": "1",  
        "type": "itemname"  
    },  
    "_itemprint":  {  
        "access": "1",  
        "type": "itemprint"  
    },  
    "_itempublish_down":  {  
        "access": "1",  
        "type": "itempublish_down"  
    },  
    "_itempublish_up":  {  
        "access": "1",  
        "type": "itempublish_up"  
    },  
    "_itemsearchable":  {  
        "access": "1",  
        "type": "itemsearchable"  
    },  
    "_itemstate":  {  
        "access": "1",  
        "type": "itemstate"  
    },  
    "_itemtag":  {  
        "access": "1",  
        "type": "itemtag"  
    }
    

    and delete the whole block

  • IMPORTANT:

    • Leave the last two closing } that follow after the block I quoted untouched! The file should then end in exactly

              },  
          }  
      }
      
    • Now also remove the comma after the third } from the bottom - the one that was immediately before the block to be deleted - so the ending becomes:

              }  
          }  
      }
      
  • Save the changes, close the file.

When assigning elements to positions the Core Elements should be available again.

Thank you

Edited

1

Avatar mustaq Yootheme answered

As far as I can see , with the Business Directory, you have not assigned any Elements to Layout Positions, Assign Elements to Layout Positions . Are you saying that tha was already done, but the upgrade made them get removed from the layout postions ?


Update:

Give me a specific Step by Step to follow on your site, so I can test this.


Update:

Yes, I can now confirm this issue. I will update here as soon as a fix is available.


Update:

Revert to your Backup, please

YOOgards

Edited

1

Avatar jan Yootheme answered

Hi,

fixed with 2.5.19. You'll have to resave your type (edit elements screen).

Regards,
Jan

0

Avatar nickwinters answered

I just reinstalled a backup version of my website that I made before upgrading to the newest version of ZOO. From the backup everything was working fine. Then I went to download and install ZOO 2.5.18. Once installed everything appeared to be normal. Then I went in to my elements editor for the business directory. I created a simple text field to the elements and then when I went to add it to Widgetkit Map: Article my core elements had disappeared again:

http://i437.photobucket.com/albums/qq91/nick-winters/zoo.jpg

It must have something to do with the recent update to ZOO. Can someone please help asap!

0

Avatar nickwinters answered

No, take a look at the picture I provided. See where the "Core" element field is right above all of the "Custom" elements? Notice how all the fields are blank? Before I upgraded they said things like author, item category, item link, item tags, etc. Now they are all blank and I have no idea why?

0

Avatar nickwinters answered

I just tried it again under Business Directory. I clicked on the default "Employee" edit elements feature and then created a new text field. When I went to add it to a layout position all of the core elements were no longer visible. It happens as soon as a custom element is created it seems.

Edited

0

Avatar nickwinters answered

Here are step by step instructions on how you can recreate the issue.

1.) Go to ZOO and click on the gear icon to edit the apps.
2.) Select Business Directory
3.) Click on Company Widget Map : Article
4.) Once in the position editor, take note of the "Core" elements that are currently available above the "Custom" Elements. The Core elements should reflect things like "Access, Creation Date, Item Link, Tags, Etc."
5.) Next hit cancel and go back to Company "Edit Elements".
6.) Create "Text" element from element library and name it whatever you want.
7.) Save element
8.) Go back and click on Company Widget Map: Article again and take note that all the "Core" elements that used to be available have now disappeared.

This is the problem. Once an custom element is added, the core elements disappear and are no longer available to add to layout positions.

0

Avatar nickwinters answered

Is this a bug issue? Or is this something that you will be working on to fix? Should I revert back to my old version that I have backed up until a fix is available?

Edited

0

Avatar miguser answered

Same thing with me. Bug in newest version. Sometimes I wish I just keep what works.

0

Avatar nickwinters answered

Yeah. However, I find that if I don't update immediately with ZOO it creates larger headaches. It's not exactly the most friendly component to update if you let too many versions cycle by. Hopefully they release a fix for this soon.

0

Avatar nickwinters answered

Awesome, thank you! Can you also post here when an official fix is released?

0

Avatar petergrice answered

I have exactly the same problem after upgrade.

0

Avatar greenparrot answered

Hi

Same problem here, happened after i deleted an un-used element

Roy

Edited

0

Avatar steve.lugovsky answered

This fix doesn't work :( Michael, when you delete the block of code, yes the elements show up, but as soon as you use/reassign them to a layout, and hit save, they vanish again.

Steve

UPDATE!

Nevermind, this fix DOES work. Browser caching issue on my end.

Thanks!

Edited

0

Avatar jan Yootheme answered

Hi,

sorry for the trouble, will be fixed in short.

Regards,
Jan

Know someone who can answer? Share a link to this question via email or twitter.