Drupal: .htaccess Access Deny
August 21, 2014 – 7:59 am | No Comment

In this article I will tell how to forbid access to certain resources for some clients. The instructions will include descriptions of different directives.

Read the full story »
CSS Templates

Contain reviews and news about CSS Templates.

Freebies

Contain freebies such as icons, graphics, headers and images for your websites.

Fun Stuff

Contains other fun stuff for entertainment or interesting site showcase.

How-To

Contain technical elaborations on some specific workarounds or common tweak.

Joomla Templates

Contains reviews and news about Joomla templates.

Home » How-To

Drupal: Quick Editing of a Taxonomy Term

Submitted by on September 27, 2010 – 6:43 amNo Comment

In Drupal, you may need to display a link to taxonomy term editing page on a taxonomy term page. This article would tell you a quick solution for that.

The solution is quite simple – one line in a theme template. But it will make your working with the site much easier!
Besides, every term can have a description in taxonomy vocabulary. If the description is provided, you can read the description taking mouse over the term. The description will appear as hint.

Please perform the following actions in the folder of current theme:

  • Find page.tpl.php file
  • Copy page.tpl.php to page-taxonomy-term.tpl.php.
  • Add this code to the appropriate place in new file:

    <?php print l(‘edit’, ‘admin/content/taxonomy/edit/term/’. arg(2));?>

You can also add access rights verification. Users will not see useless information without read&write permissions for taxonomy.

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.