yes its a joomla question and im sorry to annoy but asking on the joomla forum takes forever or gets ignored.
Im really trying to find where i can modify the iframe modal box to be larger than the default.
When you go into article edit mode and choose to insert an intro image or full article image theres a select input field button. When select is clicked it opens a modal window that is quite small. I wanted to apply a full screen modal to it or at least make it 960x600px as opposed to 800x500px
But the thing is that the select button is generated by an xml file with fields in it.
The xml must be calling a function somewhere that generates the html for that button based on type=media inside the xml file but i cant seem to find where that function or code snippet is.
I just want the modal for selecting an image to be larger, it seems crazy not to make such a thing bigger instead of having horizontal and vertical scroll bars.
the file im referring to in joomla 2.5 for the xml fields:
line 540 and 572 ( Thats the two instances of intro image and full image )
administrator/components/com_content/models/forms/article.xml
That is the file where the image intro and full article image select fields are located.
then this file generates the output of them:
line 203 ( It does a foreach loop to grab the xml fields )
administrator/components/com_content/views/article/tmpl/edit.php
But i cant for the life of me figure out where this part in the html output on the article edit mode in the joomla admin is generated:
<div class="button2-left">
<div class="blank">
<a class="modal" title="Select" href="index.php?option=com_media&view=images&tmpl=component&asset=34&author=&fieldid=jform_images_image_intro&folder=news" rel="{handler: 'iframe', size: {x: 800, y: 500}}"> Select</a>
</div>
</div>
Thanks in advance john