test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • timmieboy Friend
    #199777

    Hello.

    I have tried to change the style for the upload button on the applytojob page but I can’t get it to work. If I change the style it no longer shows a popup for uploading a file. Any one an idea what to do?

    Thanks


    1. buuton-upload
    Thanh Nguyen Viet Friend
    #542962

    Hello,

    Please ensure that the new button has these properties, since they are required to open a modal box to upload file

    class="modal" rel="{handler: 'iframe', size: {x: 650, y: 225}}"

    you can add more class to style your button, but you can not remove modal class.

    timmieboy Friend
    #546047

    OK, but I do not want a new button, the link to upload just has to be next to the field instead of floating around. The code you mention is already in the file.

    Thanh Nguyen Viet Friend
    #546330

    Hello,

    This issue occured because the modal class that used for button to open modal popup is overried in bootstrap library (that is implemented in new Joomla version and our T3 framework), so to resolve this issue, I have edited file below on your site:
    components/com_jajobboard/views/jajobs/tmpl/applytojob.php

    To add this line into it:
    <blockquote>JHtml::_(‘behavior.modal’, ‘.modal2’);</blockquote>

    And find the code:

    class="modal"

    And replace it with:
    <blockquote> class=”modal2″</blockquote>

    Now, you can style for Upload button by define .modal2 css class on your css file

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Thanh Nguyen Viet 10 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum