[pmwiki-users] "Save & Edit" and "Preview" with custom markup
DaveG
pmwiki at solidgone.com
Mon Jan 9 20:34:17 CST 2006
The problem seems to be that within my code, I simply look for either
"Tags: " and then replace with "[[!..]]" markup, or vice-versa. What I
should be doing is checking the specific action, "Edit", "Read". Is
there a way to determine what action is occuring, and then I can trigger
on that instead?
~ ~ David
Patrick R. Michaud wrote:
> On Mon, Jan 02, 2006 at 10:16:30PM -0500, DaveG wrote:
>
>>Not sure if this is a bug or an error in my markup.
>>
>>I have defined a markup and an $EditFunction to replace "Tags: a,b,c"
>>with "Cats: [[!a]],[[!b]],[[!c]]" when Saving, and to do the reverse
>>when Editing.
>>...
>
>
> I think you've answered this before, but is there any particular
> reason for not simply defining a "Tags:" markup that generates
> links to category pages (and just leave it as "Tags: ...")?
>
> Pm
>
More information about the pmwiki-users
mailing list