- Posts: 60
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- how to remove / hide upload video tab from fontend editors
how to remove / hide upload video tab from fontend editors
- scyllar
-
Topic Author
- Offline
- Senior Member
Please Log in or Create an account to join the conversation.
- Kathy Lombard
-
- Offline
- New Member
- Posts: 5
Please Log in or Create an account to join the conversation.
- scyllar
-
Topic Author
- Offline
- Senior Member
- Posts: 60
does anyone have any clue for all my questions?
Please Log in or Create an account to join the conversation.
- sigpro_firsttry
-
- Offline
- Junior Member
- Posts: 37
Is there any chance to use another form generator to submit an item to K2?
Thanks to all!
Please Log in or Create an account to join the conversation.
- badrun badranaya
-
- Offline
- New Member
- Posts: 17
Locate the file used for frontend editing
YourSite\components\com_k2\views\item\tmpl\form.php
find the code, then remove or just add comment to the tags which you do not want to be appear..
For your question #4, I think you can go to Global Configuration > Default WYSIWYG Editor, you can change it to No Editor...
I'm so looking for the way how to hide Button Image on the WYSWYG editor, because user may open anything in our Joomla! Images folder...
Please Log in or Create an account to join the conversation.
- badrun badranaya
-
- Offline
- New Member
- Posts: 17
I answer my own question. I found the answer, just go to Plugins Manager > Editor Button - Image and set the access level to Special. It dissallow my registered member to access the button from frontend editing.
Please Log in or Create an account to join the conversation.
- Christian Matthieas
-
- Offline
- Premium Member
- Posts: 80
Please Log in or Create an account to join the conversation.
- Christian Matthieas
-
- Offline
- Premium Member
- Posts: 80
I included the changes in a word docx.
Please Log in or Create an account to join the conversation.
- badrun badranaya
-
- Offline
- New Member
- Posts: 17
Hi Christian, use PHP comment to exclude some code
[edited. I can't post sample code here]
Please Log in or Create an account to join the conversation.
- Christian Matthieas
-
- Offline
- Premium Member
- Posts: 80
badrun badranaya said:Christian Matthieas said:Badrun how do you do this? I am trying to do what you say but I am not finding the right thing to "comment out" it is weird it is like the commenting out won't work. I do the // the /* */ nada
Hi Christian, use PHP comment to exclude some code[edited. I can't post sample code here]
Please Log in or Create an account to join the conversation.
- badrun badranaya
-
- Offline
- New Member
- Posts: 17
after use it, you can do the same to your video tab
Please Log in or Create an account to join the conversation.
- Christian Matthieas
-
- Offline
- Premium Member
- Posts: 80
As well, just to ask you because I am running into this problem and you seem to now what the hell you're doing.
there is a link on the bottom of the video and image tabs that tells you to check here if you want to delete the video... the problem is in the backend it works but in the frontend it is not showing... just a link on the wording. do you notice this error?
last thing... there is an error that when you save the page and don't hit cancel and then hit the toggle again it refreshes the page and poof sends the frontend enditor into crazy mode and shows the page and nothing else and you have to hit refresh to get out of it....
oh, one more thing. I read somewher that there is metadata that is commented out but people said they want to use it... do you know what line that stuff is on as I can't find it.
thanks for your help
ahahahaahahah I sucked you in.
Please Log in or Create an account to join the conversation.
- Paul
-
- Offline
- Senior Member
- Posts: 58
Paul
Christian Matthieas said:
that is the code I used... glad to know it is the right one... i got rid of the browse server for the video and left the remote url stuff... then I got rid of the upload tab for video and then I got rid of the browse server for photo's. i want to put a warning there photo's should be less than a meg for upload... shoot what do people think i am... Picasa. lol As well, just to ask you because I am running into this problem and you seem to now what the hell you're doing. there is a link on the bottom of the video and image tabs that tells you to check here if you want to delete the video... the problem is in the backend it works but in the frontend it is not showing... just a link on the wording. do you notice this error? last thing... there is an error that when you save the page and don't hit cancel and then hit the toggle again it refreshes the page and poof sends the frontend enditor into crazy mode and shows the page and nothing else and you have to hit refresh to get out of it.... oh, one more thing. I read somewher that there is metadata that is commented out but people said they want to use it... do you know what line that stuff is on as I can't find it. thanks for your help ahahahaahahah I sucked you in.
Please Log in or Create an account to join the conversation.
- chirisb13
-
- Offline
- New Member
- Posts: 3
Sorry for my bad english..
My problem..
when hide the code or delete the code... when entering the tags no longer working properly. have any idea?
Thanks for you time!Greetings!
badrun badranaya said:
Here I attach sample comment to hide "Browse server..." on image tab.
after use it, you can do the same to your video tab
Please Log in or Create an account to join the conversation.
- Thailande Tourisme
-
- Offline
- New Member
- Posts: 7
When i comment the code, i cant use the tags anymore !!
Do you find solution already ?
Thank you
Please Log in or Create an account to join the conversation.
- Thailande Tourisme
-
- Offline
- New Member
- Posts: 7
Thanks for the solution, ill try that today ! :)
Does it works propely with almost of browers ?
Thanks to share solution here !
Please Log in or Create an account to join the conversation.
- johanna
-
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- how to remove / hide upload video tab from fontend editors