[pmwiki-users] RandomQuote without the anchor?

Andy Kaplan-Myrth andy at kaplan-myrth.ca
Sat Sep 13 14:27:05 CDT 2008


Patrick R. Michaud wrote:
> On Sat, Sep 13, 2008 at 01:27:04AM -0400, Andy Kaplan-Myrth wrote:
>> I found the RandomQuote cookbook and thought I could use it, and I 
>> created a page with a listing of my favourite background colours, but 
>> when I include them in the pagelist template they come out with the 
>> anchors from the list of colours, so they mess up the >>div code<<
>>
>> Does anybody have a solution or a suggestion for how to change the 
>> RandomQuote cookbook so it will only return a colour? 
> 
> Instead of just returning a color, could you have RandomQuote
> return the entire >>div color<< line?

That worked! Now to adjust the css and colours so it *looks* half decent!

Thanks,
Andy


-- 
Andy Kaplan-Myrth, M.A., LL.B.
Barrister & Solicitor
------------------------------------------------
email: andy at kaplan-myrth.ca
web: http://kaplan-myrth.ca
microblog: http://identi.ca/kaplanmyrth
friendfeed: http://friendfeed.com/kaplanmyrth
------------------------------------------------



More information about the pmwiki-users mailing list