Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Solution for problem with royal theme and advanced iframe
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3833
Page 1 of 1

Author:  TinyWebGallery [ 2. Apr 2015, 20:22 ]
Post subject:  Solution for problem with royal theme and advanced iframe

Hi,

Till version 6.3.3 there was a problem with advance iframe and the royal theme.
They both used the same variable for the options.

To fix this use at least 6.3.4 of advanced iframe or advanced iframe pro or

open advanced-iframe.php

Search for
$options = $cons_advancediFrame->getAdminOptions();
if (!empty($options['alternative_shortcode'])) {
add_shortcode($options['alternative_shortcode'], array($cons_advancediFrame, 'do_iframe_script'), 1); // setup shortcode alternative style
}

and replace this with

$aioptions = $cons_advancediFrame->getAdminOptions();
if (!empty($aioptions['alternative_shortcode'])) {
add_shortcode($aioptions['alternative_shortcode'], array($cons_advancediFrame, 'do_iframe_script'), 1); // setup shortcode alternative style
}

Have fun with advanced iframe and the royal theme,
Michael

Author:  richardmlldk [ 9. Aug 2017, 04:38 ]
Post subject:  Solution for problem with royal theme and advanced iframe

sorry i can not edit.

most to see this problem is in the Options -> Rendering mode -> Advanced

Author:  TinyWebGallery [ 9. Aug 2017, 10:55 ]
Post subject:  Re: Solution for problem with royal theme and advanced ifram

I don't know what you mean.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/