Jump to content

zoeck

Members
  • Content Count

    109
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by zoeck

  1. Works like a charm πŸ˜‰ Thanks! But i think the "selectorsToHideSuperUser" function don't work properly. My user has the superuser role, but the tabs are only hidden if I use the option "selectorsToHide", the "selectorsToHideSuperUser" values are ignored. <?php // Settings/Delete Tab is VISIBLE with Superuser rights echo $mycalc->feel(array("text" => "<i class=\"fas fa-edit\"></i>","overrides" => array("selectorsToHideSuperUser" => "#_ProcessPageEditDelete, #ProcessPageEditDelete, #_ProcessPageEditSettings, #ProcessPageEditSettings"))); // Settings/Delete Tab is INVISIBLE with Superuser rights echo $mycalc->feel(array("text" => "<i class=\"fas fa-edit\"></i>","overrides" => array("selectorsToHide" => "#_ProcessPageEditDelete, #ProcessPageEditDelete, #_ProcessPageEditSettings, #ProcessPageEditSettings")));
  2. @tpr I have a question about the options of "Selectors to hide". Currently it is only possible to set the option in general via the admin panel, but is it also possible to set it depending on the link? Like this: <?php $mycalc->feel(array("text" => "edit", "selectorsToHideSuperUser" => "#_ProcessPageEditDelete, #ProcessPageEditDelete"));
  3. It works without problems with the latest stable version πŸ˜‰
  4. Can you check which version of the module is installed?
  5. There's a problem with your JavaScript and CSS Files, many 404 Errors (Console output of google chrome): font-awesome.min.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) MarkerCluster.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) MarkerCluster.Default.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet-providers.js:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet.awesome-markers.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet.markercluster.js:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) MarkupLeafletMap.js:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet.awesome-markers.min.js:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet-providers.js:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) MarkupLeafletMap.js:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet.awesome-markers.min.js:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet.awesome-markers.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) (index):67 Uncaught ReferenceError: jsMarkupLeafletMap is not defined at HTMLDocument.<anonymous> ((index):67) at j (jquery.min.js:2) at Object.fireWith [as resolveWith] (jquery.min.js:2) at Function.ready (jquery.min.js:2) at HTMLDocument.K (jquery.min.js:2) /favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found) font-awesome.min.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) leaflet.awesome-markers.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) MarkerCluster.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) MarkerCluster.Default.css:1 Failed to load resource: the server responded with a status of 404 (Page Not Found) And the links: <link rel="stylesheet" type="text/css" href="/site/modules/FieldtypeLeafletMapMarker/assets/font-awesome-4.6.3/css/font-awesome.min.css"> <!-- Styles supporting the use of Leaflet.js --> <link rel="stylesheet" type="text/css" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css" /> <link rel="stylesheet" type="text/css" href="/site/modules/FieldtypeLeafletMapMarker/assets/leaflet-markercluster/MarkerCluster.css" /> <link rel="stylesheet" type="text/css" href="/site/modules/FieldtypeLeafletMapMarker/assets/leaflet-markercluster/MarkerCluster.Default.css" /> <!-- Scripts supporting the use of Leaflet.js --> <script type="text/javascript" src="https://unpkg.com/leaflet@1.0.3/dist/leaflet.js"></script> <script type="text/javascript" src="/site/modules/FieldtypeLeafletMapMarker/assets/leaflet-markercluster/leaflet.markercluster.js"></script> <script type="text/javascript" src="/site/modules/FieldtypeLeafletMapMarker/assets/leaflet-providers/leaflet-providers.js"></script> <script type="text/javascript" src="/site/modules/FieldtypeLeafletMapMarker/MarkupLeafletMap.js"></script> <!-- Extend Leaflet with Awesome.Markers --> <link rel="stylesheet" type="text/css" href="/site/modules/FieldtypeLeafletMapMarker/assets/leaflet-awesome-markers/leaflet.awesome-markers.css" /> <script type="text/javascript" src="/site/modules/FieldtypeLeafletMapMarker/assets/leaflet-awesome-markers/leaflet.awesome-markers.min.js"></script>
  6. @renobird the module is still actively maintained πŸ˜‰? any planned functions?
  7. i think it's a problem with php πŸ˜‰ Check it with this code: <html> <body> <?php echo "<h1>$page->title</h1><br>"; ?> <?php foreach($page->we as $member): ?> <img src="<?php echo $member->Images->url; ?>" alt=""> <?php echo $member->wemember; ?><br> <?php endforeach;?> </body> </html> you are using <? ... but with newer PHP Versions, this isn't working with the standard configuration, so you should always use <?php instead of <?
  8. The Markup Simple Navigation is only creating the code for the navigation, you have to add the style (css style) of the menu yourself, the module doesn't do that
  9. Did you checked the AdminThemeUIKit? ItΛ‹s Not 4 years old... its the newest theme πŸ˜‰ https://github.com/ryancramerdesign/AdminThemeUikit (and itΛ‹s the Standard theme in the current processwire Version, just Check in your User Profile in the Admin Panel if you use the old theme or the UIKit Version....)
  10. @teppo Any news here? I would very much like to use the module with a repeater on our intranet page πŸ˜‰
  11. zoeck

    Awesome UIKit

    But there are some Problems in the Frontend when you are using Bootstrap 4 and the Front End Edit Fields... 😞 thats uncool (i don't know what framework (?) is used for the Frontend Editor)
  12. Sounds like you want to use a "real" template system πŸ˜‰
  13. I usually use english names for the templates and fields (german websites). I think everybody understands that πŸ˜‰
  14. But this is only a workaround... we need a pw fix here... 😞 It makes no sense to use an old version permanently.
  15. Thank you for the information! I used the "LDAPsignin" module as base and extended it to work with an Active Directory - including group assignments and some other upgrades. I think it doesn't make sense for me to publish the changes because it is customized for our AD environment πŸ˜‰
  16. You can change the Logo in the AdminThemeUikit Configuration πŸ˜‰ Just go to Modules -> Core -> AdminThemeUikit Or use the AdminOnSteroids Module "UiKitTweaks" πŸ˜‰ And you find the footer inside of this file: \wire\modules\AdminTheme\AdminThemeUikit\_footer.php
  17. Oh... thats not good 😞 Is there a workaround? Is it possible that I only get the name and the Url/ID instead of the whole page`? /edit: It seems that the problem does not occur if you change the Page Reference field to "multiple pages"...
  18. Hello, I have a problem with a page reference field. (PW 3.0.98 and 3.0.111) This is an employee list, each employee can also enter a substitute in his or her user profile. If now two coworkers, mutually as representatives register themselves, the output simply hangs. "Show all Employees" Template: employees "Employee Page" Template: employee_entry This are the fields of employee_entry: This is my selector: <?php $allemployees = $pages->find("parent=/verwaltung/mitarbeiter/, template=employee_entry, emplastsync={$lastsynctime}"); And then, there's the Page Reference Field "emprep": <?php foreach($allemployees->sort(array('emptext.lastname', 'emptext.firstname')) as $employee) { echo $employee->emprep->title; } And if both employees have each other as representatives, the following error occurs: If another employee is selected as a representative, there are no problems! If I open a page directly with employee_entry, there are no problems! Only if I output the list on another page (in this example on a page with the "employees" template) I just don't know how to solve the problem 😞 I hope you can help me here, thank you!
  19. I think you just need the permissions πŸ™‚ Here is also a documentation: https://processwire.com/api/user-access/permissions/ Add Members? Just use the Admin Panel!
  20. Just switch to Here πŸ˜‰ https://developer.here.com/plans 250k transactions per month for free....
  21. zoeck

    Map Marker Map

    Had the same problem... now i switched to the Leaflet Map Version... and im very happy with it πŸ˜‰
  22. Just look inside the .htaccess file in your pw root directory πŸ˜‰ # ----------------------------------------------------------------------------------------------- # 1. Don't show directory indexes, but do follow symbolic links # 500 NOTE: Some cloud hosting companies don't allow +FollowSymLinks. # Uncomment +SymLinksifOwnerMatch and comment +FollowSymLinks if you have 500 errors. # If that doesn't resolve the error, then set it back to +FollowSymLinks. # ----------------------------------------------------------------------------------------------- Options -Indexes Options +FollowSymLinks # Options +SymLinksifOwnerMatch Just write a # before "Options +FollowSymLinks and delete the "# " from "# Options +SymLinksifOwnerMatch"
  23. Are you using the default installation of Xampp or have you set a new SQL password? Are you using the xampp root user? The message actually only says that the logon data is incorrect, or the user has no rights to access the database.
  24. Could you post which plugins you use? I am currently setting up my VS code πŸ˜‰ Has the PHP + HTML mix problem been fixed?
Γ—
Γ—
  • Create New...