[pmwiki-users] inline pagelist
a at plus1plus1plus.org
Tue Nov 25 14:26:18 CST 2008
i see that it does work on that Test page, which seems great
but on my system it doesn't work. not sure why it doesn't.
i've changed it to the following so that it'll look in Local
(:pagelist fmt=#oneline group=Main wrap=inline count=4:)
Main / | About | Calendar | Contact | CreateAProfile blah
blam Main / | About | Calendar | Contact | CreateAProfile blah
it's posting the following code:
<br /><strong><a class='wikilink' href='http://mySite.com/Main/
Index'>UDP</a> /</strong> | <a class='wikilink' href='http://
mySite.com/Main/About'>About</a> | <a class='wikilink'
href='http://mySite.com/Main/Calendar'>Calendar</a> | <a
| <a class='wikilink' href='http://mySite.com/Main/
</p><p class='vspace'> </p>
(anyways, i figured out a workaround for my situation, but i'm still
puzzled as to what i must've changed that's causing this... thanks)
On 23 Nov 2008, at 11:25 PM, Peter Bowers wrote:
> When I use the wrap=inline I still get <p> surrounding, but I don't
> think it has anything to do with pagelist -- that's just how things
> are divided up vertically. As long as I put "blam" on the line
> immediately preceding or on the same line with the (:pagelist ...:)
> with the same for blah afterwards (i.e., don't double-space to start a
> new paragraph) my source looks like this:
> (:pagelist fmt=Cookbook/PagelistTemplateSamples#oneline group=Main
> wrap=inline count=4:)
> then I end up with this HTML:
> <p><strong> <span style='font-size:69%'> </span> </strong>
> <br clear='all' />
> <strong><a class='wikilink'
> href='http://www.pmwiki.org/wiki/Main/HomePage'>Main</a> /</strong> |
> <a class='wikilink'
> href='http://www.pmwiki.org/wiki/Main/AboutThisSite'>About This
> Site</a> | <a class='wikilink'
> | <a class='wikilink'
> | <a class='wikilink'
> As you can see, the <p> precedes the blam and the </p> follows the
> blah. Is that what you were looking for?
> See here:
> On Sat, Nov 22, 2008 at 3:33 AM, adam overton
> <a at plus1plus1plus.org> wrote:
>> hi. is there a way to make pagelist not add <p> tags around it?
>> i'd like for the single result of a pagelist to print out within a
>> instead of breaking it.
>> for instance:
>> blam (:pagelist name=Index ... :) blah
>> with one result always results in
>> but i'd like to get
>> blam myResult blah
>> i thought adding something like wrap=html or wrap=inline might
>> this, but it doesn't.
>> is there a way?
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
More information about the pmwiki-users