General questions about CMSimple
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Wed Nov 07, 2012 11:42 am
Hi mitch,
mitch wrote:And how to use it concretely combined with the fancy box script from above.?
That won't work. Privacy_XH was meant as an alternative to the Fancybox script. You can style the Privacy_XH message to look a lightbox. Basically something like:
Code: Select all
#privacy {position: fixed; top: 0; left: 0; width:100%; height:100%; background:white; color:black;}
The better alternative would be a fork of Privacy_XH, which is optimized for such kind of messages. Currently I have no time, but perhaps somebody else is interested.
Christoph
-
oldnema
- Posts: 265
- Joined: Wed Jan 21, 2009 5:15 pm
- Location: Czech Republic
-
Contact:
Post
by oldnema » Wed Nov 07, 2012 4:08 pm
Hi, you should try this CSS
Code: Select all
#privacy {padding: 0.5em;
position: fixed;
top: 15%;
background-color: #3f3f3f;
color: #ffffff;
width:960px;
opacity: 0.80;
-moz-opacity: 0.80;
filter: alpha(opacity=80);
text-align: center;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border: 3px solid #800000;
-moz-box-shadow: 0 0 5px 5px #888;
-webkit-box-shadow: 0 0 5px 5px#888;
box-shadow: 0 0 5px 5px #888;}
Josef
-
Tata
- Posts: 3587
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Sun Nov 11, 2012 4:32 pm
WHOA!!!
Looking forward to the final version to translate. BTW, have you tested it with an image, link, another plugin's outuput in the box?
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.
-
simpleSolutions.dk
- Posts: 155
- Joined: Thu Oct 06, 2011 7:00 am
Post
by simpleSolutions.dk » Sun Nov 11, 2012 5:33 pm
BTW, have you tested it with an image, link, another plugin's outuput in the box
I did. images and links works fine but with plugins funny thing happens. Right now you can see FormMailer forms but you can't submit forms and I can show thumbnails from Gallery collection but not full size images. I'm afraid that it will be impossible to implement all plugins, even my own.
-
Tata
- Posts: 3587
- Joined: Tue May 20, 2008 5:34 am
- Location: Slovakia
-
Contact:
Post
by Tata » Sun Nov 11, 2012 5:43 pm
simpleSolutions.dk wrote:I'm afraid that it will be impossible to implement all plugins, even my own.
No real problem. Just an idea
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.
-
mitch
- Posts: 45
- Joined: Mon Oct 03, 2011 1:56 pm
Post
by mitch » Mon Dec 03, 2012 10:51 am
Is it possible to configure the privacyXh the way that the cookie will be saved by just clicking on the continue button without activating the checkbox. I do not want this check box.....
-
cmb
- Posts: 14225
- Joined: Tue Jun 21, 2011 11:04 am
- Location: Bingen, RLP, DE
-
Contact:
Post
by cmb » Mon Dec 03, 2012 1:28 pm
Hi mitch,
currently it's not possible to do without the checkbox. Another user already has made the same request. But for the actual task of complying to the EU cookie law I consider a separate checkbox very reasonable, so a user is not able to simply click away the message without reading it.
OTOH: for the task of displaying some other message to the user a simple button is more appropriate. As is probably another plugin. I'll see...
For now you can make the following quick changes. Change plugins/privacy/index.php line 62:
Code: Select all
. tag('input type="checkbox" id="privacy_agree" name="privacy_agree" checked="checked"')
And hide the checkbox with CSS:
Code: Select all
#privacy_agree {display:none}
#privacy label {display:none}
(untested)
Christoph
-
mitch
- Posts: 45
- Joined: Mon Oct 03, 2011 1:56 pm
Post
by mitch » Mon Dec 03, 2012 3:11 pm
cmb wrote:Hi mitch,
currently it's not possible to do without the checkbox. Another user already has made the same request. But for the actual task of complying to the EU cookie law I consider a separate checkbox very reasonable, so a user is not able to simply click away the message without reading it.
OTOH: for the task of displaying some other message to the user a simple button is more appropriate. As is probably another plugin. I'll see...
For now you can make the following quick changes. Change plugins/privacy/index.php line 62:
Code: Select all
. tag('input type="checkbox" id="privacy_agree" name="privacy_agree" checked="checked"')
And hide the checkbox with CSS:
Code: Select all
#privacy_agree {display:none}
#privacy label {display:none}
(untested)
Christoph
THANKS THAT WORKS!