What version of pmwiki are you running? <br><br>If the version string is not visible in your template, check scripts/version.php to see it.<br><br><div class="gmail_quote">On Tue, Nov 25, 2008 at 1:26 PM, adam overton <span dir="ltr"><<a href="mailto:a@plus1plus1plus.org">a@plus1plus1plus.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hmmm<br>
i see that it does work on that Test page, which seems great<br>
but on my system it doesn't work. not sure why it doesn't.<br>
<br>
i've changed it to the following so that it'll look in Local<br>
Templates...<br>
(:pagelist fmt=#oneline group=Main wrap=inline count=4:)<br>
<br>
<br>
results in:<br>
<br>
blam<br>
Main / | About | Calendar | Contact | CreateAProfile blah<br>
<br>
instead of<br>
blam Main / | About | Calendar | Contact | CreateAProfile blah<br>
<br>
<br>
it's posting the following code:<br>
<p>blam<br>
<br /><strong><a class='wikilink' href='<a href="http://mySite.com/Main/" target="_blank">http://mySite.com/Main/</a><br>
Index'>UDP</a> /</strong> &nbsp;| <a class='wikilink' href='http://<br>
mySite.com/Main/About'>About</a> &nbsp;| <a class='wikilink'<br>
href='<a href="http://mySite.com/Main/Calendar" target="_blank">http://mySite.com/Main/Calendar</a>'>Calendar</a> &nbsp;| <a<br>
class='wikilink' href='<a href="http://mySite.com/Main/Contact" target="_blank">http://mySite.com/Main/Contact</a>'>Contact</a><br>
&nbsp;| <a class='wikilink' href='<a href="http://mySite.com/Main/" target="_blank">http://mySite.com/Main/</a><br>
CreateAProfile'>CreateAProfile</a> &nbsp;blah<br>
</p><p class='vspace'>&nbsp;</p><br>
<br>
?<br>
<br>
(anyways, i figured out a workaround for my situation, but i'm still<br>
puzzled as to what i must've changed that's causing this... thanks)<br>
<br>
<br>
On 23 Nov 2008, at 11:25 PM, Peter Bowers wrote:<br>
<br>
> When I use the wrap=inline I still get <p> surrounding, but I don't<br>
> think it has anything to do with pagelist -- that's just how things<br>
> are divided up vertically. As long as I put "blam" on the line<br>
> immediately preceding or on the same line with the (:pagelist ...:)<br>
> with the same for blah afterwards (i.e., don't double-space to start a<br>
> new paragraph) my source looks like this:<br>
><br>
> blam<br>
> (:pagelist fmt=Cookbook/PagelistTemplateSamples#oneline group=Main<br>
> wrap=inline count=4:)<br>
> blah<br>
><br>
> then I end up with this HTML:<br>
><br>
> <p><strong> <span style='font-size:69%'> </span> </strong><br>
> <br clear='all' /><br>
> blam<br>
> <strong><a class='wikilink'<br>
> href='<a href="http://www.pmwiki.org/wiki/Main/HomePage" target="_blank">http://www.pmwiki.org/wiki/Main/HomePage</a>'>Main</a> /</strong> |<br>
> <a class='wikilink'<br>
> href='<a href="http://www.pmwiki.org/wiki/Main/AboutThisSite" target="_blank">http://www.pmwiki.org/wiki/Main/AboutThisSite</a>'>About This<br>
> Site</a> | <a class='wikilink'<br>
> href='<a href="http://www.pmwiki.org/wiki/Main/" target="_blank">http://www.pmwiki.org/wiki/Main/</a><br>
> FoxCommentTemplate'>FoxCommentTemplate</a><br>
> | <a class='wikilink'<br>
> href='<a href="http://www.pmwiki.org/wiki/Main/" target="_blank">http://www.pmwiki.org/wiki/Main/</a><br>
> GroupAttributes'>GroupAttributes</a><br>
> | <a class='wikilink'<br>
> href='<a href="http://www.pmwiki.org/wiki/Main/HomePage" target="_blank">http://www.pmwiki.org/wiki/Main/HomePage</a>'>HomePage</a><br>
><br>
> blah<br>
> </p><br>
><br>
> As you can see, the <p> precedes the blam and the </p> follows the<br>
> blah. Is that what you were looking for?<br>
><br>
> See here:<br>
><br>
> <a href="http://www.pmwiki.org/wiki/Test/PageListTest" target="_blank">http://www.pmwiki.org/wiki/Test/PageListTest</a><br>
><br>
> -Peter<br>
><br>
> On Sat, Nov 22, 2008 at 3:33 AM, adam overton<br>
> <<a href="mailto:a@plus1plus1plus.org">a@plus1plus1plus.org</a>> wrote:<br>
>><br>
>> hi. is there a way to make pagelist not add <p> tags around it?<br>
>> i'd like for the single result of a pagelist to print out within a<br>
>> line,<br>
>> instead of breaking it.<br>
>> for instance:<br>
>><br>
>> blam (:pagelist name=Index ... :) blah<br>
>><br>
>> with one result always results in<br>
>><br>
>> blam<br>
>> myResult<br>
>> blah<br>
>><br>
>> but i'd like to get<br>
>><br>
>> blam myResult blah<br>
>><br>
>> i thought adding something like wrap=html or wrap=inline might<br>
>> prevent<br>
>> this, but it doesn't.<br>
>><br>
>> is there a way?<br>
>> thanks<br>
>> adam<br>
>><br>
>><br>
>> _______________________________________________<br>
>> pmwiki-users mailing list<br>
>> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
>> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
>><br>
<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div><br>