Hide content class panel for all users

82 views
Skip to first unread message

Tiffany

unread,
Nov 18, 2011, 4:45:14 PM11/18/11
to RedDot CMS Users
Anyone know how I can hide the content class and clipboard panel in
v10? I don't want to hide all panels because the editors need the
search and asset manager.

Thanks!

jonathan nichols

unread,
Jun 28, 2012, 11:42:40 AM6/28/12
to reddot-c...@googlegroups.com
I'd like to be able to do this too

Markus Giesen

unread,
Jun 29, 2012, 1:46:37 AM6/29/12
to reddot-c...@googlegroups.com
I would assume CSS is the way to go here?

Joel Kinzel

unread,
Jun 29, 2012, 10:40:18 AM6/29/12
to reddot-c...@googlegroups.com
There is no way to do this. It is hide them all, or none unfortunately. And the new option in the General settings of the project doesn't just default them to hidden, it actually removes them all together. No idea what OT was thinking there. 

Joel Kinzel

unread,
Jun 29, 2012, 10:43:29 AM6/29/12
to reddot-c...@googlegroups.com
Mark, can you drop a custom CSS or JavaScript files into the CMS files to be included in the interface code? If so, can you explain briefly how to do so?

Gavin Cope

unread,
Jul 1, 2012, 6:51:29 AM7/1/12
to reddot-c...@googlegroups.com
Insert some JavaScript in your Content Class to target the relevant frame and hide the element by using GetElementById?

Cheers,

Gavin

--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/I0EoVm5E5MQJ.

To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.

Jian Huang

unread,
Jul 2, 2012, 3:09:38 PM7/2/12
to reddot-c...@googlegroups.com
Something that looks exactly like

<script>
var ParentFrame = parent.document;
$(ParentFrame).find(".RD_ContentClasses").hide();
</script>

if you are using JQuery.


On Sunday, July 1, 2012 6:51:29 AM UTC-4, HiRAEdd wrote:
Insert some JavaScript in your Content Class to target the relevant frame and hide the element by using GetElementById?

Cheers,

Gavin

On 30 June 2012 00:43, Joel Kinzel <joelk...@gmail.com> wrote:
Mark, can you drop a custom CSS or JavaScript files into the CMS files to be included in the interface code? If so, can you explain briefly how to do so?

On Friday, June 29, 2012 12:46:37 AM UTC-5, Markus Giesen wrote:
I would assume CSS is the way to go here?

On Saturday, November 19, 2011 8:45:14 AM UTC+11, Tiffany wrote:
Anyone know how I can hide the content class and clipboard panel in
v10? I don't want to hide all panels because the editors need the
search and asset manager.

Thanks!

--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/I0EoVm5E5MQJ.

To post to this group, send email to reddot-cms-users@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-users+unsubscribe@googlegroups.com.

Marc Grynberg

unread,
Oct 15, 2012, 6:26:52 PM10/15/12
to reddot-c...@googlegroups.com
Hi Tiffany,
Did you end up finding a solution to this?
I'm in the exact same scenario...
I'm debating touching the core styles from the application, but if there's a way to do this from the templates I'd prefer...
Thanks
Marc

Jian Huang

unread,
Oct 16, 2012, 9:09:14 AM10/16/12
to reddot-c...@googlegroups.com
Marc,

The solution is already provided in form of Jquery/Javascript.  You can have that part of your foundation template, just wrap that in SmartEdit blockmark so it only runs in SmartEdit mode.

Marc Grynberg

unread,
Oct 16, 2012, 11:50:35 AM10/16/12
to reddot-c...@googlegroups.com
Thanks Jian, I saw your solution, I'm just wondering if there's another way...
95% of my projects don't use jQuery, and in the couple that do I'm still struggling with conficts with the Microsoft Ajax libraries...
And honestly if there is a way to do this without having to touch-up every base template (my projects were creadted in RD5.5, back then the best practice was multiple base templates with target containers) in every project, that's what I would implement...
I know I said yesterday I'd prefer a solution I can implement from the templates, but turns out it would actually be very impractical...

I edited /cms/Webclient/App_Themes/Standard/Stylesheets/SmartPanel.css to hide #RD__ContentClasses_tab but then the remaining tabs overlap and the search tab gets hidden...
I'll fiddle with it a bit more but it seems - in my case - the css approach is easier...

Marc

Joel Kinzel

unread,
Oct 29, 2012, 10:04:37 AM10/29/12
to reddot-c...@googlegroups.com
If you're updated, there is an option "Hide Panels" under Admin Proj Settings > Project > General Settings. This will actually remove them completely though (not hide them). Not sure if that is what you're looking for.

Marc Grynberg

unread,
Oct 30, 2012, 12:08:18 PM10/30/12
to reddot-c...@googlegroups.com
Thanks Joel, but I needed to hide only the content classes panel, and keep search and clipboard panels visible...
I ended up editing /cms/Webclient/App_Themes/Standard/Stylesheets/SmartPanel.css to hide just this one...

Marc

Jian Huang

unread,
Nov 1, 2012, 9:47:37 AM11/1/12
to reddot-c...@googlegroups.com
Hi Marc,

Glad the css edit solution works for you.  I know it is non sense in this situation, but you might want to check with support whether modifying this particular file of the application would void your support warranty.

Regarding having to modify many templates, well, that may not be true, if all the pages reference the same header page, the code can be applied to just that header template.  Of course, it doesn't have to be the header, any commonly referenced page can be used.

Regard JQuery and microsoft AJAX library, do you mean the AJAX library that comes with CMS or something specific to your project?  I have not yet experience any conflicts between JQuery and the AJAX library that comes with CMS.  You don't have to use JQuery, you can convert my provided code to JavaScript.  Reason I push this solution so hard is because the solution is portable with project export and import accross multiple environments.

-Jian
Reply all
Reply to author
Forward
0 new messages