<div dir="ltr">Oh gosh, thankyou so much.<div>It helps a lot if you have the correct capitalisation in the group config file, duh</div><div><br></div><div>I do like the way you can replace markup with more markup, very handy.</div><div><br></div><div>Simon</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>____<br><a href="http://kiwiwiki.nz" target="_blank"><font size="1">http://kiwiwiki.nz</font></a></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 May 2020 at 22:41, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 20/05/2020 12:16, Simon wrote:<br>
> I'm wanting to do something like this<br>
> Markup("QBN", "<inline", "/QBN/",<br>
> '%qgrade%Attach:TararuaFootprints.Introduction/QBN.png"Bushcraft and<br>
> Navigation"%%');<br>
> <br>
> i.e. replace the text with an image<br>
> but clearly it's not quite right because nothing happens?<br>
<br>
It appears to work, when I added this to config.php, a text "QBN" in the <br>
page gets converted to <br>
%qgrade%Attach:TararuaFootprints.Introduction/QBN.png"Bushcraft and<br>
> Navigation"%% which is then processed by the markup engine, and on my <br>
> own wiki it shows a link to upload the a QBN file into the <br>
> TararuaFootprints.Introduction page.<br>
<br>
> The replacement text works directly in the page<br>
<br>
You didn't elaborate, I guess you want the markup rule to work in a <br>
single group (hence "group config file"), then the markup rule doesn't <br>
work in another group.<br>
<br>
This is the expected behavior, local/Group.php in only loaded when a <br>
visitor browses the group "Group". It doesn't matter if any of the <br>
"Group" pages include content and markup from other groups.<br>
<br>
If you want the markup rule to work in other groups, add it to <br>
config.php instead.<br>
<br>
Petko<br>
<br>
<br>
</blockquote></div>