Jump to content

markus-th

Members
  • Posts

    69
  • Joined

  • Last visited

  • Days Won

    1

markus-th last won the day on April 1 2021

markus-th had the most liked content!

About markus-th

  • Birthday August 1

Contact Methods

  • Website URL
    https://www.dothiscookingthing.de

Profile Information

  • Gender
    Male
  • Location
    Kulmbach, Germany

Recent Profile Visitors

6,687 profile views

markus-th's Achievements

Full Member

Full Member (4/6)

96

Reputation

  1. I think URL hooks can be a good solution for this case: https://processwire.com/blog/posts/pw-3.0.173/
  2. Many thanks for the module. I have some small ideas that could make it easier to install the forum on an existing site and integrate it seamlessly into the layout. Are you planning to make the module available on GitHub?
  3. Nice, thanks for sharing. BTW: Works also perfect for the ProModule RepeaterMatrix from @ryan
  4. @Klenkes I currently have the same problem with v 1.0.9, after a downgrade to v 1.0.8 everything works as expected again.
  5. Hello webguy, to integrate a Google tag on your site, you can integrate the code e.g. in the header template (sometimes _header.php). But the answer is not quite that simple, as it depends on how the templates of your site are structured. My templates usually look like this: _header.php _footer.php home.php (include header, templatecontent, footer) basic-page.php (include header, templatecontent, footer) ... and so on ? I hope this helps
  6. Look, here in the docs is every information you need ? https://processwire.com/docs/modules/hooks/#what-methods-in-processwire-are-hookable
  7. <script> function gtag() { dataLayer.push(arguments); } gtag('consent', 'default', { 'ad_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied', 'analytics_storage': 'denied' }); </script> <script type="text/plain" data-type="text/javascript" data-category="statistics"> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('consent', 'update', { 'analytics_storage': 'granted' }); </script> <script type="text/plain" data-type="text/javascript" data-category="statistics"> // GTM </script> I use GTM only for Statistics, this is how it work for me.
  8. Looked at it on Andriod. No image ... tested with another website, work with image
  9. Look at this idea: Since I have been using this method, I no longer need any other approach to build up the content on my pages and I also need far fewer different templates. You don't have to use depth, but it allows extremely flexible output of content when needed. My basic_page template look like this: <?php namespace ProcessWire; include "_header.php"; $items = $page->content; foreach ($items as $key => $item) { $item->position = $key; $item->all_items = $items; } foreach ($items->find("depth=0") as $item) { echo $item->render(); } include "_footer.php"; And all matrix "content" templates are inside the fields folder.
  10. I can understand that, for me it's just always the same ID. Alternatively, you can also overwrite the LogoURL in admin.php. Directly before: require($config->paths->adminTemplates . 'controller.php'); with: $adminTheme->logoURL = $mylogourl I use this for multisites where I need different logos depending on the URL.
  11. I don't know if my way is better, but for me it has become standard ? This is easy done: I set the imagepath in AdminTheme to: '/site/assets/files/1020/be-logo.svg' (1020 is my settingspage) and to make sure that the image name is always the same I use the Custom Upload Names module. Now I can simply upload a new logo and have it available in the backend. I exported this configuration with some fields and settings that I need again and again with the Profile Exporter from @ryan and use this as a starting point for almost every new installation.
  12. I have a suspicion, can it be that you have a template and a repeater with the same name? Normally you can find all repeater elements under "Admin". You could try moving the pages there and then changing the template name.
  13. Very many interesting approaches. Therefore, I would like to show my solution as well. I also use the repeater matrix but with nested elements. This gives me maximum flexibility and requires fewer "static" elements.
  14. Ingenious, that means in the ready.php the HTMX request does not have to be declared extra. Note to me: RTFM ?
×
×
  • Create New...