Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / General / "comment" in admin panel

#33470 2012-03-08 00:23

on admin add this:

<iframe src="your/path/page.php?al=admincomments" style="border:0px;width:100%;height:200px;"></iframe>

admincomments is the page alias.

on your page you'll add this:

#the-element-to-hide, .the-class-to-hide, #and-so-on {display:none !IMPORTANT;}

the css hides your elements and should overwrite its standart values. remember to put that only on the page you actually want to use as the admin comments.
this maybe a dirty solution that works without any plugins but iam not sure about validation and browser compatibility, you also could use javascript or jquery to hide the elements...


also you check this out:

URL shortener: <a href="!7AD5C7">!7AD5C7</a>

This post was edited by urlkiller (2012-03-09 07:50, 9 years ago)