[pmwiki-users] How do I get Fox to post mid-page?

Randy randy at brownragfilms.com
Mon Jan 14 04:52:12 CST 2008


I'm transitioning to the Fox recipe. It's great - but a few things  
puzzle me, for example how do I get Fox to post to a specific location  
on a page without giving me warnings.

The code below actually does post mid-page, but it gives me a warning  
that references pmwiki.php lines 1031 and 1032:

MARK=508-530
Warning: Cannot modify header information - headers already sent by...

The warning goes away if I remove the foxprepend line and let Fox post  
to the bottom of the page.

Here is my code... on MyGroup.News:

(:include Site.NewsBox:)
(:comment posts go below this line:)(:foxprepend newsbox:)

Site.NewsBox has:

(:fox newsbox template=Site.NewsTemplate redir=1:)
|| %headline%Headline:||(:input text heading size=60:) ||
|| ||(:guibuttons:) ||
|| Body:||(:input textarea id=text comment cols=60 rows=6:) ||
|| Author:||(:input text author value='{$Author}' :) (:input submit  
post Enter:) ||
(:foxend newsbox:)

Site.NewsTemplate has:

#foxbegin#
%headline% {$$heading}
%rfloat% (:if auth edit:){[foxdelrange]}(:if:)
{$$comment}
->[- - [[~{$$author}]]   {$$(date D Y-m-d H:i T)}-]
#foxend#

Thanks in advance for any suggestions,

Randy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20080114/26ab3829/attachment-0001.html 


More information about the pmwiki-users mailing list