Jump to content

Troost

Members
  • Content Count

    39
  • Joined

  • Last visited

Community Reputation

14 Good

About Troost

  • Rank
    Jr. Member

Recent Profile Visitors

1,469 profile views
  1. @kongondo Thanks for your response! You've really helped me out with the string on that line, when my project is finished, I will show it over here! And I'm glad I found a bug so I could help a bit with this module!
  2. @wbmnfktr Thanks for your clear response! I will keep those things in mind working down my roadmap. I'm about to reorganize and restructure my workflow, so these tips can help me out, thanks a lot!
  3. @teppo @LostKobrakai Thanks for your responses! Concluding both your responses I assume that working by trust and the terms and conditions is the best (and in my opinion the most likely) way to 'prevent' this of happening. I'm not planning on going that big where I need to work with server validating licenses. Considering my potential customers, this should not be a problem.
  4. Hiya! For example, lets say, I've designed a template and connected this to ProcessWire. I sell it to my client, 1 license for €XXX,-. How can I be sure the template isn't going to be installed 20 times for 20 of his other clients? Is this a case of trusting his on his blue eyes. Or is there like something I can put in the install.php that notificates me each time the installation is complete? I am wondering how you guys manage those things? Thanks in advance, cheers!
  5. Thanks Kongondo for this great offer! I'm currently experimenting with it, I came to the point where I want to change a little bit in the positioning of the blog. Like placing the Date underneath the post instead of above. But I can't find where I can change those settings? Also, the option to show like 200 words and than the text 'view more'. I want to translate this to dutch, but I can neither find this one hehehe. Can u help me out? (Dont know what about this, but when i go to PW admin > blog > settings > I can change whatever I want, but it won't safe. It keeps saying the same text which comes by the installation) I've tested this in Chrome and Safari, same problem. I' on ProcessWire 3.0.132 © 2019
  6. I'm getting the same problem, the Chmodd 777 on the Site folder works over here... I'm on ProcessWire 3.0.123 © 2019
  7. Hi Guys, I've just installed Matomo on my portfolio website to track some visits and the behavior. But it doesn't work. I have it installed this way... hostname.com hostname.com/matomo (this works with the dashboard etc) hostname.com which echos PW, but the thing is, the PW site structure works with site/templates/home.php This is the Matomo code which I placed in the header.php <!-- Matomo --> <script type="text/javascript"> var _paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//hostname.com/matomo/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script> <!-- End Matomo Code --> So I guess its in the var u="//hostname.com/matomo/"; I'd tried to place the map in the templates folder and link it by <?php echo $config->urls->templates?>matomo/ But that didn't work either. I'd also tried to put in the full url of the map in the var u, but it all didn't work out. Does someone have a solution to connect Matomo to PW? Thanks in advance
  8. Solved! Thanks to @MoritzLost <?php $project_index = $pages->get(1015); $projects = $project_index->children("template=projectdetail"); foreach ($projects as $project) { echo '<div class="col-md-4 col-sm-4 col-xs-6 fh5co-project animate-box">'; echo '<a href="' . $project->url() . '">'; echo '<img src="' . $project->projectthumb->url() . '" alt="' . $project->projectthumb->description() . '" class="img-responsive" >'; echo '<h3>' . $project->title() . '</h3>'; echo '</a>'; echo '</div>'; } ?>
  9. @MoritzLost Thanks again for your response. I've figured it out with your lines of code. I've set some variables in my header.php. The variable from your example was later on editted in my post. I forgot to change that indeed. <?php $header = $pages->get(1018); ?> <?php $home = $pages->get(1); ?> <?php $footer = $pages->get(1019); ?> The only thing now is to get the H3 working, the rest is fine, thanks again for your support man!!
  10. Thanks MoritzLost for your response! Home: <?php include("./header.php"); ?> <?php include("./projectoverzicht.php"); ?> <?php include("./footer.php"); ?> Projectoverzicht: <div id="gtco-project"> <div class="container"> <div class="row row-pb-md"> <div class="col-md-7"> <h3><?php echo $page->introtitel; ?></h3> <p class="desc"><?php echo $page->introtext; ?></p> </div> </div> <div class="row row-pb-md"> <div class="col-md-4 col-sm-4 col-xs-6 fh5co-project animate-box"> <a href="#"><img src="<?php echo $page->projectthumb; ?>" class="img-responsive"> <h3>Fancy 3D Letter Effect</h3> </a> </div> <div class="col-md-4 col-sm-4 col-xs-6 fh5co-project animate-box"> <a href="#"><img src="<?php echo $page->projectthumb; ?>" class="img-responsive"> <h3>Hard Cover A5 Format</h3> </a> </div> <div class="col-md-4 col-sm-4 col-xs-6 fh5co-project animate-box"> <a href="#"><img src="<?php echo $page->projectthumb; ?>" class="img-responsive"> <h3>Notepad Mockup</h3> </a> </div> </div> </div> I tried to place your code in my projectoverzicht.php but it still won't echo anything out <div id="gtco-project"> <div class="container"> <div class="row row-pb-md"> <div class="col-md-7"> <h3><?php echo $page->introtitel; ?></h3> <p class="desc"><?php echo $page->introtext; ?></p> </div> </div> <div class="row row-pb-md"> <?php $project_index = $pages->get(43); $projects = $project_index->children("template=projectdetail"); echo '<div class="col-md-4 col-sm-4 col-xs-6 fh5co-project animate-box">'; foreach ($projects as $project) { echo '<a href="' . $project->url() . '">'; echo '<img src="' . $project->projectthumb->url() . '" alt="' . $project->projectthumb->description() . '" >'; echo '<h3>$project->title</h3>'; echo '</a>'; } echo '</div>'; ?> </div> </div> </div> /* EDIT */ Oke, i'm getting some where with this! Only, as u can see, it won't echo out the H3 <div id="gtco-project"> <div class="container"> <div class="row row-pb-md"> <div class="col-md-7"> <h3><?php echo $page->introtitel; ?></h3> <p class="desc"><?php echo $page->introtext; ?></p> </div> </div> <div class="row row-pb-md"> <?php $project_index = $pages->get(1015); $projects = $project_index->children("template=projectdetail"); foreach ($projects as $project) { echo '<div class="col-md-4 col-sm-4 col-xs-6 fh5co-project animate-box">'; echo '<a href="' . $project->url() . '">'; echo '<img src="' . $project->projectthumb->url() . '" alt="' . $project->projectthumb->description() . '" class="img-responsive" >'; echo '<h3>$project->title</h3>'; echo '</a>'; echo '</div>'; } ?> </div> </div> </div>
  11. Hiya all, My structure is: Home > Projects > Project 1... And my goal is to echo the image thumbnail fields from Project 1, Project 2, Project 3 etc, on the homepage (called 'Portfolio site' in the attach). Can someone explain me the way to hook these fields to the homepage? I can't figure it out myself with the cheatsheet and my current skill level. Thanks in advance! Cheers, Hugo
  12. Hiya FBG, thanks for responsding. It was just a 'checkbox' view for guests which I had put off without noticing
  13. Hiya Mats, Thanks for responding... Pffffff, what a dumb mistake by me. The field itself was not visable by guests... Now it works again... wheheheheh Thanks for your time anyway!
  14. Its by the way just the pages with images. The text pages work for the guests.
  15. Thanks for your reaction, Yeah, thats a thing for myself. I need to add the description from fields underneath the lightbox image, but I can't get that fixed either :p. So I commented it out for myself to play a bit with... I looked at the console and commented that out, now the error is gone.
×
×
  • Create New...