Jump to content

guenter55

Members
  • Posts

    71
  • Joined

  • Last visited

Posts posted by guenter55

  1. 4 hours ago, adrian said:

    Sorry, I don't really understand what you are looking for here - I don't think the module should always output a "Manage Your Cookies" - I think this needs to be something that the site developer decides where it should go and how it should be styled. Or maybe I am confused by what you want?

    I'm sorry if I confused you a bit.
    To solve the confusion: most cookie banners have only one button with 'OK'. In this case, I think that according to GDPR after each end of the website and closing the browser, the user must again confirm the OK button.

    In the case of your cookie banner, the user can save his decision and that obviously lasts according to the GDPR law (thank @ Jozsef's explanation) until the user wants to decide again whether to accept cookies or decline (this is mainly about GA , Matomo etc. or Marketing Cookies). But where - that was my question. The answer I found later in the readme: I have to program it myself ... ?

    You are right that the developer or programmer can program how and where the user cancels his consent. Only I like to use such a module as a black box. I set the functions and nothing is left to do. ? Therefore I would have liked the idea quite nicely if you make a slide-button (a small tab) at the bottom of the website, which shows the possibility of the revoke, so that I can easily set that in the backend, if I want that or not. I found this here: https://cookieconsent.osano.com/examples/example-4-opt-out.html

    Some like such a solution, some do not. I think I remember that the GDPR law provides that it must be made as easy as possible for the user to make a revoke. For me as a designer, this solution appeals. Maybe not really necessary, but still.

  2. 5 minutes ago, wbmnfktr said:

    Those are?

    It's in the cookie. Saving it server-side would open even more gates therefore some solutions are not GDPR-safe as they save it on their servers.

    Where is that quote from?

     

    By now I have a solution on some of my personal projects that are approved by lawyers to be GDPR-safe and those could collect tons of data... just by one cookie and one click.
    I paid lots of money to be safe ... so your sources would be really nice as I could get some money back - maybe.

    I've read so many websites that I do not want to list that now. Every time I think the GDPR has to be right now, I read something and become uncertain again.

    Sorry, I forgot the link: https://ico.org.uk/media/about-the-ico/consultations/2013551/draft-gdpr-consent-guidance-for-consultation-201703.pdf

    Exactly - never ask a lawyer, then it's really long and expensive ?
    Of course they do that exactly to protect themselves. The problem is that there are so many uncertainties that many points have to be judged first.

    But I believe that with a legal discussion here we break the question to the module and are off topic.

    • Sad 1
  3. 14 minutes ago, Jozsef said:

    I don't know where those various websites you mention quote their text, the below quote is directly from https://gdpr.eu/gdpr-consent-requirements/:

    "The GDPR does not indicate a shelf life for consent. Theoretically, a person’s consent is indefinite"

    It is a requirement though that a person must be able to revoke their consent at any time. But asking them each time is just bad user experience in my opinion.

    Thanks for your link, I will read later. You are right, it is annoying for the user.
    I'm not an expert right now and maybe I misunderstood it, too, and that means that once you save it as a personal attitude, it may take longer.

    But in any case - and you write that too - the user has to be given the opportunity to revoke a given consent every time he returns to the website (ie when he has closed the browser window and has finished the browser!) ,

    Hence my question @adrian earlier.

    @adrian: after writing this, I thought about looking in the module directory and found in the readme:

    Quote

    ... that will allow the users to show the banner even after they have saved their preferences / accepted.
    `` `
    <a href="#cookies" class="js-pwcmb-notice-toggle"> Manage Your Cookies </a>
    `` `


    This answers my question, but Adrian, maybe there is the possibility to define this in the module settings and with a small "flag" at the end of the website to call a button for it, as I believe in Silktide.

  4. 3 hours ago, wbmnfktr said:

    After each session? I really doubt it but where did you get this info?
    Didn't find that session thing on eRecht24, WBS, JanoLaw and others. I source for that would be awesome!

    This is evident from the legal text that has been cited many times by various websites. That may be handled differently in different countries. It goes so far that also has to be saved, who has given an approval. You can do this here e.g. read, I quote from it:

    "Clearly, after the session ends and the link between the user and the session is destroyed, you will need to seek fresh consent each time the user returns to your website."

  5. Hi Adrian,
    Thanks for the great module, it really is very easy to get involved. However, in order to comply with the GDPR, the user must be able to decide again after each session whether he agrees or not. I can not find this function. Is it possible to install this?

  6. 7 minutes ago, adrian said:

    I would try this line:

    
    include_once(__DIR__ . '/DateTimeImmutable_php5.4.php');

    You are Great adrian!!
    No more error in admin, I´ll try it in template tomorrow - it´s time to catch some hours sleep ?

    Greetings from Austria!

    • Like 1
  7. 12 minutes ago, adrian said:

    I would think that including it in the __construct() method would work. Make sure the path is correct and it is actually being included.

    Thanks for the help @adrian but that seems to exceed my php knowledge. I see the __construct() functions in the modul-files, but I don´t know what exactly to do.

  8. Hi,

    I have PHP 5.4.45 and PW 3.0.106 and get this error:

    Fehler: Class 'DateTimeImmutable' not found (Zeile 51 in /home/wwwapow/public_html/cms/site/modules/_FieldtypeBusinessHours/FieldtypeBusinessHours.module)

    How can I solve this error?

    Thanks for help!

  9. In addition to @MindFull: you will find the css for the ckeditor here: wire/modules/Inputfield/InputfieldCKEditor/contents.css.

    Find the css for .figure and change to this:

    
    figure {
    	display: table;
    	/*width: 1px;*/
    	margin: 1em 0;
    }

    if css for .img is only to width: 100% change to:

    img {
    	max-width: 100%; 
    }

    change the css for the .figure.align-center as follows:

    img.align_center,
    img.align-center,
    figure.align_center,
    figure.align-center {
    	/* RCD 
    	display: block; */
    	display: table !important;
    	margin-left: auto;
    	margin-right: auto;
    }

    Now you can see in ckEditor image and capturetext (checked title) in the middle.

    For fontend you must add in your css:

    img.align_center,
    img.align-center,
    figure.align_center,
    figure.align-center {
        float: unset !important;
    	display: table !important;
        margin-left: auto;
        margin-right: auto;
    	margin-bottom: 10px;
    }

    In most cases, the definition of position left and right is wrong in the frontend, so copy the css for all the "alligns" from content.css to your style.

    best regards

    • Like 1
  10. On 1.2.2017 at 2:01 PM, mds said:

    When adding a caption to an image, the image width and the caption itself get as small as possible in the editor. In the frontend everything looks ok.

    Is it a known bug? Where do I have to look for an answer?

     

    Hi @mds,

    it´s a little bit tricky, I had that too in the front- and backend - for the editor you will find a css in: /wire/modules/Inputfield/InputfieldCKEditor/contents.css.  My solution was to comment out the width:

    figure {
        display: table;
        /*width: 1px; */
        margin: 1em 0;
    }

    But note, if you make an update, this change may be gone! So check, if you can define this css for figure on a custom css file or directly in the site-source.

    best regards

  11. Hi,

    since I have installed PW 3.0.88 with new CKEditor the Toolbarbuttons Paste from Word/PlainText don´t work anymore. It says "Your browser does not allow you to paste plain text this way. Press Ctrl+Shift+V to paste.". This seems to be a problem since CK Version 4.7/4.8.

    Is there any solution to that?

    Thanks for help!

  12. Hi,

    I hope someone or this module can help:

    After relaunch the URL changed from

    www.shoppingwels.at/apotheken/apothekenkalender.php
    

    to www.shoppingwels.at/apotheken/

    The script from apothekenkalender.php is now inside PW (/site/...) and as /apotheken/ is in the PW-tree I can no longer link inside the Folder (is that really true? or can I change something in htaccess?). The Problem too is. this is a Service for pharmacy and the Drugstores want to iframe to this file. So I helped me and made the script twice in another Folder /apothekendienste/ which is not in PW.

    But Google has the link (good SEO for me)

    Apotheken-Kalender von Wels mobil
    www.shoppingwels.at/apotheken/apothekenkalender.php
    Bereitschaftsdienst der Welser Apotheken inklusive Gunskirchen, Buchkirchen und Marchtrenk. Alle Sonn- und Feiertags- und Nachtdienste.
    

    So I tried in htaccess:

    Redirect 301 /apotheken/apothekenkalender.php http://www.shoppingwels.at/apotheken/
    

    but this will not work!

    So what can I do to redirect from my old URL to /apotheken/ - thank you for helping

  13. Hello guenter!

    Umlautes are working fine here - what kind of problems are you facing?

    Hi,

    for example this is in source :

    <!--Email: <span id="emo_email_1" class="emo_email">Enable JavaScript to view protected content.</span><br>-->
    <!--Email: <span id="emo_email_2" class="emo_email">Enable JavaScript to view protected content.</span><br>-->
    <!--Email: info@kübelgeräte.at<br>-->

    happend nothing for info@kübelgeräte.at

  14. Hi,

    is it possible that this modul create pages instead of users?

    What I need is, that at frontend a user can sign in or register for newsletter width his facebook account and I get in site/template facebook-login childs with the username and fields with email, name, id captured from facebook.

  15. @guenther55: Go to the settings page and select the templates that should get seo fields

    I did this and now I select an other page once more, but no Seo tab!

    I got the same error as @Tyssen and I am not able to deinstall the modul!

    My solution for now: in site/modul directory I reactivated the 0.3.0 Version - seo tab and all inputs are back! The old version works for me and I dont see really need to update.

    But I hope you can find the bug and maybe I can update with a next Version in future.

  16. Until I hav´nt found an other solution yet, - so sorry - a quick and dirty one: in ProcessPageSearch.module in 'protected function renderMatchesTable()' I changed the line

    $row[] = $match->editable() ? "<a class='action' href='$editUrl'>" . $this->_('edit') . "</a>" : ' ';
    

    to

    $row[] = $match->editable() ? "<a class='action' href='#'>" . $this->_('edit') . "</a>" : ' ';
    

    I killed the href, so if happens that the user find another users page with an edit button, he cannot follow at least

    @chuckymendoza

    above hack in core is´t sufficient because it ignores direct selecting in Ajax-Pop-Search result which takes me in foreign page editor.

    In my case I not really need the adminsearch, so I create a new permission admin-search and give it to the role. In wire/modules/Process/ProcessPageSearch/ProcessPageSearch.module

    I added in protected function render(PageArray $matches, $displaySelector) before

     return $out;

    this code:

    if(!$this->user->hasPermission('admin-search')) {
                   $out = "*** Benutzer " . $this->user->name . ": diese Funktion ist gesperrt! ***"; 
              }
    

    So when user has not in his role the permission 'admin-search' he get the message, that his is not allowed to use the search function in admin.

    Maybe there is in future a feature in core to set permission on user-basis and/or role-basis but for now it is a solution for me.

    @adrian:

    I will make a copy of my work the next days, to try this. Now I am happy that it works with my little core hacks.

    Knowing my solution doesn´t really consider the problem, I must also thinking about your sentence

    If you have grandchildren that are editable, but children (their parent) that is editable, then you have to show that level anyway, or the page tree would become a mess :)

    :) 

  17. Did you take a look at the module at this gist: https://gist.github.com/adrianbj/e391e2e343c5620d0720

    This should mostly do what you want in terms of hiding pages that aren't editable. I just haven't dealt with the issues of a page tree with many levels. It should work perfectly if there are only two levels below home.

    Hi adrian!

    you write that modul (HideUneditablePages) is for not more than 2 levels, I think it´s the same for this modul 'HideOtherUserPages'. Please take a look at my post #42 again, you see in my case 'Angebote/News' is the third level and only this parent can have childrens (fourth level).

    Just as @chuckymendoza wrote, when user search e.g. 'Produkte' (like in my picture) in adminsearching AND another user also have this in title, he get an edit button to the site he should not have access.This happens because it dont hide Other User Pages under level 3.

    I tried to find a solution in 'public function pageListHiddenPages' but I don´t get it work.

    Could you please help me?

  18. @guenter55 : maybe I’m missing something or I have a different configuration but how do you deal with that kind of (security) problem?
     
    Thomas

    Until I hav´nt found an other solution yet, - so sorry - a quick and dirty one: in ProcessPageSearch.module in 'protected function renderMatchesTable()' I changed the line

    $row[] = $match->editable() ? "<a class='action' href='$editUrl'>" . $this->_('edit') . "</a>" : ' ';
    

    to

    $row[] = $match->editable() ? "<a class='action' href='#'>" . $this->_('edit') . "</a>" : ' ';
    

    I killed the href, so if happens that the user find another users page with an edit button, he cannot follow at least

×
×
  • Create New...