Timeline for Make link translatable in Admin from a PHP string in a tpl-file
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 28, 2016 at 16:03 | comment | added | marcvangend | Thanks for your additions, @leymannx. I updated the answer to match the updated question. | |
Jan 28, 2016 at 16:03 | history | edited | marcvangend | CC BY-SA 3.0 |
enhanced code example
|
Jan 28, 2016 at 12:42 | vote | accept | meez | ||
Jan 28, 2016 at 12:28 | comment | added | leymannx |
@MeesFrenkelFrank <div class="well"><?php print l(t('Create an Account'), 'doctor/register'); ?></div>
|
|
Jan 28, 2016 at 12:26 | comment | added | meez |
@leymannx i update my question. I added my HTML . How do i integrate your example?
|
|
Jan 28, 2016 at 12:13 | comment | added | leymannx |
@MeesFrenkelFrank – This will create the whole anchor automatically. You can also add classes like so: <?php l(t('Create an account'), 'doctor/register', array('attributes' => array('class' => 'doc-reg-link'))); ?> .
|
|
Jan 28, 2016 at 11:44 | comment | added | meez |
and how do i place above exactly in the <a href="" ?
|
|
Jan 28, 2016 at 11:20 | history | answered | marcvangend | CC BY-SA 3.0 |