Drupal 8 translate custom menu link? - drupal

In drupal 8, when I try to check the 'custom menu link' checkbox at admin/config/regional/content-language, after validation the checkbox remains unchecked..
No errors or warnings on page or in my dblog.. Have cleared cache multiple times and ran composer update to make sure all modules and core are up to date.
Am I doing something wrong to translate my menu, or will i have to make multiple menu's for each language the good old drupal 7 way?
Running Drupal 8.1.2 atm.
**edit** updated to drupal 8.1.3, same problem

Apparently when you check the 'custom menu link' checkbox, a new item is added with ajax at the bottom of the page to chose what fields of the menu item you wish to translate without the checkbox being checked yet.. Apparently you need to check those extra fields also before validating, else the checkbox won't get checked.

Related

Custom fields disappeared from wordpress admin

I have custom fields on my wordpress installation but after theme update, they disappeared from admin.
They still show the content on front-end, but I can't add new content from admin.
I already checked if it was unchecked in "screen-options", but it isn't there ...
I tried to deactivate every plugin and see if anything changed, but no.
I don't know what version you had, I am using Wordpress 5.2+. I had the same problem, I can't find the checkbox of Custom Fields in the Screen Options as it suppose to be but later on I found it in the Options of adding or editing post. Go to Posts > Add New > click on 3 vertical Dots on the top right conner > click on Options > once the options dialog box popped up you will see Custom Fields checkbox under Advance Panels.

Drupal 7 admin new menu

Is it possible to implement a new admin menu in Drupal 7?
Currently I am using Seven theme.
What I want to do is adding another tab on the Content menu with just: Comment, Comment to content, Comment, Submission.
I added a new menu on the admin menu structure, but the menu is not showing anywhere.
I made page--admin--content--submission.tpl.php to start making the interface, but I can't make it according to the current selected admin theme.
Please point me somewhere since I already googled with no luck.
Update screenshot :
Did you try clearing your cache? You can do that via the Performance page, at yoursite.com/admin/config/development/performance.

Core Content types not available

I have a weird issue troubling my Drupal site. Upon clicking 'Add Content', my Drupal website automatically redirects to a couple of custom content types that I created using the 'Add content type' feature. For some reason, all the existing core content types such as 'Basic page', 'Article', 'Book' have disappeared.
Further probing, when I click the 'Content types' link in 'Structure>Content types', all of these content types exist and are listed, however for some reason I am unable to use them.
I am not sure where I have goofed up here, so I want to ask you guys and check what's wrong.
Thanks,
Problem:
I have experienced this same problem... in fact on a current project I lost a complete day of work (I wasn't backing up my DB often enough & my fix was to restore my DB) in attempt to resolve it.
Once I found Radix's answer I realized that was definitely what I had just done (disable all of those items in the navigation menu).
Procedure/Fix:
I then took it one step further, since, in my estimation putting these links in the navigation menu must have been an error (what business do they have there??).
I went to Structure->Menus and clicked the "list links" errr link.
Next I clicked the "edit" link on the Add content sub-menu item.
In the Edit window I selected the ----Content sub-menu of the Configuration menu.
I then verified that clicking Add content from the management menu AND from the Content window brought me to the links I was expecting, and it did.
Drawback: I found that when adding new content types you have to modify their automated menu link by finding them under the navigation menu & setting their parent menu as ------ Add content
Summary: Moved the Add content menu to a more logical location (so I could use the navigation menu for my own purposes without losing the ability to add content), however this requires an extra step when creating custom content types.
This issue has been asked in several formats, but as it keeps rearing its head, I will respond with a detailed explanation.
When attempting to "Add content" under administration-->Content, it is quite common to find that the content type menu items become disabled (don't know why). This can easily be remedied by re-enabling the content types in the navigation menu, like this:
Go to administration-->structure-->menus-->navigation and you will see all (or some) of your content types are disabled in the menu. Just re-enable them and you are good to go!
This may also be due to problem with the database:
If two or more entries in the node_type table have the same orig_type value, some of them may not be displayed. Compare this report: Drupal: Content type in database not in the list of content types in Structure>Content types

drupal 7 specific page shortcuts are disappearing when edit and save that node

I have created a new user and I have given the rights to edit and display some specific content type, and the user has no other rights. Also I have created for him an shortcut list with some specific nodes of that type, which he has access to see and to edit.
But the strange thing is when the user (I have checked doesn't matter which user, even the administrator user) edit and save that node, then the shortcut to that node disappear from the menu bar. I have check the shortcut list attributed to that user and there is no shortcut there.
Do you experience the same thing?
UPDATE: Found a similar issue for the menu problem I'm experiencing indicating that this is a bug: http://drupal.org/node/761648#comment-4345692
I have the same trouble. It becomes very tiresome recreating my menus every time I edit content. I don't know how to fix it, but it seems the problem stems from the 'Provide a menu link' option in the Menu Settings tab while editing content. If I don't manually change it every time I edit content, it'll automatically choose to add a menu link to the main menu, deleting it from any other menu it was in. If I uncheck it, it will still delete the old menu item anyway.
I hope someone has answers!
I had the same problem with 'basic pages'.
Changed content type (structure > content types) 'basic page' and checked all the checkboxes for 'available menus'.
If you edit the content now and set the 'provide menu link' to the correct menu it remembers it correctly and the menu items don't disappear anymore.
Hope this helps.
Nephews
Try simplifying the URLs.
One thing I've found is that if Drupal doesn't like (for whatever validation reason) your URL, it will not show it until you edit it to be acceptable.
For example, I tried adding this repeatedly without success
node/2/edit%3Fdestination%3Dadmin/content
It showed up fine when I changed it to:
node/2/edit
Perhaps something in the node URL changes when they edit it.
It's not a real bug, but a bit strange ;)
You have to edit your content type to accept all referred menus. So, the actual menu entry won't be deleted and placed in main menu.
Have fun =)

Save button missing from Drupal site

I'm in the middle of creating a Drupal site. It already has lots of content. This morning I found out that the "Save" button has now gone missing from my Page and News nodes. Users now have to click Preview before the Save button appears (both for creating new content and editing existing content). It was fine yesterday and I'm not sure what has changed. Can anyone help me to restore the Save button?
Many thanks
Check under admin/content/node-settings if you set the preview to "required", that would cause this behaviour. You can also try to emtpy all caches.
in Drupal 8 , preview mode can be set for each content types,e.g for articles :
/admin/structure/types/manage/article
If set to required the save button will appear only after previewing the content and returning to edit mode.

Resources