Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2008-02-12 05:35:08

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: [plugin] [ORPHAN] rss_admin_quikpik

Digging deeper, the plugin does in fact replace <body> which it can’t find with an id applied to it. Here’s a fix that seems to work.

Edit the plugin’s code. Find the following line:

$ret = str_replace("<body>", "<body>".rss_doQp(), $ret);

And replace it with:

$ret = str_replace("<table id=\"pagetop", rss_doQp()."<table id=\"pagetop", $ret);

Instead of adding the menu after the body tag, we’ll add it before the table tag that follows.

Last edited by mwillse (2008-02-12 19:43:15)

Offline

#77 2008-06-19 18:57:13

brainphat
New Member
From: Columbia, MO
Registered: 2007-09-07
Posts: 5
Website

Re: [plugin] [ORPHAN] rss_admin_quikpik

mwillse wrote:

Digging deeper, the plugin does in fact replace <body> which it can’t find with an id applied to it. Here’s a fix that seems to work.

Thanks! That works like a charm, and leads me to some other ideas I’ve had for the ol’ quikpik.


brainPhat

Offline

Board footer

Powered by FluxBB