1 markfaulkner Dec 03, 2005 18:01
3 markfaulkner Dec 03, 2005 20:12
Thanks for the prodding to take a fresh look!
Here's what I discovered: I'd been using direction from this posting http://b2evolution.net/man/2004/07/06/pop_up_howto along with a comment in that posting. There is direction to add a bit of javascript controls to the PHP comments_popup_script (this caused my problems) once I removed the 'extra stuff' my edited skin worked fine.
So now I have the comments_popup_script code you suggest and the _popup.php in that skins folder and all is good.
Add on Question:
It would be nice to be able to control the popup box (size, scroll bar, etc...) where is the proper place to implement those controls?
Thanks again!
4 edb Dec 03, 2005 20:34
[url=http://doc.b2evolution.net/0.9.0/evocore/_blogs_b2evocore__functions_comments_php.html#functioncomments_popup_script]This Handy Link[/url] says you can feed different parameters with the function call (meaning in your _main.php file). It comes from the .9.0 documentation, but a quick cruise through the shiny new evocore folder shows me the params are still the same.
I just added
to the head section of my phoenix installation's custom skin then grabbed _popup.php from phoenix's originalb2 skin and now have popup comments. Never actually did it before because I'm not into popup comments, but it seems to work for me.
One issue I noticed is that when you grab the popup.php file it'll call for the layoutb2.css file, which probably doesn't exist. Reckon one would want to do something about that eh?
I allowed javascripts from your site long enough to see that your popup code works on the second link, but I get a failure message telling me it can't find a file in the b2evocore folder. I'm thinking that means you're using an older version of _popup.php, or somehow have a mix of old-way and new-way. On your first link I don't see the popup script in the head section so that's a path to revisit.