Contribution Date
Technology
Contribution Project
Contribution Details
Hi @kzeeh. This is pseudo code. I wrote the logic only. In DS Code field, use function call instead of directly use if-else condition for better performance.
<?php
$node = node_load('[node:nid]');
$node_title = '[node:title]';
if(is_object($node)) {
if($node->type == "YOUR_ENTITYTYPE_MACHINE_NAME") {
$nid = $node->nid;
$node_id = "node/$node_id";
if(!empty($node_id)) {
$node_title_link = l("$node_title","$node");
print $node_title_link;
}
}
}
Contribution Issue Link
Contribution Link
Files count
0
Patches count
0