Topic: Show comments on the same page
Hello,
what can i do to show the articles comments on the same page,
i tried this in the template:
<div> by <strong>{author}</strong> @ {date}</div>
<div>{comment}</div>
thanks for help.
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Problem Solving / Help & Support → Show comments on the same page
Hello,
what can i do to show the articles comments on the same page,
i tried this in the template:
<div> by <strong>{author}</strong> @ {date}</div>
<div>{comment}</div>
thanks for help.
i found a solution for my problem, but i am not happy to use iframe.
how can i do it better?
<iframe width="560" height="315" src="http://mypage.com/cutenews/router.php?subaction=showcomments&id={news-id}" frameborder="0" allowfullscreen></iframe>
That's a smart idea (though unfortunately with iframes). As far as I know, it's not possible to show comments in the active news section without major modification of code.
In this case the usage of iframe is the most secure way for adding comments to articles. In other case there will appear redirection to the comment page or errors appear.
Another idea for this, something that's next on my (hopefully) to do list, is to use a lightbox type of feature. Very similar to the way CKeditor has smilies, a little box that appears above your page, that doesn't reload the page.
I have no idea if I can pull this off, but if I do, I'll report back here.
CutePHP Forums → Problem Solving / Help & Support → Show comments on the same page
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.