[pmwiki-users] Commentbox Plus + Show/Hide Div

JimB jbeuerle at triad.rr.com
Wed May 30 04:55:20 CDT 2007


isherr at fes.uwaterloo.ca wrote:
> I have my commentbox form set up in a group footer, and it is nested  
> inside a toggled div section like the one on the Toggle Test page,  
> (http://softflow.co.uk/design/Test/ToggleTest).
> 
> I am wondering, is it possible to have the commentbox form AND the  
> comments completely contained within the toggle div section? Right  
> now, when I post comments to my page using the toggled commentbox  
> form, all the posts appear outside the div, at the top of the page. I  
> have tried changing the $MPAnchorFmt variable, but to be honest I  
> don't think I'm doing it right. Do you think this containment is  
> possible with this recipe?
> 
> You can see what I'm working with  
> (http://vinylagain.com/pmwiki/pmwiki/pmwiki.php?n=LabelWhore.BlueNote).
> The commentbox is located at "show comments".
> 
> Thanks!
> 
> 
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> 
> 

You can get that effect by setting $EnablPostToAnyPage = 1; in your 
config.php file.  Then put (:commentbox labelwhore.GroupFooter:) in your 
DIV.

NOTE: There is more security info in the commentboxplus.php file on this.

I have not tried this, but in theory it should work.

I hope this helps,

Jim



More information about the pmwiki-users mailing list