-
AuthorPosts
-
March 2, 2018 at 11:38 am #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 openMarch 2, 2018 at 11:40 am #1094896this https://www.spiralscripts.co.uk/support/joomla-tips/modal-windows-in-joomla-3.html
doesnt work with the t3 pluginSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 5, 2018 at 2:35 am #1095191Hi,
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
March 9, 2018 at 4:55 am #1112058No, I cant give access, but the orignal code:
<?php
/**- Accept a terms of something.
- @package ARTIO Booking
- @subpackage views
- @copyright Copyright (C) 2010 ARTIO s.r.o.. All rights reserved.
- @author ARTIO s.r.o., http://www.artio.net
- @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
- @link http://www.artio.net Official website
*/
defined(‘_JEXEC’) or die(‘Restricted access’);
$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-bs3jsMarch 9, 2018 at 4:56 am #1112059No, I cant give access, but the orignal code:
quote here
<?php
/**- Accept a terms of something.
- @package ARTIO Booking
- @subpackage views
- @copyright Copyright (C) 2010 ARTIO s.r.o.. All rights reserved.
- @author ARTIO s.r.o., http://www.artio.net
- @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
- @link http://www.artio.net Official website
*/
defined(‘_JEXEC’) or die(‘Restricted access’);
$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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 12, 2018 at 7:51 am #1112195This reply has been marked as private.March 14, 2018 at 1:35 pm #1112364But this officail Joomla Code.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 15, 2018 at 6:29 am #1112419The 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.
March 16, 2018 at 3:52 am #1112475i 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.htmlSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 17, 2018 at 2:24 am #1112521Let me check if I can replicate it.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 19, 2018 at 9:30 am #1112588Hi,
May I know which file you’re trying to edit in template?
March 19, 2018 at 3:02 pm #1112614that was a third party ovveride template, but i have alway tested in a normal content template
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 20, 2018 at 7:31 am #1112635Hi,
You should contact the provider of that 3rd party extension for this override first as it’s not our product.
March 21, 2018 at 4:37 am #1112680i said its official joomla standard code!
-
AuthorPosts
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