This topic is locked

Template Variables

1/22/2006 1:39:41 PM
PHPRunner General questions
P
pbonk author

Is there a list of what you can use in templates as variables? (ie ###SCRIPTMESSAGE(UPDATE)###)
Where is so, can you add custom variablkes for the templates?

ie (date('Y-m-d') = ###CUSTOMVAR1###)
Thanks

admin 1/23/2006

Hi,
I recommend you using session variables for your needs.

I.e.

$_SESSION["var1"] = date('Y-m-d');


Template tags are hardcoded in PHPRunner wizard.

P
pbonk author 1/23/2006

Hi,

I recommend you using session variables for your needs.

I.e.
Template tags are hardcoded in PHPRunner wizard.


Anywhere to get a list of all those hardcoded tags?
Thanks

P
pbonk author 1/23/2006

I also forgot to state why, I was asking about the Date(function).
When I'm building the pages from phprunner, sometimes after I've started other projects. They assign another person to fix or enhance the page, or months later I need to look at the code. I wanted to assign a file header that states info on the site or web pages.
/**

  • @version $Id: dbcommon.php,v0.4 2005/11/24(place the build date here) Exp $
  • @package (Set Site name here)
  • @subpackage (list subpackage if needed)
  • @author (Place person running build here)

    */
    Which also brings up a point, that I am in the process of also adding comments thru out the template to support 'phpdocumentor' documentation building scripts, following the javadoc standard.
    Possibly, future versions can support this in the standard template.
    Thanks,

admin 1/24/2006

Hi,
thank you or sharing your idea.

We'll add it into our suggestion list.

P
pbonk author 1/24/2006



Anywhere to get a list of all those hardcoded tags?
Thanks


Sorry, did you answer this? I might have missed it?
Thanks

admin 1/25/2006

Anywhere to get a list of all those hardcoded tags?


No. These tags are for internal use only and there is no public documentation for them.