Use Media Manager as filepicker in component - joomla

I'm developing a component in Joomla 1.6, is a Document Manager and I have all the funcionality, but now I want to include the Media Manager as File Picker.
In Joomla 1.6 Media Manager is prepared to be use like a Image Picker (as we can see in the Article Manager where you can select a Image for the content), but I want to know if it's possible to reproduce the same action with all filetypes without modifying the Media Component.
I know how to use the media manager as Image Picker in my component. In fact I answered to this question.
use joomla com_media image selection in my custom component
Can someone help me? :)
Byes

Ok, after the study of the component i got the fact that is not an easy question.
How can we use another filetypes?
/administrator/components/com_media/models/list.php
on line 116 exists a switch which works as a filter
If we want to add a new functionality (with a button)...
Where can we add the button?
/administrator/components/com_media/views/images/tmpl/default.php
Where can we add the javascript functionality?
/media/media/js/popup-imagemanager.js
Doing that we have some problems
1) we need to hardcode in every joomla.
2) I'm not sure, but the changes might be delete after a Joomla Updated.
Another chance is make a fork of the media component with theses changes ready to install.
Byes
Thanks to the tumbleweed badget to encourage me to write the response.

Related

Joomla - Remove product image zoom function

I am relatively new here but am looking forward to the support and knowledge i can gain here.
I have recently taken over a Joomla site that has a custom shopping cart which as far as i can tell is called dnaCatalog. I have tried to Google it but came up nothing but the actual dna workings of Joomla and other such things.
What i would like to achieve is to remove the image zoom from the product images in the shopping cart. I have searched the admin back-end through the plugins and modules but cant find any reference to any form of image zoom so I am guessing its hardcoded into the theme or catalog.
I currently have the site on a testing server here... http://geekdimm.com/ragland-current.
I have just updated it to the current version of Joomla 3.6.5
Your help would be greatly appreciated.
Many Thanks in advance.
The zoom function is coded as a JQuery add on, you will find it at templates/quasar/js/jquery.loupe.min.js. The optimal way to solve this is to find the calls to the script above and remove them (be careful what you remove, you should know what you doing when editing the core files).
Alternatively look for the class called loupe which are associated to your images, this gives your images the zoom functionality.
The easiest (but dirtiest) way to solve this is to go to your templates css file
templates/quasar/css/template.css and on line 7127 add the CSS display:none!important;

How to add RichText editor to a page as component in HippoCMS?

I'm creating some project using HippoCMS 10 and I need to add RichText editor as part of the page, so that customer can use it and fill something there. This editor must act exactly the same way as in Document Editor (customer can click Image button in toolbar and select image from ImagePicker dialog box).
Can't find anything about it in HippoCMS official documentation. I learned how to create custom plugins and how to integrate CKEditor into page separately, but for image picking, I need default behaviour as in Hippo.
How can I achieve this? Any help will be appreciated!
I think your question was answered on the community group. The answer there was:
"it should be quite easy to have a CKEditor in the website.
However, it doesn't really make sense to me to have site visitors able to pick CMS documents and images from the site. The picker dialogs are designed to work inside the CMS only. You should be able to create your own picker dialog that can read from a REST service that exposes the images/documents.
I don't think it will be possible to reuse the CMS picker dialog in the site."
and
"your use case is fine, when I said "it doesn't really make sense", I was really referring to the technical limitations of the pickers. You should be able to achieve what you want with a custom dialog that plugs into a REST service though. Unfortunately there is no quick solution for this that I can think of."
Just adding this for future reference.

Managing images in Media Manager on Joomla 2.5

I am new in Joomla environment and I have a question regarding Media Manager. I uploaded some images on the Media Manager and I successfully put it on my LightBox Plugin. However, I need to set the Order of each images on Media Manager. Is that even possible? or do I need to use other modules for that? please help me.
Right now I can only upload them, but I can't order how they appear in the gallery. How can we accomplish this?
You can't order the images using the Media Manager as it simply allows you to upload images. There might be an option with the lightbox extension you're using to order the images. If not, try using another extension such as the Yootheme Wigetkit. It's a component that comes with a Lightbox and allows you to upload and order the images

How to Display Dynamic Content below every article?

I am a new developer to Joomla. I am developing a website in which users will be able to write review for the articles. So, here I need to display a review form below every article. How can I achieve this? I have seen some extensions like custom properties which will place content below every article.
I think the best approach is to use an extension that was specifically built for reviews.
There are multiple options available in the Joomla Extensions Directory.
I found out the solution. What I needed was a plugin to display content after every article.

How can i integrate joomla media selector into a custom component

I'm writing a custom component for joomla 1.5 and i been searching for a way to integrate
com_media image selector into it.
All i want, is to have a functionality like, the image selection in the create article page.
Anyone knows how to do this?
Is there an API in joomla to do this, or do i have to see how is done in com_content an start
form there?
You can use a select box with image preview like the one used for the Sections and Categories thumbnails. This is much easier to integrate though images must come from single directory.
See the com_sections and com_content files in you Joomla Administrators components directory.
Also try posting this in the Joomla Forums.

Resources