- Posts: 2
COMMUNITY FORUM
Frontend Article Submission Image Upload
- Harun
- Topic Author
- Offline
- New Member
Less
More
12 years 1 month ago #102626
by Harun
Frontend Article Submission Image Upload was created by Harun
Hi Everyone,
I am wondering if it is possible to restrict users from accessing the server folders when they want to upload an image with the article.
That is, I want to know if there is a way to remove the BROWSE SERVER option. The CHOOSE FILE option is only one that I need.
I hope I explained my problem clearly.
Thanks
I am wondering if it is possible to restrict users from accessing the server folders when they want to upload an image with the article.
That is, I want to know if there is a way to remove the BROWSE SERVER option. The CHOOSE FILE option is only one that I need.
I hope I explained my problem clearly.
Thanks
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 1 month ago #102627
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Frontend Article Submission Image Upload
Hi. There is no option for that. You can however hide it using CSS.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Harun
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
12 years 1 month ago #102628
by Harun
Replied by Harun on topic Re: Frontend Article Submission Image Upload
Lefteris Kavadas, thank You for Your suggestion.
I solved my problem by editing the " itemform.php " file in " components\com_k2\templates\default " folder.
Just deleted few lines :
<input type="text" name="existingImage" id="existingImageValue" class="text_area" readonly />
<input type="button" value="<?php echo JText::_('K2_BROWSE_SERVER'); ?>" id="k2ImageBrowseServer" />
I solved my problem by editing the " itemform.php " file in " components\com_k2\templates\default " folder.
Just deleted few lines :
<input type="text" name="existingImage" id="existingImageValue" class="text_area" readonly />
<input type="button" value="<?php echo JText::_('K2_BROWSE_SERVER'); ?>" id="k2ImageBrowseServer" />
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 1 month ago #102629
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Frontend Article Submission Image Upload
Try to place the modified file into /templates/your_template/html/com_k2/default/itemform.php . This way you will not lose your changes when we release an update.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.