Modify Drupal [url removed, login to view] for additional node author menu link


I already have a menu link (node edit) which is only shown to the node author realised in the [url removed, login to view] (code below) and the given menu link path "http://edit/this/node". I would like to have the same for the translate path (so "/node/' . $node->nid . '/translate") but I don't know how to edit the template.php. I guess it is quite simple for someone who knows PHP and Drupal a bit ;)

function venture_theme_menu_tree($variables) {

//global $node;

$arg = arg(1);

$html = null;

if ($arg) {

$node = node_load($arg);

if ($node) {

$link = '/node/' . $node->nid . '/edit';

$html = '<ul class="menu">' . str_replace('http://edit/this/node', $link, $variables['tree']) . '</ul>';



if (!$html) {

$html = '<ul class="menu">' . str_replace('first ', 'first hidden ', $variables['tree']) . '</ul>';


return $html;


Skills: Drupal, Javascript, PHP

See more: template php menu icon, modify drupal template, webform template php drupal, webform drupal template php, template php javascript code drupal, modify included drupal template artistically color, modify drupal theme menu, drupal template php, drupal template menu, template php admin modify xml file, converting php code drupal template, drupal template node reference, drupal template node, drupal template include node, drupal template user type node, imageready css drupal template, convertir psd drupal template, setup drupal template price, php mysql drop list menu

About the Employer:
( 24 reviews ) Norderney, Germany

Project ID: #15687576

15 freelancers are bidding on average $32 for this job


Hello, I'm a PHP/Drupal/WordPress CERTIFIED EXPERT coder. And have a lot of experience with System admin + Html + Javascript + CSS + API integration Relevant Skills and Experience Please have a look at my Portfolio an More

$30 USD in 1 day
(597 Reviews)

We are a group of electrical engineers and web developers. It is unclear what you are trying to do but we understand the portion of code you provided and we might be able to help if you elaborate. Relevant Skills and More

$30 USD in 1 day
(95 Reviews)

Hi i understand the project. Relevant Skills and Experience i have good knowledge on Drupal, Javascript, PHP Proposed Milestones $5 USD - milestone $25 USD - all scope items

$30 USD in 1 day
(31 Reviews)

Hello, Hope you are doing well! I have 6 years of experience in the web development area and worked on small to large web application and meet clients expectations. Relevant Skills and Experience [url removed, login to view] contribute More

$55 USD in 1 day
(28 Reviews)

we are a web and app developement organization having a expert team in PHP, MySQL,CSS3, HTML5,android ,wordpress wp plugins,and 3rd party API as Facebook, Twitter, Google API, shopping engines, etc. Relevant Skills an More

$100 USD in 1 day
(7 Reviews)

Hello! I modify Drupal [url removed, login to view] for additional node author menu link Relevant Skills and Experience Please check my reviews and profile Proposed Milestones $25 US More

$25 USD in 1 day
(66 Reviews)

Hi, Hope you doing well!!! I am available with complete expertise and past experience to meet your job requirement and can start right now. So can you please send me the complete detail so that I can analyze More

$30 USD in 1 day
(9 Reviews)
$25 USD in 1 day
(47 Reviews)

Hi, i have read your post and seen code you have written and good code. i am able to do this job very quick with the use of Drupal hooks for translation. Relevant Skills and Experience I have total 8 years of experien More

$19 USD in 1 day
(38 Reviews)

As per your requirement of website developer for you are at the right place where you will get all your needs to be done with satisfaction and a quality work will be given to you. Relevant Skills and Experience I hav More

$25 USD in 1 day
(28 Reviews)
$30 USD in 1 day
(50 Reviews)

Hi,I have 8+ years experience in web development did lots of site in drupal with customization if i get proper time and cost I can do any thing in drupal which is logical correct as per requirement. Relevant Skills a More

$30 USD in 1 day
(11 Reviews)

Hi, I am master Developer, I have worked with all the techs eg. Wordpress, Joomla, Magento, Prestashop, Opencart, Shopify. I have read the Project requirements,I can start work now. Relevant Skills and Experience Dru More

$10 USD in 0 days
(5 Reviews)

I am zend certified php developer and having 12 year of experience. Relevant Skills and Experience I have experience in drupal 6, 7 & 8 version. So I can do this quickly. Proposed Milestones $25 USD - entire task

$25 USD in 1 day
(0 Reviews)

You can add another rule for the string replacement, which would replace any occurrence of a specific string, like http://translate/this/node to '/node/'. $node->nid. '/translate'. Then you can use the fake url anywhe More

$15 USD in 1 day
(0 Reviews)