You can use variables. For example I use something like this:
<IMG
SRC="./addons/job_monarch/image.php?c={$cluster}&j_view=small-clusterimage"
BORDER=0>
and that works fine.
The Dwoo templates requires you to place curly braces around variables:
{$something}
As of January 2013, SARA has a new name: SURFsara.
ing. Ramon Bastiaans - Senior Systems Programmer - Cluster Computing
| Operations, Support & Development | SURFsara | Science Park 140 | 1098 XG
Amsterdam | T +31 (0)20 592 30 00 | [email protected] |
www.surfsara.nl |
On 19 apr. 2013, at 18:06, Chris Hunter <[email protected]> wrote:
> I would like to add a URL to the ganglia cluster_view. The simplest
> approach seems to use the cluster_extra.tpl template.
>
> However cluster_extra seems to allow static html only. We would like to
> add URLs based on some the existing php variables such as $clustername.
>
> eg)
> <p>
> <a href="$clustername.info"> See link $clustername info for details </a>
> </p>
>
> Any suggestions how to approach this?
> Do other gangla folks modify cluster_view.php or cluster_view.tpl directly ?
>
> regards,
> chris hunter
> yale hpc group
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Ganglia-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-developers
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________ Ganglia-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-developers
