Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

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

urlkiller
#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:

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

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: http://www.cotonti.com/forums?m=posts&q=6758

URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>

Dit bericht is bewerkt door urlkiller (2012-03-09 07:50, 9 jaren ago)