|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Kosmos Smarty n00b
Joined: 19 May 2010 Posts: 1
|
Posted: Wed May 19, 2010 8:32 am Post subject: Plugin |
|
|
Hi.
I created a plugin - a function that returns an array. As a smarty-tags to sort the values returned by the function?
Code: |
function smarty_function_getcategories($params, &$smarty)
{
$result = array( $params['categoryID'] );
return $result;
}
|
Need somethink:
Code: |
{foreach from=(getcategories categoryID=$id) item=c}
{c.value1},{c.value2}, {c.value3}
{/foreach}
|
|
|
Back to top |
|
antojames Smarty n00b
Joined: 18 Nov 2010 Posts: 1
|
Posted: Thu Nov 18, 2010 9:54 am Post subject: |
|
|
i tried using Viikii Plug-in and it doesn't work for me.
But someone said something about drama's paying Viikii per view it gets and i guess they are discussing it financially. And there are certain areas where Viikii- something is and if your in that area it's not working. You have to give it time, i'm assuming.
_____________
cheap vacations |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|