Author |
Message |
Topic: block.phphighlight.php |
tsigo
Replies: 0
Views: 8294
|
Forum: Plugins Posted: Tue Jul 08, 2003 8:49 pm Subject: block.phphighlight.php |
I'm writing a developer manual for a project and I wanted an easy way to highlight PHP code, so I came up with this simple plugin. I didn't see one already made, so here it is if someone also needs i ... |
Topic: Useful Smarty wrapper |
tsigo
Replies: 13
Views: 29754
|
Forum: Smarty Development Posted: Sun Jun 22, 2003 12:36 am Subject: Useful Smarty wrapper |
Ok that works, thanks. |
Topic: Useful Smarty wrapper |
tsigo
Replies: 13
Views: 29754
|
Forum: Smarty Development Posted: Sun Jun 22, 2003 12:31 am Subject: Useful Smarty wrapper |
Oh, no - that's how they all are, I just removed them from the example and missed that one.
I did the $tpl->left_delimiter = '{{' and $tpl->right_delimiter = '}}' |
Topic: Useful Smarty wrapper |
tsigo
Replies: 13
Views: 29754
|
Forum: Smarty Development Posted: Sun Jun 22, 2003 12:17 am Subject: Useful Smarty wrapper |
Array
(
[0] => Array
(
[DATE] => June 21, 2003
[NEWS_ROW] => Array
(
[ ... |
Topic: Useful Smarty wrapper |
tsigo
Replies: 13
Views: 29754
|
Forum: Smarty Development Posted: Sun Jun 22, 2003 12:04 am Subject: Useful Smarty wrapper |
I need it to show the date, and then the posts for that date, but it's not.
This is what I have right now, on the PHP side
$DATE_ROW = array();
$index = 0;
while ( $news = $db->fetch_reco ... |
Topic: Useful Smarty wrapper |
tsigo
Replies: 13
Views: 29754
|
Forum: Smarty Development Posted: Sat Jun 21, 2003 9:51 pm Subject: Useful Smarty wrapper |
I'm trying it without the wrapper, how would you do something like this, just in Smarty?
{foreach item=DATE_ITEM from=$DATE_ROW}
<tr>
<th align="left"> ... |
Topic: Useful Smarty wrapper |
tsigo
Replies: 13
Views: 29754
|
Forum: Smarty Development Posted: Sun Jun 15, 2003 10:29 pm Subject: Useful Smarty wrapper |
Nevermind. |
|