Jump to content

thmsnhl

Members
  • Posts

    41
  • Joined

  • Last visited

Everything 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
  2. Yeah, I know but this image is created by YouTube and I haven't found a way to fix it.
  3. I've just finished the work on this page and got the permission to share it on the showcase page. 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).
  4. By not working I mean that philipp is not able to add pages to the designated page. Now he is not even able to edit or add any pages... I'll send you the credentials and cross my fingers, that you find the bug I created.
  5. @Kongondo in my permissions-list there was no page-publish, so I added it manually in the permissions-tab. Is that all I need to do or is there anything I have to code to get this permission working? Maybe I could pm you credentials so that you can take a look at it?!
  6. Hi, I have some trouble with this module. I already described it in another thread but here's the summary: I cant figure out what is wrong there.
  7. 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.
  8. 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?
  9. Thank you adrian, in theory this is exactly what I'm looking for, sadly it doesn't seem to work. Maybe I have to wait for the stable release to use it.
  10. 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
  11. 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
  12. 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!
  13. Wow! That's awesome, thank you guys for the help, I'll try it straight away.
  14. Hi! I'm trying to output the date of a datetime-field and right next to it the date + 6 days. Could anybody help me to do this? <tr> <td>Ausbildungswoche vom:</td> <td><?php echo $page->week_begin ?></td> <td>Ausbildungswoche bis:</td> <td><?php echo $page->week_end ?></td> //should be week_begin + 6 days </tr>
  15. Thanks for your advice, I've sent him a PM.
  16. 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...