|
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 |
TirednBurntOut Smarty Rookie
Joined: 21 Nov 2014 Posts: 24
|
Posted: Mon Jul 18, 2016 11:32 pm Post subject: Help with the {input command |
|
|
Am using smartjobboard software. Have found lines in the TPL's like this:
{input property=$form_field.id}
{input property=$form_field.id template="video_profile.tpl"}
But I cant find any documentation or code for "input". Have looked in all Smarty folders for a custom function or modifier, but no luck.
Could sure use some help! |
|
Back to top |
|
elpmis Smarty Elite
Joined: 07 Jun 2007 Posts: 321
|
Posted: Tue Jul 19, 2016 7:50 pm Post subject: |
|
|
input isn't a plugin which comes from Smarty.
It seems it comes from Smartjobboard so you should search inside smartjobboard related folders too. |
|
Back to top |
|
TirednBurntOut Smarty Rookie
Joined: 21 Nov 2014 Posts: 24
|
Posted: Tue Jul 19, 2016 7:54 pm Post subject: |
|
|
elpmis wrote: | input isn't a plugin which comes from Smarty.
It seems it comes from Smartjobboard so you should search inside smartjobboard related folders too. |
I have searched on everything I can think of, both in file names and text inside files.
Do you have any specific search suggestions? |
|
Back to top |
|
TirednBurntOut Smarty Rookie
Joined: 21 Nov 2014 Posts: 24
|
Posted: Tue Jul 19, 2016 8:05 pm Post subject: |
|
|
elpmis wrote: | input isn't a plugin which comes from Smarty.
It seems it comes from Smartjobboard so you should search inside smartjobboard related folders too. |
Thanks for confirming "input" is not standard Smarty.
How does Smarty know where to find plugins if they are not in the standard Smarty folders?
I have scoured the Smarty folders and files, and I have done global searches within my IDE and using an external file finder (Agent Ransack) looking for any filename containing the word "input" and within files looking for the text:
input( or _input or input_ |
|
Back to top |
|
elpmis Smarty Elite
Joined: 07 Jun 2007 Posts: 321
|
Posted: Tue Jul 19, 2016 8:39 pm Post subject: |
|
|
The question is why do you want to know this ?
You could play with with params and compare it with results.
By the way ... I'm not familiar with this software. But I've make a short look inside it and have seen there's a registred function named input. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Tue Jul 19, 2016 8:49 pm Post subject: |
|
|
http://www.smarty.net/docs/en/plugins.tpl
And answering your question directly, it can be anything.
Code: | <?php
$smarty->registerPlugin('function', 'input', function() {}); | is a perfectly valid way to register template function.
If you have your site code downloadable somewhere, we could take a look, to speed things up. |
|
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
|