I have a site with a primary nav across the top and secondary on the left sidebar. When you browse to the About Us page via the top nav, then of course that item is highlighted with CSS class "active."
But if you then browse to one of the items in the subnav there, like Our History, the About Us on top is no longer active. Now this left hand secondary nav bar is actually a block made by the Tree Menus module.
Now they want of course the About Us to be active for all the subnav items, and the same idea for all the different pages, meaning the subnav items of "Our Programs" should all load with "Our Programs" active in the top nav. In the primary nav, Our History has About Us as its parent--of course they're all like that.
So really the question is I think: How can I tell the primary nav to make "active" the parent of the menu item from the Tree Menu block on the left?
Thanks
Anyone know of any modules that could just kick back a report of when all nodes of a particular type had been last modified?
I know I could just run a sql query to get this data, but I'd prefer a module that less tech-savvy staff members could check.
Too bad the Content Management Filter module can't filter by modified date.
You could do this in views by doing a sort on Node: Updated date.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 5/6/2010 10:55 AM, Gottwig, Jeremy M. (GSFC-272.0)[ZIMMERMAN & ASSOC.] wrote:
Anyone know of any modules that could just kick back a report of when all nodes of a particular type had been last modified?
I know I could just run a sql query to get this data, but I'd prefer a module that less tech-savvy staff members could check.
Too bad the Content Management Filter module can't filter by modified date.
And then with Views Bonus you can also have it export to excel/csv/xml for reporting capabilities... ;-)
Jamie Holly wrote:
You could do this in views by doing a sort on Node: Updated date.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 5/6/2010 10:55 AM, Gottwig, Jeremy M. (GSFC-272.0)[ZIMMERMAN & ASSOC.] wrote:
Anyone know of any modules that could just kick back a report of when all nodes of a particular type had been last modified?
I know I could just run a sql query to get this data, but I'd prefer a module that less tech-savvy staff members could check.
Too bad the Content Management Filter module can't filter by modified date.
install the views bulk operations module and roll your own content manager filter!
Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com
On Thu, May 6, 2010 at 11:55 AM, Gottwig, Jeremy M. (GSFC-272.0)[ZIMMERMAN & ASSOC.] jeremy.m.gottwig@nasa.gov wrote:
Anyone know of any modules that could just kick back a report of when all nodes of a particular type had been last modified?
I know I could just run a sql query to get this data, but I'd prefer a module that less tech-savvy staff members could check.
Too bad the Content Management Filter module can't filter by modified date.
[ Drupal support list | http://lists.drupal.org/ ]
Good thoughts all, thanks. :)
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Victor Kane Sent: Thursday, May 06, 2010 10:57 AM To: support@drupal.org Subject: Re: [support] Nodes Last Modified report...
install the views bulk operations module and roll your own content manager filter!
Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com On Thu, May 6, 2010 at 11:55 AM, Gottwig, Jeremy M. (GSFC-272.0)[ZIMMERMAN & ASSOC.] <jeremy.m.gottwig@nasa.govmailto:jeremy.m.gottwig@nasa.gov> wrote: Anyone know of any modules that could just kick back a report of when all nodes of a particular type had been last modified?
I know I could just run a sql query to get this data, but I'd prefer a module that less tech-savvy staff members could check.
Too bad the Content Management Filter module can't filter by modified date. -- [ Drupal support list | http://lists.drupal.org/ ]
This is an active trail issue.
For "most" situations, what you need to do is to assign the sub items to the same branch as the about. This "should" work.
If it is not, then it could be an issue with the theme and how the theme sets the active element in the menu.
In the more complex projects, setting active trail can become complicated with Drupal; and in those instances I actually write the menu in PHP in the template.php file and then print it on the page.tpl.php using a funciton-return.
Using this method is my "last resort" but it does allow me to make all nodes of a particular type mixed with node's of a particular number and arguments of a particular value all drive the same active trail logic in the menu's "class="active" system.
So,to sum: Ideal situation: use the drupal-way if you can [setting menu items as hierachichal]; but if you can't because you are mixing types with arguments with nid's; then use a function for the menu in template.php
Fred Jones wrote:
I have a site with a primary nav across the top and secondary on the left sidebar. When you browse to the About Us page via the top nav, then of course that item is highlighted with CSS class "active."
But if you then browse to one of the items in the subnav there, like Our History, the About Us on top is no longer active. Now this left hand secondary nav bar is actually a block made by the Tree Menus module.
Now they want of course the About Us to be active for all the subnav items, and the same idea for all the different pages, meaning the subnav items of "Our Programs" should all load with "Our Programs" active in the top nav. In the primary nav, Our History has About Us as its parent--of course they're all like that.
So really the question is I think: How can I tell the primary nav to make "active" the parent of the menu item from the Tree Menu block on the left?
Thanks
For "most" situations, what you need to do is to assign the sub items to the same branch as the about. This "should" work.
Yes, it is the same branch. I mean the Our History menu item has a parent called About Us, which appears in the main top nav. Just doesn't get "active" when looking at Our History.
If it is not, then it could be an issue with the theme and how the theme sets the active element in the menu.
I looked at the theme. It's something custom but anyhow I don't see any code to deal with this. I guess I will do like you said and write something
Thank you.
Hi Fred,
the module menutrails could also help you maybe?
Fred Jones wrote:
For "most" situations, what you need to do is to assign the sub items to the same branch as the about. This "should" work.
Yes, it is the same branch. I mean the Our History menu item has a parent called About Us, which appears in the main top nav. Just doesn't get "active" when looking at Our History.
If it is not, then it could be an issue with the theme and how the theme sets the active element in the menu.
I looked at the theme. It's something custom but anyhow I don't see any code to deal with this. I guess I will do like you said and write something
Thank you.
There is some module that allows user to send to another node as award, and statistics show me sent surveys on the site?
or anyone knows of any combination to do this?
thks in advanced.
send a node is just a link to a node, i presume [emailing?]
stats of the site in a node, not sure what "stats" means, site hits? amount of times a node was clicked?? your description is really not clear. but yeah, get your node to produce the information you need, and then allow users to "send it" to each other, or to "assign" a node to a user [which can then trigger an email]
Aldo Martinez Selleras wrote:
There is some module that allows user to send to another node as award, and statistics show me sent surveys on the site?
or anyone knows of any combination to do this?
thks in advanced.