Jump to content

thmsnhl

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by thmsnhl

  1. Hi everyone,

    I have trouble with one of my PW-sites, I wanted to disable the "admin theme"-field in the user-profile settings.

    My first attempt was to go to "Setup->Fields" -> "show built-in-fields" -> "admin_theme" -> "input->visibility" and change "Show this field only if..." to "role!=texter" now I hit "save" and checked if it worked correctly. It did not, so I decided to undo my steps and leave the "Show this..."-field empty. But now the radio-buttons in user-profile settings, to choose an admin theme, are gone completely and I have no idea how to fix this.

    I would really appreciate any help. 

    Cheers, 
    Tommy

    post-1946-0-48959000-1426858649_thumb.jp

  2. I've just finished the work on this page and got the permission to share it on the showcase page.

    post-1946-0-49836600-1425649947_thumb.pn

    Maxim produces and distributes cosmetic products for many different brands in Germany, France and other European countries. This website showcases the company‘s high standards in quality and design.

    In a few days the translation will be ready and the website gets multilanguage support (Thank you, Ryan, for this awesome CMS).

    • Like 9
  3. Hi, I have some trouble with this module. I already described it in another thread but here's the summary: 

     

    So, now I have the info you needed.

    PHP v.5.6 MySQL v.5.5.38  PW v.2.5.0 
    And to complete my post: I created a dynamic role called "philipp-dynamic" with the following configuration:

    who? > name equals philipp

    template=user, include=all, name=philipp

    permissions
    page-delete, page-edit, page-view, profile-edit

    what can they view? > title contains text philipp

    title%=philipp

    what can they edit? > id equals 2231 (page called philipp)

    where can they add new pages? > id equals 2231 

    Which leads the user called philipp to be able to edit every page which is in the page-tree except from the homepage, but there is no possibility to add pages anywhere. 


    The "matches X page(s)"-field in dynamic roles page tells me, that every condition should fit to the correct pages, but the reality looks different.



     

    I cant figure out what is wrong there.

  4. So, now I have the info you needed.

    PHP v.5.6 MySQL v.5.5.38  PW v.2.5.0 
    And to complete my post: I created a dynamic role called "philipp-dynamic" with the following configuration:

    who? > name equals philipp

    template=user, include=all, name=philipp

    permissions
    page-delete, page-edit, page-view, profile-edit

    what can they view? > title contains text philipp

    title%=philipp

    what can they edit? > id equals 2231 (page called philipp)

    where can they add new pages? > id equals 2231 

    Which leads the user called philipp to be able to edit every page which is in the page-tree except from the homepage, but there is no possibility to add pages anywhere. 


    The "matches 1 page"-field in dynamic roles page tells me, that every condition should fit to the correct pages, but the reality looks different.



     

  5. I just updated to PW 2.5.0 and installed the Module without any errors, but when I set up a dynamic role and configure it the way I want, it does not affect the abilities of the selected user.

    And what do you need to know about the server environment?

  6. Hi I already asked in the thread for PageEditPerUser.module but there was no reaction at all.

    I have problems with giving specific users (by username, not by role) the ability to add children to specific pages, I guess there's some kind of rewriting the CustomPageRoles.module but I'm not deeply enough into php to do this.

    Can anybody help me?

    Thanks,

    Tommy

  7. Is there a simple (explained for PHP-Newbies) way to edit this, so that users can add children to pages for which they have access.

    I've already read this thread but I am not sure what I have to do exactly.

    My plan is to have a user "user-a" who has the permission to edit the page "home > user-a" and also has the ability to add pages of the template "year" to this page, but ONLY to this page.

    The situation now is like: user-a can edit page "home > user-a"  a module I found on the forum has created some subpages for him and user-a is able to edit those pages too, but has no "add"-ability (which is good for me). 

    Thank you,
    Tommy

  8. So, I have tried it with your suggestions, but did not get the expected result. 

    Luckily one of our developers came and helped me to write this:

    	$mydate = $page->week_begin;
    
    	$mydateArray = explode('.', $mydate);
    
    	foreach ( $mydateArray as $index => $nummer ) {
    		$mydateArray[$index] = ltrim($nummer, '0');
    	}
    
    	$timestamp = mktime(0, 0, 0, $mydateArray[1], $mydateArray[0], $mydateArray[2]);
    
    	$dateObj = new \DateTime(date('Y-m-d', $timestamp));
    	$dateObj->modify('+6 days');
    
    	echo $dateObj->format('d.m.Y');
    

    Which works fine for me.

    Thank you anyway!

  9. I'm having the same issue in Google Chrome Version 31.0.1650.57m, PW version 2.3.0.3.
    Already checked the cache and reloaded it 5 times, but it still does not work.

    Edit: Just checked another PW-instance running PW Version 2.3.0, no problem to safe pages with top-button.

    Edit2: I guess I found the Problem, I'm using "Futura Remixed Admin Theme", this theme seems to cause the Issue.

×
×
  • Create New...