Keyword

Simplifying front-end editor form

More
10 years 9 months ago #122677 by ross
Simplifying front-end editor form was created by ross
Hi!

My goal is to allow users post items that contain only text. So I want to remove all unnecessary tabs in front-end editor - like categories, images and so on.
For most of this additional options I can just comment the relevant code in itemform.php file (or using css and "display:none")
But I can't get rid of some important options, like title or category.
Can someone help me with this?

(my thought is to state in itemform.php that title will always be "X" and category always be "Y" and use CSS to hide this options from users. My coding skills are really poor so sorry if my thought are idiotic)

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
10 years 9 months ago #122678 by olsen
Replied by olsen on topic Re: Simplifying front-end editor form
There are already options to hide frontend editor tabs in the K2 options. Check the frontend options tab and hide the tabs you dont want display.

Other fields must be hidden trouch the template file as you mention.

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #122679 by ross
Replied by ross on topic Re: Simplifying front-end editor form
Can someone tell me what should I write in itemform.php to set "title" to some default value "X" and set "category" to the only available category "y"? After that I will hide this from user using CSS

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122680 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Simplifying front-end editor form

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum