[ar] [ca] [cpf] [de] [en] [es] [fr] [it]

This is where you can ask questions about the SPIP cms.

Topics : 254 Topics solved :  31 %

41 visitors now


dynamic tags

by yannickp - 24 September 2016 22:21 - Replies : 1

Hi,

I’ve been trying for a long time to create a dynamic tag but it doesn’t work;
I’ve looked for some examples but none of them work. Did someone actually managed to make it work? How?

my current tcode:
in squelettes/mes_fonctions.php

function balise_ABC($p)
$args = array();
return calculer_balise_dynamique($p, ’ABC’,$args);

function balise_ABC_dyn()
$abc=’fr’;
return array("test",0,array( ’abc’ => $abc));

in squelettes/test.html
[(#ENV**|unserialize|print_r1)]
but the ’abc’ property isn’t there

Regards,

Yannick




Answering the question

« dynamic tags »

Keywords

You can tag this forum page with the keywords that you think are the most appropriate. This will help future visitors to find answers more quickly.


Installation, updates

Using the private area

Administration, management and configuration of your site

Creating your templates

Who are you?
  • Log in Register

by relevancy | by date