Adding a 'Add New Listing' (Create Content) Link on Local Tasks Menu
I am working on making user pages for a certain type of user who can add/edit/delete content on my Drupal site. I've figured out how to use Views to create a 'Manage Listings' tab which appears on the user's profile, now I need to make another Local Task tab (or any kind of link) that allows the user to add new content. I tried just adding a header...
How to style menu local tasks
Problem I'm trying to theme the menu local tasks that Drupal places without any unique css classes. How would I do this? (Specifically I'm looking to hide certain links on certain pages by giving each one a unique css class). Links Sample HTML Which is generated by this line in page.tpl.php. So Far To do that I'm trying to use theme_menu_local_task...
Display Local tasks from one page to another
I have a menu structure like this: I want to have the tabs (local tasks) from page foo/bar displayed on foo/bar/bazz/% as well but I don't want to have another local task for this new page. Any ideas on how can I achieve that? Thanks.
Why my first tab is missing for local menu tasks defined by hook_menu()?
I am learning how to use hook_menu(). I am at a point where I have a question and not figure it out. I have a local task button inline with View and Edit and I want 4 sub-local_task buttons. See chart below. However, the first button(Outcomes Viewer) is missing and I cannot figure out how to get it to show up. Below is the menu code within the func...
Why multilevel dynamic local tasks doesn't work?
I want to have tabs, but since they need to be dynamic I am making use of local tasks. In the class extending DeriverBase I have written the following function: In the above code, a tab for each key is being generated: my problem is in the if condition. In the if condition I am trying to generate a sub tab for a particular type of tab by declaring ...