[pmwiki-users] Q:ZAP setting attr
    The Editor 
    editor at fast.st
       
    Tue Apr  3 15:22:18 CDT 2007
    
    
  
On 4/3/07, Jiri Hladůvka / OBUTEX <admin at obutex.com> wrote:
>
> It's not only title but (:keywords:) and (:description:), too.
Pm?  Do these work just like titles?  That is, they need to be a page
parameter AND be set in the page, or just inserted into to the source
code and updated?  I'm not sure.
> So how can I get e.g. (:toc:) into the page without manual editing the
> source ?
It's kind of tricky as is, because theres no easy way to get a :) into
a hidden text variable.  In this case the edit command would look for
it in the editbody field.  It would break the markup.
I either need to have a way to escape it, do a substitution, add it to
the directives list and try the {( )} syntax (might not work) or
something else.  Anyone have a suggestion?
On the other hand if it is a new page you could put it in the template
and then insert the field into the parameter part of the directive.
Not easy to edit though.
Perhaps I need another system for dealing with these kind of things--a
different extension.  And then just use a more carefully constricted
attr command just for passwords...  But a way to pass a :) into a
field would be a more generic solution.
Cheers,
Dan
    
    
More information about the pmwiki-users
mailing list