Modify Drupal [login to view URL] 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;


Kemahiran: Drupal, Javascript, PHP

Lihat lagi: template php menu icon, modify drupal template, webform template php drupal, drupal 7 print main menu in page tpl php, drupal authoring information permission, drupal render menu programmatically, drupal 8 hide authoring information, drupal node published date, drupal display author and date information, drupal node created date, drupal submitted by, php, drupal, css html5, 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

Tentang Majikan:
( 24 ulasan ) Norderney, Germany

ID Projek: #15687576

15 pekerja bebas membida secara purata $32 untuk pekerjaan ini


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 Lagi

$30 USD dalam sehari
(597 Ulasan)

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 Lagi

$30 USD dalam sehari
(95 Ulasan)

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 dalam sehari
(31 Ulasan)

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 [login to view URL] contribute Lagi

$55 USD dalam sehari
(28 Ulasan)

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 Lagi

$100 USD dalam sehari
(7 Ulasan)

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

$25 USD dalam sehari
(66 Ulasan)

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 Lagi

$30 USD dalam sehari
(9 Ulasan)
$25 USD dalam sehari
(47 Ulasan)

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 Lagi

$19 USD dalam sehari
(38 Ulasan)

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 Lagi

$25 USD dalam sehari
(28 Ulasan)
$30 USD dalam sehari
(50 Ulasan)

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 Lagi

$30 USD dalam sehari
(11 Ulasan)

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 Lagi

$10 USD dalam 0 hari
(5 Ulasan)

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 dalam sehari
(0 Ulasan)

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 Lagi

$15 USD dalam sehari
(0 Ulasan)