Very nice plugin. Does it work in a safari browser on ipad (cookie will not automatically expire?).
/jop
[NEW PLUGIN] jm_landingpage
Moderator: Tata
Re: [NEW PLUGIN] jm_landingpage
Are you referring to the problems described on http://wearebase.com/cookies-ios7/? If so: the cookies will be invalidated as soon as the browser is closed. See http://cmsimpleforum.com/viewtopic.php? ... 347#p45596 for a way to specify an expiration date.jop wrote:Does it work in a safari browser on ipad (cookie will not automatically expire?).
Christoph M. Becker – Plugins for CMSimple_XH
Re: [NEW PLUGIN] jm_landingpage
Nach solch einer Art von Plugin habe ich schon etwas länger gesucht.
Ist es eigentlich möglich, dieses auf einen User hin zugeschnitten, aufzurufen?
Mein Wunsch: Ein User meldet sich über Memberpages an und dann erscheint die Nachricht in landingpage (also in dem Fenster) nur für ihn. Andere angemeldete User bekommen nichts davon mit.
Ist es eigentlich möglich, dieses auf einen User hin zugeschnitten, aufzurufen?
Mein Wunsch: Ein User meldet sich über Memberpages an und dann erscheint die Nachricht in landingpage (also in dem Fenster) nur für ihn. Andere angemeldete User bekommen nichts davon mit.
Re: [NEW PLUGIN] jm_landingpage
Das sehr ähnliche Plugin Message_XH gibt es schon eine ganze Weile.mhz wrote:Nach solch einer Art von Plugin habe ich schon etwas länger gesucht.
Das wäre wohl eher ein Feature-Request für Memberpages; jm_landingpage könnte man jedenfalls nicht ohne weiteres nutzen -- allerdings eben die Idee eine Nachricht nicht direkt oberhalb des Content-Bereichs, sondern als "Popup" darzustellen. Ich weiß nicht, ob svasti hier mitliest -- im Zweifel poste es vielleicht besser im Memberpages 3.5 beta Thread.mhz wrote:Mein Wunsch: Ein User meldet sich über Memberpages an und dann erscheint die Nachricht in landingpage (also in dem Fenster) nur für ihn. Andere angemeldete User bekommen nichts davon mit.
Christoph M. Becker – Plugins for CMSimple_XH
Re: [NEW PLUGIN] jm_landingpage
Das Plugin Messages_XH kenne ich auch, aber das hier und so einfach in der Handhabung und als eine Art Popup ... das suchte ich.
Re: [NEW PLUGIN] jm_landingpage
An option in a plugin setting, where you could temporarily disable the plugin would be nice.
A "do not publish" the page or even deleting the "Landingpage" page is still a blank window with the close button.
Currently just remains alternative comment out of the plugin call in the template or disabling the plugin under CMS > Plugins > Disabled: jm_landingpage
A "do not publish" the page or even deleting the "Landingpage" page is still a blank window with the close button.
Currently just remains alternative comment out of the plugin call in the template or disabling the plugin under CMS > Plugins > Disabled: jm_landingpage
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: [NEW PLUGIN] jm_landingpage
Hmm l'll try Update it with A on/OFF optionLudwig wrote:An option in a plugin setting, where you could temporarily disable the plugin would be nice.
A "do not publish" the page or even deleting the "Landingpage" page is still a blank window with the close button.
Currently just remains alternative comment out of the plugin call in the template or disabling the plugin under CMS > Plugins > Disabled: jm_landingpage
Re: [NEW PLUGIN] jm_landingpage
I just have implemented the plugin on one website and made small modification (index.php and language files) and added new config/config.php to the plugin.
Now:
1. The admin may specify which page shall be used for the Pop-Up.
2. The page won't pop-up if its content is empty.index.phplanguage file
Now:
1. The admin may specify which page shall be used for the Pop-Up.
2. The page won't pop-up if its content is empty.index.php
Code: Select all
<?php
//*** mod by tata
// utf8-marker: äöüß
if (!defined('CMSIMPLE_XH_VERSION')) {
header('HTTP/1.0 403 Forbidden');
exit;
}
function jm_landingpage() {
global $hjs, $pth, $plugin_cf, $plugin_tx;
$pcf = $plugin_cf['jm_landingpage']['name']; //*** added config variable
$ptx = $plugin_tx['jm_landingpage'];
//*** test if the page has any content excl. heading
$test = strip_tags(newsbox($plugin_cf['jm_landingpage']['name']));
$test = str_replace(array(" ", "\r","\n", " "), '', $test);
//*** if there is any content, show the page content in newsbox
if(strlen($test) > 0){
$o = ' <script src="'.$pth['folder']['plugins'].'jm_landingpage/jm_landingpage.js"></script>
<div id="page-space"></div>
<div id="page-consent">
<div id="page-inner">
<div id="page-text">'.newsbox($plugin_cf['jm_landingpage']['name']).' </div>
<button id="accept1">'.$ptx['button'].'</button>
</div>
</div>';
return $o;
}else{
//*** if the page is empty, hide the newsbox
$o = '';
}
}
?>
Code: Select all
<?php
$plugin_tx['jm_landingpage']['button']="[ CLOSE ]";
$plugin_tx['jm_landingpage']['cf_name']="The page shall be excluded from navigation.
If the publishing shall be canceled, the entire
page content shall be deleted
(from the heading end forward).";
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.