thmsnhl

Members
  • Content count

    33
  • Joined

  • Last visited

Community Reputation

18 Good

About thmsnhl

  • Rank
    Jr. Member

Profile Information

  • Gender
    Male
  • Location
    Duisburg, Germany

Recent Profile Visitors

1,664 profile views
  1. Edit: I just realized there are 18 Pages in this thread and I am pretty sure someone else mentioned it, I will have a look I have just added the module to a new site I am creating and it seems like there are some issues. 1. The API key is not recognized when using the <script>-tag from module page (<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?sensor=false'></script>) – I had to add <script src="https://maps.googleapis.com/maps/api/js?libraries=places&key={{my API key}}"></script> in order to display the map. 2. The map in frontend does not look like the one in the backend. Instead of green areas for parks I get an all grey version, as you can see on the screenshots below. Has anyone else noticed this? PW Version is ProcessWire 3.0.62 from stable channel.
  2. Well something like this is already possible, by creating a custom site profile and upload it to the server. It is less dynamic – compared to a textfield – but it does the trick. But even this solution does not install the Reno theme, because it's not a part of the site profile.
  3. That's the first thing for me too and I just came up with an other idea: In the installation process, there is already a select field to set the color scheme (which I personally never changed, because the basic colors just fit perfectly). Why isn't there a selectbox to choose the Reno theme, to make it even easier for new users to recognize there is an alternative?
  4. In the past weeks (rather months) I was discussing ProcessWire in our agency and I had some serious trouble convincing my colleagues. The main reason for their criticism was related to the old fashioned website frontend and the older fashioned default admin theme when testing ProcessWire. So I think there is a huge benefit in an overhaul of processwire.com and also in setting RenoTheme as default, but I guess that this won't change because of the upcoming admin theme.
  5. @abdus perfect! That's exactly what I was looking for, thank you!
  6. Thank you @Zeka for this thread I just realized that I had this already open in a tab but waaaaaay too far on the right hand side of the window, I will try to fit the example in to my project. But first I will have a look into GraphQL because this might also help me with future requirements.
  7. Hi everyone, I've recently hired at a new company and here I am evaluating the abilities of ProcessWire for our projects. I was able to meet almost every requirement so far, but there is one point I couldn't find an adequate solution for: outputting data to json. I am aware of modules like https://modules.processwire.com/modules/pages2-json/ (which does not seem to work for me) but I thought with a function like wireEncodeJSON this should be much cleaner. What I would like to achieve is outputting pages with according field values into an array to use this within javascript. My first attempt on this was: $jsontestOne = $pages->find(1001)->children(); echo wireEncodeJSON($jsontestOne); which outputs [{}] and afterwards I tried that one: $jsontest = $pages->find("template=basic-page")->getArray(); echo wireEncodeJSON($jsontest); which outputs [{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},...] Maybe you can point out where my mistake is. Thanks in advance!
  8. Hi Richard, I don't know if you still need this, but I managed to use a favicon without any issues. First: install the Reno admin theme Second: navigate to wire/modules/AdminTheme/AdminThemeReno/default.php Third: paste your favicon links into the <head>-area in my case line 56 <!-- Favicons --> <link rel="apple-touch-icon" sizes="57x57" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="<?php echo $config->urls->templates?>favicons/apple-touch-icon-180x180.png"> <link rel="icon" type="image/png" href="<?php echo $config->urls->templates?>favicons/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="<?php echo $config->urls->templates?>favicons/favicon-194x194.png" sizes="194x194"> <link rel="icon" type="image/png" href="<?php echo $config->urls->templates?>favicons/favicon-96x96.png" sizes="96x96"> <link rel="icon" type="image/png" href="<?php echo $config->urls->templates?>favicons/android-chrome-192x192.png" sizes="192x192"> <link rel="icon" type="image/png" href="<?php echo $config->urls->templates?>favicons/favicon-16x16.png" sizes="16x16"> <link rel="manifest" href="<?php echo $config->urls->templates?>favicons/manifest.json"> <link rel="mask-icon" href="<?php echo $config->urls->templates?>favicons/safari-pinned-tab.svg" color="#5bbad5"> <link rel="shortcut icon" href="<?php echo $config->urls->templates?>favicons/favicon.ico"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="<?php echo $config->urls->templates?>favicons/mstile-144x144.png"> <meta name="msapplication-config" content="<?php echo $config->urls->templates?>favicons/browserconfig.xml"> <meta name="theme-color" content="#ffffff">
  9. Thank you Acturus, got this code working now! But I'm experiencing another problem: I can't show more than 3 Tweets, even though I've set the limit in the module to 4...
  10. Has anyone solved the problem with links, mentions and hashtags yet?
  11. Thank you LostKobraKai, this worked straightaway. This community is awesome!
  12. Yes, exactly Peter.
  13. Thank you for the quick response. Could you explain a little more in detail where I have to define this hook and what has to be in there to render an image? I checked the module files for about an hour and still I'm not sure where to put my own code.
  14. Hi, I'm currently working on a small blog for a friend of mine, he wants to use external images as title Images in his posts and therefore I need some kind of backend gallery, to collect all URLs. To make this a little bit more manageable I want to include a thumbnail in the backend next to the URL field. Now I'm asking myself some things: Is there a solution already? I searched the forums and fieldtypes for something like this but did not find one. How can I create my own fieldtype to solve this problem? Maybe there is a "mix and match"-solution with URL- and Image-Fieldtype?! I'm thankful for every answer! Cheers, Tommy
  15. I removed all the files and restarted the Installation and the bug was gone...