Code: Select all
img {
border: 0 none;
height: auto;
max-width: 100%;
vertical-align: middle;
}
Moderator: Tata
Code: Select all
img {
border: 0 none;
height: auto;
max-width: 100%;
vertical-align: middle;
}
Code: Select all
.center{position:relative;margin-left:auto;margin-right:auto;float:none!important}
Remove the code in ...\templates\fhs-simple\grid.min.css
Code: Select all
<a class="modal" href="?Plugins/roto01">Vivamus</a>
As I understand it, you can either use an <a class="modal" href="#" title="…"> element, or use a modal_tooltip() plugin call to show the contents of another page.Tata wrote: ↑Fri Jun 01, 2018 3:17 pmStill can't the Modal Box get to work. Tooltip works fine. The modal opens defined page as normally called page instead of loading it into a modal box.
Teste both with 1.7.1 and 1.7.2.
http://plugins_171.cmsimple.sk/?Plugins/plugins-by-Jerry/tooltipCode: Select all
<a class="modal" href="?Plugins/roto01">Vivamus</a>
Code: Select all
laoreet rutrum faucibus dolor auctor. {{{modal_tooltip("Landingpage","Landingpage","");}}}Lorem ipsum dolor sit amet,
Search in admin.php for the following line:
Code: Select all
$msg=evaluate_plugincall($c[$i]);
Code: Select all
...
function tooltip_get_page($page, $show_title) {
global $c, $h, $cl, $cf;
$msg="";
for ($i=0; $i<$cl; $i++) {
if (trim($h[$i])==trim($page)) {
$msg=$c[$i];
if (!stristr($show_title,"true")) {
$msg=preg_replace("/.*<\/h[1-".$cf['menu']['levels']."]>/is", "", $c[$i]); //remove page// title
}
//$msg=preg_replace('/#.*CMSimple.*#/i','',$msg);
$msg = evaluate_plugincall($msg, TRUE); // call {{{PLUIN:..}}} scripts
$i=$cl;
}
}
$msg=preg_replace("/[\n\r]/","",$msg);
return addslashes($msg);
}
...
Code: Select all
//$msg=preg_replace('/#.*CMSimple.*#/i','',$msg);
That is what I actually meant.