How to write a custom Smarty function in php

This post has been moved.

About these ads

62 Responses

  1. [...] from the WaxJeely blog today, there’s a post that steps you through the creation of a custom Smarty function in PHP. In this tutorial, we’ll write our first [...]

  2. You can also create very easy modifier.

  3. Smarty, Thanks for the code. We’ll be writing a custom Smarty Modifier soon, as well as a codeblock, and some other nifty tools (including some cool AJAX and Smarty stuff!!). Thanks for your patience, we’ll get it out to you asap.

  4. This helps out alot. I’ve been trying to figure out how to make a template system. If I’m understanding this right I could use variables like $header in a template and it will display a header for me?

  5. sir,please send tutorial of smarty to me.thanks

  6. Hola faretaste
    mekodinosad

  7. I have visited your site 626-times

  8. I could not find this site in the Search Engines index

  9. Hey

    I was surfing the web and i saw this site, pretty cool.
    Currently im running and adult site:Reachton
    k, just want to say hi :)
    Can i link you from my site? im looking for quality content like yours. If no let me know if i can add u in exchange for a montly fee or something.

  10. thx for yur article..
    it’s great helpful for me

  11. [...] reference… How to write a custom Smarty function in php [...]

  12. I have visited your site 711-times

  13. Good Articles.

  14. i’m losing my mind, and i don’t think it’s cleve. Ulf Raharjo.

  15. I love xtemplate as template engine for decoupling php logic from html generation, but smarty is ok.

    I wrote an article about the importance of using templates engine (smarty or xtemplate) en best php programming practices.. check it out (clicking my name).

  16. oh lord my baby your driving me craz. Eka Kolour.

  17. Why would you create a new way to pass parameters to functions in php – ie with smarty all of the parameters are passed in an asociate array? That means if I have pre existing functions I regularly use, they have to be re-written to work the smarty way. Or I have to write a wrapper function for each function so I can use it in a smarty template. That makes life easier – not!

  18. I am just starting to understand smarty, so this article is very helpful.

  19. I try to Instal smarty in windows.But I am failure.
    Sir,please send tutorial of smarty to me.thanks

  20. Hi.
    Good design, who make it?

  21. I really do like this place.
    Top earring links!

  22. Good explanation.

  23. Отличный пост. Хочу тоже поделиться прикольной ссылкой – скачать NFS Undercover

  24. Что-то такое слышал, но не так подробно, а откуда материал брали?

  25. Слабо похоже на правду…

  26. Нет ничего нового под небом…

  27. Ой, благодарю

  28. Тяжело в учении – легко… в учебном бою.

  29. Голова раскалывается. Надо что-либо править в своем бизнесе. Между тем перерегистрация ООО – очень горячая тема на сегодняшний момент. Не прошлепать бы. Проблему надо разрешить до конца года. Крамбец.

  30. Встань, человек! Встань с колен!.. Оторвись от замочной скважины…

  31. Interesting idea. If you have free time, pleas came to my blog. Thith is it – How to play spades.

  32. [...] About Custom Smarty Function [...]

  33. tell me in detail about smarty

  34. Просто отлично – очень интересные мысли. Разжевано специально как будто бы для меня :)

  35. Спасибо за ответы на все вопросы :) Реально узнал много нового. Правда до конца так и не разобрался что и откуда.

  36. Мне вот кажется, что такое написать мог то ли креативный гений, то ли героиновый наркоман :(

  37. Однозначно теме плюс

  38. Да уж По-моему в данном сообщении нет никакой логики :)

  39. И как автору не жалко столько времени на написание статей тратить, мы конечно очень благодарны, но вот я на такой альтруизм не способен :)

  40. This site is useless….

  41. What a fantastic post!

  42. I know this is actually boring and you’re simply skipping to the next comment, but I simply desired to throw you a big thanks! We really came across this on yahoo, and im happy I did. I’ll definitely be coming back…

  43. I noticed something as well about this topic on another blog.Amazingly, your linear perspective on it is diametrically opposite as to the I just read before. May I post part of this on my page basically post a reference to this site?

  44. Use custom functions and modifiers to call PHP code. See the plugins section of the manual. Stay away from {php} tags.

  45. I’m new at PHP and this was very easy to follow

  46. В поддержку Вашим словам хотелось бы добавить скольконибудь слов, однако сообразно моему всё и так сказано.

    С уважением
    d-lux-71 ]

  47. Hi, bookmarked your site for great subscription on the future. Waiting for your next post!

  48. Хороший сайт pornodosa.ru – gjhyj, gjhyj, бесплатное порно и многое другое.

  49. viagra tablets australia lexapro for hypochondria is hydrocodone a blood thinner how long does cialis take to kick in topamax abdominal pain

    google froogle blah blah blah :D

  50. Hello, the whole thing is going fine here and ofcourse every
    one is sharing data, that’s actually excellent, keep up writing.

  51. Wow, awesome blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is fantastic, as well as the content!. Thanks For Your article about How to write a custom Smarty function in php | WaxJelly .

  52. Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is magnificent, as well as the content!. Thanks For Your article about How to write a custom Smarty function in php | WaxJelly .

  53. Wow, incredible blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is excellent, as well as the content!. Thanks For Your article about How to write a custom Smarty function in php | WaxJelly .

  54. Wow, superb blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your web site is great, let alone the content!. Thanks For Your article about How to write a custom Smarty function in php | WaxJelly .

  55. Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is great, as well as the content!. Thanks For Your article about How to write a custom Smarty function in php | WaxJelly .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 48 other followers

%d bloggers like this: