Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi, I am applying marketing tools to Drupal development and one of those is tracking the source of a link dynamically. For instance, in some sites I've seen this as www.example.com/foo?src=google. I don't really know how flexible this is, but I want to be able to have metrics about the sources and to use these variables to dynamically adapt the content to the source and to be able to create custom URL if they help discriminate their source.
I'm learning Drupal during the last two weeks and hit 2 road blocks on menu trail and themed custom blocks base on user selection.
Menu Trail
My current CMS stores content in tree structure like the file system. In each of the folder it can specify a page as the landing page. The site navigation is base on the folders structure. Let's use this site for example http://www.hrsa.gov/gethealthcare/resources/index.html. The main menu ("Get Health Care") and secondary menu ("Public Health Resources") get highlighted when we visit any page under "Public Health Resource". This is very similar to Drupal menus but Drupal menu trail only works on main pages (landing pages). On the other pages under "Public Heath Resources", I want both main and secondary menu item highlighted but it doesn't work under Drupal menu. The menu trail wont work unless I add the second page to the menu as well but I can't. I don't want it to be in the navigation adding it to the menu will add another option to the navigaiton.
Theme blocks base on user selection.
On my current CMS I can define several different themes for a block so when the editor adds the content they can add any block to the rightside bar and select a block template (theme) to apply. Under Drupal only admin can add a block to a page but still can't pick a theme to render the block for a specific page.
Often I come across a thread discussing features of a module that have not yet been implemented or that have not been implemented for the current version. Lets face it, module maintainers are busy, and it was nice enough for them to contribute in the first place. I often see many people that want the same function (on a thread or issue queue). When I need this functionality it seems like I have three options, one try and develop it my self, hire a developer to create i, or wait for the maintainer / someone else to patch or implement the desired feature.
I want to make a group type for every groupfor e.g New Delhi should come in group type "Geographical"...
I don't know how to do that?
can anyone explain how to do this??