Plone user preferences has 3 tabs: "Personal information", "Personal preferences" and "Password". I want to hide the "Personal preferences" tab because I don't want that the user changes/sees the fields contained within.
I tried this:
Hiding all the fields in the "Personal preferences" tab, as explained in "Hide custom fields on ##personal-information view". But the tab still appears even it is empty.
Any other ways to accomplish this?
Another option is to go to zmi -> portal_actions -> preferences and uncheck "visible" and finally click save.
Change the CSS.
#personaltools-dashboard {display:none}
Or you can do it with diazo, but I've never played with diazo
Thank you, Auspex, for pointing me to the correct direction.
Finally, I achieved this including a diazo rule into the theme's rules.xml:
<drop css:content="#contentview-user_data-personal-preferences" />
Related
I want create an admin interface for my client. For now if my client wants to add an "article", he needs to click "content" link in the menu, then click "add content", then select "article" content type, then add it. This is not friendly.
I want to have "article", "photo", "video" ( all these are my content type ), each as one menu link in the admin. And if the user clicks "article", it will show a list of all articles, so one does not need to use "type filter" to filter the content type, and user can click "add" link in this list view directly to add each content type.
How can I do that? Thanks of help.
Though this might not be exactly what you're looking for, look into using the Total Control module. It basically creates an admin dashboard where everything is easily accessible.
I'm trying to remove the text "Welcome to" on the Drupal theme seven.
I want to keep my site name though as it stands it says "Welcome to Site Name" at the top left.
I just want it to say "Site Name".
this text will be removed automatically once you create a new content (which promoted to front page)...
so don't worry about this.... another advanced way is to create your front page
and insert the link of you page in "/admin/config/system/site-information" instead of "node" in the "Default front page" section
I just had to replace the variable $title with $site_name.
I'm new to Drupal and trying to create a book to be used for my site's FAQ.
I have 2 simple questions please:
How can you get rid of the tabs listing every single page of my book or at least reduce the number of shown tabs to 3-4, so that there is no "stack overflow" as shown in the screenshot below?
I don't see these "tabs" anywhere in Home >> Administration >> Structure.
In one book page I need to create a table. How could I enable tables (HTML-tables?) in book pages please?
I go to Home >> Administration >> Content >> Books and then?
Or should I go to Home >> Administration >> Structure, then Book page - edit and then?
I'm reading a lot of Drupal docs, but for some questions like these ones you just need someone in person to answer them...
Are you sure that you haven't added them yourself?
When creating content, there is a "Provide a menu link" checkbox in the Menu settings. If that is checked, then you will get these links.
If you don't want them, just uncheck that checkbox or remove them at admin/structure/menu/manage/main-menu
I've found how to get rid of the tabs: go to Home >> Administration >> Sctructure >> Menus, then Settings tab and select "No Main Links" (to get rid of the tabs) and "No Secondary Links" (to get rid of links in the top-right corner) there.
I've also submitted a minor bug there.
Drupal 6.x
How do I remove collapsible frames - "Authoring information","Revision information", "Publishing Options" - from content creation page? For what is worth, I'm logging in as a regular user and I don't want these controls to be presented to regular users.
P.S : I also like to remove save/preview buttons as well.
The 'administer nodes' permission deals with most of those, and for anything that's left, an easy point and click interface is provided by the FormFilter module.
Removing the 'save' button, though, might prove a bit self-defeating.
For more control, get acquainted with the FormAPI and hook_form_alter.
You can also use Panels to change the presentation of the node add/edit forms.
I want to hide these fieldsets in a Drupal 6 site for some content types (not for all of them), because these options are unnecessary and confusing to the end user.
How can I do this?
Thank you!
NodeFormCols sounds like the module your after. As well as hiding fieldsets, you can control the order they will appear in, and whether or not they should be collapsed.
As well as that the "Hide publishing options" module allows you to pick which checkboxes to hide within the publishing options fieldset.
If you are talking about when editing a node, this is related to permissions, so those fieldsets will only be displayed according to the user who is editing the node.
If you want to hide them, you could use hook_form_alter to alter the $form array. You have to be careful about this, so it wont be impossible for users to edit the those sections of the node.
Go to Site Building ->Themes ->Select the particular theme and CLICK "Configure" link. You can see various settings, in which you go to Theme-specific settings ->Node Settings ->Author&Date
Make the changes you need and its done!
(This will be easy if we are using a contributed or custom theme)
Check out the Simplify Node Add module.