Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Ashwin Iyer Friend
    #188992

    I am using Joomla Version: Joomla! 3.1.1 Stable and have an issue with trying to update the JA Quick Contact form to have additional elements for the user to fill out. I tried editing /tmpl/default.php but it doesn’t seem to change the site. Any ideas why?

    Things I have tried:
    1) Control Panel
    Extensions > Module Manager
    Filter: Select Type: JA Quick Contact
    On ‘Request Catalog’ I click ‘Edit’ and then go to the ‘Options’ tab
    -Basic Options: Use ajax sending is No
    -Advanced Options: Changed ‘Caching’ to ‘No caching’ and clicked the ‘Save’ button.

    2) Opened /modules/mod_jaquickcontact/mod_jaquickcontact.php and if the line below is commented out the form no longer displays on my page:
    [PHP]require (JModuleHelper::getLayoutPath(‘mod_jaquickcontact’)); [/PHP]

    I did this just to test if a change to /modules/mod_jaquickcontact is the right place.

    3) Modified /modules/mod_jaquickcontact/tmpl/default.php by adding a new textbox, save and upload and the form still doesn’t show the new textbox.
    <li class=”<?php echo $params->get(‘moduleclass_sfx’,”)?>wide clearfix” id=”row_phone”>
    <label id=”contact_phonemsg” class=”required” for=”contact_phone”>
     <?php echo $phone_label?>:
    </label>
    <div class=”<?php echo $params->get(‘moduleclass_sfx’,”)?>input-box”>
    <div id=”error_phone” class=”<?php echo $params->get(‘moduleclass_sfx’,”)?>jl_error”><?php if(isset($error[‘error_phone’]))echo $error[‘error_phone’] ?></div>
    <input class=”input-text” id=”contact_phone” name=”subject” value=”<?php echo @$phone?>” size=”40″/>
    </div>
    </li>

    4) I disabled javascript in my Firefox browser and refreshed page and I can’t see the new input box. I did this to see if jquery/javascript needed to have a flag set to display form elements.

    Any other suggestions?

    Thanks in advance.

    Saguaros Moderator
    #499269

    Hi

    In this JA Onepage template, we override this JA Quickcontact module in template folder so you should also make your own customization on this file: /templates/ja_onepage(your_default_template)/html/mod_jaquickcontact/default.php

    You can give it a try 🙂

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

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 11 years, 4 months ago.

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