test
Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • caw Friend
    #1094895

    ReferenceError: deprecated caller usage[Weitere Informationen] script.js:113:1 (from t3 plugin)
    this the javsscript error when i click on a modal link. and the popup doesnt open

    caw Friend
    #1094896
    Saguaros Moderator
    #1095191

    Hi,

    Could you share the credentials of your site: URL, Admin + FTP account? and tell me the part you implemented this modal, I will take a look.

    Regards

    caw Friend
    #1112058

    No, I cant give access, but the orignal code:
    <?php
    /**

    $config = AFactory::getConfig();
    $term = $config->{$this->term};

    if (ISJ3) {
    JHtml::_(‘bootstrap.framework’);
    ?>

    <input type="checkbox" name="accept_term ?>” id=”accept_term ?>” value=”1″>

    <a data-toggle="modal" data-target="#term ?>” href=”#term ?>”>title; ?>

    <?php
    echo JHtml::_('bootstrap.renderModal', $this->term, array('title' => $term->title, 'footer' => '<button type="button" class="btn btn-default" data-dismiss="modal">' . JText::_('JLIB_HTML_BEHAVIOR_CLOSE') . '</button>'), $term->text);

    } else {
    ?>

    <input type="checkbox" name="accept_term ?>” id=”accept_term ?>” value=”1″>

    <a class="modal" href="#term ?>”>title; ?>

    <div style="display: none">
        <div id="<?php echo $this->term ?>">
            <h2><?php echo $term->title; ?></h2>
            <?php echo $term->text; ?>
        </div>
    </div>
    <?php

    }

    This works with all templates without t3 framework. Because of the javascript script.js in bootstrap folder
    pluginssystemt3base-bs3js

    caw Friend
    #1112059

    No, I cant give access, but the orignal code:

    quote here
    <?php
    /**

    $config = AFactory::getConfig();
    $term = $config->{$this->term};

    if (ISJ3) {
    JHtml::_(‘bootstrap.framework’);
    ?>

    <input type="checkbox" name="accept_term ?>” id=”accept_term ?>” value=”1″>

    <a data-toggle="modal" data-target="#term ?>” href=”#term ?>”>title; ?>

    <?php
    echo JHtml::_('bootstrap.renderModal', $this->term, array('title' => $term->title, 'footer' => '<button type="button" class="btn btn-default" data-dismiss="modal">' . JText::_('JLIB_HTML_BEHAVIOR_CLOSE') . '</button>'), $term->text);

    } else {
    ?>

    <input type="checkbox" name="accept_term ?>” id=”accept_term ?>” value=”1″>

    <a class="modal" href="#term ?>”>title; ?>

    <div style="display: none">
        <div id="<?php echo $this->term ?>">
            <h2><?php echo $term->title; ?></h2>
            <?php echo $term->text; ?>
        </div>
    </div>
    <?php

    }

    code text here

    This works with all templates without t3 framework. Because of the javascript script.js in bootstrap folder
    pluginssystemt3base-bs3js> >

    Saguaros Moderator
    #1112195
    This reply has been marked as private.
    caw Friend
    #1112364

    But this officail Joomla Code.

    Saguaros Moderator
    #1112419

    The reference you provided above is from a 3rd party, not official Joomla site.

    Let me know the details: which file you add, how you add that code so I can replicate. And share me the reference of Joomla site which recommends this.

    caw Friend
    #1112475

    i have seen it on joomla doc, but cant find it now.
    here is sample: https://www.spiralscripts.co.uk/support/joomla-tips/modal-windows-in-joomla-3.html

    Saguaros Moderator
    #1112521

    Let me check if I can replicate it.

    Saguaros Moderator
    #1112588

    Hi,

    May I know which file you’re trying to edit in template?

    caw Friend
    #1112614

    that was a third party ovveride template, but i have alway tested in a normal content template

    Saguaros Moderator
    #1112635

    Hi,

    You should contact the provider of that 3rd party extension for this override first as it’s not our product.

    caw Friend
    #1112680

    i said its official joomla standard code!

    caw Friend
    #1112681

    your are responsible for this error in yoour t3 plugin

Viewing 15 posts - 1 through 15 (of 18 total)

This topic contains 17 replies, has 2 voices, and was last updated by  caw 6 years, 9 months ago.

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