Keyword

How to use a different frontend editor?

  • Chris Vrakotas
  • Chris Vrakotas's Avatar Topic Author
  • Offline
  • New Member
More
7 years 5 hours ago #161618 by Chris Vrakotas
How to use a different frontend editor? was created by Chris Vrakotas
Hi,

I'm designing a site, where in the frontend registered users will create K2 items.
I want to modify the frontend page. The file is ../components/com_k2/templates/default/itemform.php
JCE editor is embodied in this file, normal, because I use it in Joomla.
But, I want registered users to use a simpler editor than JCE.
Is it possible to use another editor? How can I do it?

Thanks
Chris

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #161632 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to use a different frontend editor?
Hello Chris,

You can use a different profile for JCE.
www.joomlacontenteditor.net/support/documentation/100-profiles/300-profiles-about

Alternatively you can change the preferred editor of each user.

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

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

  • Chris Vrakotas
  • Chris Vrakotas's Avatar Topic Author
  • Offline
  • New Member
More
6 years 11 months ago - 6 years 11 months ago #161640 by Chris Vrakotas
Replied by Chris Vrakotas on topic How to use a different frontend editor?
Hi Krikor,

Thanks a lot for the answer, I tried and It worked!!

I believe you've understood that I want a very simple UI, for the user, so I have 2 more questions
1. If I remove "Title alias (URL)" field, will it be ok? I know aliases are very important for Joomla, that's why I'm not sure.
2. After toggle right sidebar, I only want the circled fields about publishing dates to be visible (see attached pic imgur.com/AScaIJX ). How I remove the rest?

Thanks
Chris
Last edit: 6 years 11 months ago by Chris Vrakotas.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #161646 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to use a different frontend editor?
1, Don't remove it. You risk breaking the functionality.
You can also use CSS in order to hide it.

2. You can override the itemform.php , take a look at the fields -> github.com/getk2/k2/blob/master/components/com_k2/templates/default/itemform.php#L842-L865
You can basically hide the not-needed ones.

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

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

  • Chris Vrakotas
  • Chris Vrakotas's Avatar Topic Author
  • Offline
  • New Member
More
6 years 11 months ago #161649 by Chris Vrakotas
Replied by Chris Vrakotas on topic How to use a different frontend editor?
Hi Krikor,
Regarding alias field I added
.alias {
display: none;
}

at template's custom css file (Gantry/Helium) but it's not working.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #161702 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to use a different frontend editor?
#alias is the correct value.
Also use clip: rect(0,0,0,0) and position: absolute instead of display: none.

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

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

More
6 years 11 months ago #161721 by Chris
Replied by Chris on topic How to use a different frontend editor?
Hi Krikor,

I added
#alias {
clip: rect(0,0,0,0);
position: absolute;
}

but its not working.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #161724 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to use a different frontend editor?
Can you send me a screenshot of your markup?

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

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

More
6 years 11 months ago #161730 by Chris
Replied by Chris on topic How to use a different frontend editor?
Hi Krikor,

Attached you'll find page's html via Firebug
imgur.com/a/DG63T

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 11 months ago #161733 by Krikor Boghossian
Replied by Krikor Boghossian on topic How to use a different frontend editor?
Can you focus on the alias field?
Love the Ψευδοστοιχείο translation :P

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