Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

27 Excellent

About ngrmm

  • Rank
    Sr. Member

Contact Methods

  • Website URL

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1,868 profile views
  1. great module @David Karich, thx! will there be an option to cross-copy-paste content between two different matrix-repeater-fields with same matrix-repeater-field-types (same configuration)? is or is this not possible?
  2. thx @Jonathan Lahijani, i'm not a pro and don't know how to do your workaround. but it tried it with simple str_replace() and it works πŸ™‚ $content = $page->body; echo str_replace("<a","<a style='color: red'",$content);
  3. i'm using a pw-page to output a newsletter-email and send it via promailer. this page has a textarea-field (ckeditor). i searched a lot but was able to find out how to automatically add inline style to a-tags. like: <a href="#" style="color:red;">…</a> adding a class via mystyles.js or config.js will not work because it's a newsletter-email. mail-apps would override class-styles. it has to be inline
  4. thx @dragan and @flydev ok i understand. this also means that i'm not able to remove items (fields) with ->remove()?
  5. i want to output some of my pagefields as options in a html select tag i can do this this way: $search_options = $templates->get("catalog_item")->fields; but i'm not able to sort them: $search_options = $templates->get("catalog_item")->fields("sort=label"); array_multisort() ksort() doesn't work either. is sort limited to pagearrays?
  6. try to use RewriteBase /page in your htaccess no need for a RewriteRule
  7. thx but how do i extend it globally in config.php? is there something like this? $config->sanitizer->pageNameUTF8(int $maxLength = 200);
  8. i get 404-Errors when my url is longer than 128 characters using pw 3.0.127 where do i find the options to set a higher limit?
  9. i'm trying to reduce redundancy and creating a structure which can be used later (relation-links) some existing should be also used as tags beside the new ones. yes yes ok, i though PW would use the first settings (parent/template) for creating the new pages, and additional setting and selector for additional options any tutorials/how-to for backend-hooks?
  10. i'm using a page-field with the inputfield-chosen-select-multiple as a tag-system – there are two different templates (template_A & template_B) which can be chosen – and both have different parents (parent_of_A's & parent_of_B's) – new pages (tags) generated from this field should be children of parent_of_A's and have template_A so i've chosen parent_of_A's as the parent and template_A as template. and selected template_B as extra template. this is must because that how the system know where to put the new pages. but this does not work when i try to add other templates as extra-templates or with the selector string method. error says: not the right template only using selector-string-method works for choosing, but no new pages can be generated
  11. i created a new role and activated all permissions but publish. now a user is able to create and edit new pages with this role. but editing existing pages (created by superuser) isn't possible πŸ€” templates acces rules are also set right
  12. hmmm...was easier than i thought however, if someone wants to do it: here is a good how-to by Ryan: @Autofahrn you were right. makes more sense by json. it's also way faster 😁
  13. reason is my shitty javascript skills. i'll give it a try πŸ™‚
  14. don't think so. i have a follow up question. i get data as a whole. is there a way to get the content of specific fields. like data->divWithClassX? i want to update the content of two different divs on the page. do i have to that with the json-method?
  15. yeah! thx @Autofahrn my mistake. i had a variable defined in my header.inc which was missing!
  • Create New...