Timeline for Edit Node Title in Template.php
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 20, 2013 at 9:42 | comment | added | AjitS | @randomblink - I mentioned at the very beginning of the answer that this way is less expensive. What I meant by that is you don't need extra database queries or any other function to achieve the desired result. The field variables are already defined, just have to use them. I also acknowledge the purpose of keeping the formatting and logic different. If you wish to do so, clive has mentioned the right way of doing it :) | |
May 17, 2013 at 19:50 | comment | added | randomblink | That IS an answer that would work. But it doesn't directly answer my question. I'm trying to keep as much logic in my template.php and do just formatting in my tpl.php files. So can you give me any clues on how to do this inside of template.php versus inside of a tpl.php? | |
May 17, 2013 at 19:05 | history | answered | AjitS | CC BY-SA 3.0 |