drupal: forum in menu - drupal

I created a container with a couple of forums. How do I get it to appear in my menu?
I have book called "community", and I want the forum container to appear as a child of that book. I thought I could do it by using a view. I selected node:type-->forum topic as a filter, but I don't know what to enter in this field. It doesn't seem to be working.
How can I do this?

If you have just a few containers, you can simply create the menu links by hand, make sure that you have the menu.module enabled.
You can also check out http://drupal.org/project/taxonomy_menu, it allows to display taxonomies in the menu automatically and forums depend on taxonomy.

Related

How to manage wordpress pages menu from database?

How to find where my page titles exists in my database and how to merge with my menus? Maybe I can easily change them using phpmyadmin?
I found that Apearance->Menus is a nightmare when i have more than 40+ menu items. I want to get a workaround idea?
The menu items in the list are derived from each page's title. If you want to create a custom menu editor, use wp_nav_menu. It also helps to make sure that you set each page's parent page.
It might pay to look for a menu editor plugin, as I am sure they exist (No I havn't looked).

Blog posts not highlighting the active menu item

Ok, I know that there are several other questions on SO regarding this topic. By now, I have probably read all of them. I have been researching this for a little over two hours now and I am coming to the end of the road (about to give up!)... So, here I am on SO finally asking the question to involve other sharp minds.
I am helping build this Wordpress site: greatman.us. And, the Posts page is located on a page called "Blog." The "active" menu item is highlighting properly on PAGES, but when you go to a POST, the "Blog" menu item is not longer highlighted (i.e. NOTHING is highlighted in the header menu).
There is no way in Wordpress - as far as I'm aware - to create a "parent" for a blog post. This option is only available for Pages. I need to be able to have the "Blog" menu item stay highlighted when I am viewing a BLOG POST.
For a general example:
mywebsite.com/blog/ <--- menu item "Blog" is highlighted
mywebsite.com/blog/post223 <--- menu item "Blog" is no longer highlighted
I am proficient with CSS and HTML, but not with PHP. So, if this is a PHP fix, please dumb your answer down as much as possible.
I have read tons of other articles about this online and it seems to be a common issue, with most people not knowing how to code with PHP.
I am using a custom theme, called Divi. And it is missing some of the CSS elements that other forums and sites I have read said that the style.css should have. This is another reason I am coming to a dead end. Please help!
By the way, one WORKAROUND I discovered is to add POSTS as sub-menu items to the "Blog" page that you made in the Wordpress Menus area (in the admin back-end). Then, use "display:none" is CSS to remove the submenu from being displayed to the public. This causes two main problems, though: 1) You can never have any other sub-menu items, because they won't be displayed. 2) You have to manually add every single blog post to the menu as a sub-menu item. This will eventually make your menu super long assuming you are a regular blogger. It is also a hassle.
Within your CSS, you will also need to add .current-page-ancestor with the same attribtues as your current menu item.
Something similar to below:
.current_page_item, .current-page-ancestor {
// Some attributes
}
This is guessing that you have use wp_nav_menu() though. If not then I'll need to see what code you have used to generate the menus.

Custom Menu Link Descriptions

I am building a custom WordPress theme and need to add descriptions to my custom menu links. According to WordPress, there is a way to do this:
"The description will be displayed in the menu if the current theme supports it."
Does anyone know how to support this?
Thanks in advance,
Tim
Wordpress' documentation on this is misleading. It actually took me quite some time to find out how to do this myself. As long as your theme supports menus (meaning, you've Registered a Custom Menu within functions.php or elsewhere), you can add Link Descriptions and other useful information by default.
In order to SEE these options, go to Appearance->Menus and click on Screen Options (up in the top right-hand corner of the screen). You will be able to enable the options you like under "Show advanced menu properties".

How to associate forums & forum posts with the menu structure in Drupal 7

I've created a members area using organic groups.
This group has a submenu using the menu block module which displays a link to my private forum
How can I get the forum topics to be linked into the menu structure so that when I click into a forum post the submenu stays there. (It dissapears because the forum post isn't in the menu tree)
I could do achieve this by setting a menu link and adding 'forum' as the parent each time, but this is not a suitable solution.
Thanks.
Maybe module Reference with autocomplet or select forum topic? But this is not clean solution

Drupal: how to move node comments under Read More link?

My Drupal is displaying a simple custom view, with a nodelist.
The trick is that my view displays comments under nodes in the list.
That is too much for one page and I need to get a list of pure nodes and hide comments under ReadMore link.
I've tried to play with comments settings for my the custom node type I am displaying,
but even if I choose "Display on separate page" - the comments themselves still remain in the main grid.
How to I move comments under ReadMore link to make them invisible in the grid?
Ahh the joys of theming views.
View Theming guide
This guide should be enough to get you started.
I'd recommend using the views-view-VIEWNAME-field.tpl.php as opposed to writing a theme function.
Hope this helps

Resources