News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPRiot.com:
Creating Custom Block Tags in Smarty
February 04, 2008 @ 07:56:00

On the {H{Riot.com site today, there's a new tutorial talking about how to customize your site's Smarty templates a bit more using external plug-ins, specifically one for making those "code block" sections seen all over the web.

We will first learn how block plug-ins can be used in your templates, and then learn how to create our own. Once we know how to create a block plug-in, we will cover a practical example that will show you how block plug-ins can effectively be used in your own web sites.

The tutorial assumes that you already have Smarty installed and that you're familiar enough with it to know how to work with the plug-in system right away. They include some samples of how it can be used (a default block, formatting it with HTML) and, of course, how to integrate this (PHP code and all) into your template and push your content into it.

0 comments voice your opinion now!
custom block tag smarty plugin example tutorial


blog comments powered by Disqus

Similar Posts

Adobe Developer Connection: Flex and PHP charting

Hasin Hayder's Blog: RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library

Design Aeon: Cake PHP Search Component

Sameer Borate's Blog: Functional programming with Underscore.php

Smashing Magazine: Replicating MySQL AES Encryption Methods With PHP


Community Events

Don't see your event here?
Let us know!


framework performance part2 release series community podcast voicesoftheelephpant symfony2 api interview php7 opinion conference language laravel example application introduction configure

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework