My coworker created a panel and gave it a certain naming scheme for the Name, Administrated Title and the path. Well, later on, i was told to create more panel pages for the website and was given a different naming scheme for the aforementioned areas. after i finished my work on the other pages and went back through the site to double check my work, i noticed that the first panel page, the one my coworker created, was named differently. so i decided to go back and change the naming scheme. i also made sure that i went back and changed the path on the menu item to make sure that the menu item we created to link to the page would work. well, after changing everything, the content disappeared along with the menu link. i changed the names back and everything was fine. i then proceeded to delete or remove the panel page and then created an entirely new one with the same content but with correct name, administer, and path. this wouldnt even show up at all. so i was wondering what the problem here was? is it the operator or is it something with the panel module itself?
Comments
Comment #1
merlinofchaos commentedI admit I don't have any idea. I can't see how the panel name would have anything to do with the menu item appearing or not.
Comment #2
merlinofchaos commentedComment #3
merlinofchaos commentedFOr soemthing like this, I'm going to need reproduction instructions. There's not much I can do if I can't duplicate the problem.
Comment #4
21cls commentedOk. When you create a page using the panels module, you will eventually give it three titles or names that the admin or drupal will use to identify what this panel is. these are Name, Administrated Title and the path. i created custom content types that were basically HTML fields, video fields, title fields, header and footer fields, to fill in these panels. Anyways the name would be something like "class_week02_assignment", the administrative title would be something like "Class | Week 02 | Assignment" and the path would be something like class/week02/assignment". These were specific naming conventions that were created to keep continuity in the site. Well these naming conventions were created after the first week was created. The names and titles that were created in week 1 were changed to match the naming conventions of the later weeks, causing the it to disappear.
So create the different content types using the CCK module like the ones above
Create a panel page using the naming conventions above or whatever you like.
Place it in the navigation menu as a parent or child link
change the titles to something else, making sure to change the path setting in the menus so the link should work
see if it disappears
Comment #5
jmather commentedI'm definitely seeing something strange with menu items being created with panels, it doesn't happen all the time, but for example:
1) Created a panel page and gave it a path like: path1/path2/title1
2) Created a menu item for this in the primary links (not in panels) two levels deep, in other words my menu item was
Menu level 1
--Menu level2
--My menu item here
3) Cloned the panel page created in step 1, giving it a path of path3/path4/title2
4) Created a menu item for this in the primary links (not in panels)
Menu level 1
--Menu level2
--My menu item here
--My 2nd menu item here
5) The link shows up correctly in the system under primary links, but...if you use the custom code below in one of panes for the 2nd panel page:
The menu would not print (it should), there is nothing there, somehow the routing to the menu item is getting broken.
I'm also seeing similar issues when adding menu items through the panels, where they won't show up in primary links at all...hmmm..
Comment #6
gaspaio commentedI'm having exactly the same problem with panels and menus. I think it might be the clonning panels process.
i'm having another problem : impossible to delete a menu item created with panels; When i delete de panel the menu item stays, and from the menu page its not possible to remove it neither (altough this seems logical for this kind of content)
Comment #7
stieglitz commentedHaving similar issues but I am not sure how it happened. PRIMARY Menus show up fine as soon as I log in. My guess is it has to do with access permissions....as though the panel is set to "logged in user has access to menu". I have no criteria selected so the panel (and menu) should always appear...yet it does not when logged out. I originally set the menu through the panel but later added some menu items manually. I also changed the weights manually. I sure would appreciate some help. Great work Merlin! Views and Panels rock!
Comment #8
merlinofchaos commentedFor #6, Drupal appears to have bugs where it loses track of who 'owns' the items in the menu_links table, and removing the item doesn't remove the menu link. Once this happens the only fix is to delete it directly from the menu_links table. I have no understanding of why or how this happens, though.
Comment #9
leelight commentedi have same problem, but more serious
I update Panels from 3.1 to 3.2, i lost the link in navigation menu, and the links which i defined before for panel can not be visited anymore
i have checked the panel table, the data is still there, but just can not visit them
ah===============
after cron manually, i see my lovely menu,
This is the system log after cron:
* The configuration options have been saved.
* Created string type:panel:name for text group nodetype: Panel
* Created string type:panel:title for text group nodetype: Title
* Created string type:panel:body for text group nodetype: Teaser
* Created string type:panel:description for text group nodetype: A panel layout broken up into rows and columns.
but i can not visit the pre-defined link again!!
and i go to edit the old panel, the content has been deleted, i dont know what happened, it seems i must recreate them again.
I will use the old version now, when i use old version, everything come back in order.
Comment #10
esmerel commentedOK, this issue looks hijacked all to hell and back. Is the original issue still a problem with the more recent versions of panels?
Comment #11
esmerel commented