Shape 5

Joomla Templates => Lime Light - Club => : PAdvantage November 28, 2013, 03:48:45 AM



: How to remove Articles' publishing, metadata and language options
: PAdvantage November 28, 2013, 03:48:45 AM
Hi! I want a registered user to see only the Editor tab when adding/modifying an article, removing the other tabs (publishing, metadata, language etc). I read that I could do that by adding this to my template.css

form#adminForm fieldset:nth-of-type(1n+2) {
     display:none}

The problem is that it has no effect. Replacing 1n+2 with anything else makes the whole editor dissapear, leaving me with only two buttons (save and quit). Can you please tell me what and where to add? Thank you!


: Re: How to remove Articles' publishing, metadata and language options
: PAdvantage November 29, 2013, 01:21:10 AM
And I have another question but I don't want to start a new topic. It seems that the header image (top_bg.jpg) always keeps the same size no matter what - it stretches across the monitors' width. And that is perfect, but I've noticed that this works only for devices with more that 1200px in width. I want to know can I keep the header adjusting itself to lower resolutions (for a CRT monitor with 1024x768 or a tablet with 800x600) because at the moment it just crops the image.
Thank you in advance!


: Re: How to remove Articles' publishing, metadata and language options
: mikenicoll November 29, 2013, 06:17:19 PM
Hello,

1) I think this was only possible in the older versions of Joomla. In the newer versions all the tabs look to be sharing the same class. I would suggest creating a specific user group for important articles that you don't want touched and have your default editor group for articles that aren't as important. There also might be some 3rd party extension on extensions.joomla.org that provides this functionality.

2) If you remove the following from the s5_responsive.css it should provide this behaviour

@media screen and (max-width: 1200px) {
  #s5_body_padding { background-size: auto auto ! important; }


-Mike


: Re: How to remove Articles' publishing, metadata and language options
: PAdvantage December 02, 2013, 02:28:50 AM
Thank you for your answer, it did work!
I had to remove
        #s5_body_padding {background-size:auto !important;}
from @media screen and (max-width: 1200px) and @media screen and (max-width: 1050px).


: Re: How to remove Articles' publishing, metadata and language options
: mikenicoll December 02, 2013, 02:42:58 AM
NP :)

-Mike