arjen

Members
  • Content count

    1,041
  • Joined

  • Last visited

  • Days Won

    6

arjen last won the day on November 14 2016

arjen had the most liked content!

Community Reputation

1,041 Excellent

About arjen

  • Rank
    Hero Member
  • Birthday 03/10/1982

Contact Methods

  • Website URL
    http://arjenblokzijl.nl
  • Skype
    arjenblokzijl

Profile Information

  • Gender
    Male
  • Location
    Hoogeveen, The Netherlands

Recent Profile Visitors

17,037 profile views
  1. What did you try on the if? It could be something like: <?php if (date('d-m-Y') == date('d-m-Y', $single->Start_date) : ?> <div class='Danes-text'>TODAY!</div> <?php endif; ?>
  2. First off I would suggest to call ProcessWire from one type of call. You use wire('fields') and $this->fieldgroups. I am not sure if $this will point to the module class or ProcessWire. You could check this out using a barDump in Tracy: bd($this); I would stick to $this->wire() so adding a new template: $this->wire(new Template); Or getting other stuff: $this->wire('fields'); $this->wire('templates'); $this->wire('etcetera'); As an alternative you could check out this example.
  3. Hi @Karl_T, There need to be made more changes since there I believe that are different arguments in the different hooks (see and see). It is unfortunately not as easy as changing hooks.
  4. Hi @Karl_T, the modules needs to be changed to execute on the savePageOrFieldReady hook. Unfortunately I'm not able to work on Reno's module. We went a different approach. See this topic:
  5. Could you post the code? Not sure where the id is coming from.
  6. $events = $pages->find('template=calendar-post, limit=8, Start_date>=today, sort=Start_date'); if (count($events)) { echo "There are events, yes!"; } else { echo "Out of luck"; } Small clue
  7. Thanks @benbyf for creating this. Exactly what I thought when I read it
  8. Check if you have installed the ProcessPageClone (/processwire/module/edit?name=ProcessPageClone) module. This installs a few permissions: You could check if these are stored on the role of your user. If you want to monitor changes by users on pages be sure to look at ProcessChangeLog or MarkupActivityLog.
  9. That's why I wanted to see the screenshot Thanks for posting back.
  10. Myself I am a big fan of Textile (coming from Textpattern years ago), but since Markdown has 'won' the battle I'm using this a lot too. Even some clients made the jump from WYSIWYG Good luck with your blog and looking forward to your tutorials.
  11. Hey @abdus, very nice and considerate of you to ask. This would be a great addition to the tutorials section. I think a blogpost have more styling options than a long forum post.
  12. Hi, Welcome to the forums. Sorry to hear you are having troubles saving pages. Can you post a screenshot of the template configuration (Tab: Basics) of the page you are trying to save? Also which version of PW, PHP and MySQL are you using?
  13. I guess it would be pretty easy to hook the PW logs and post them to another server (local or over the internet). So another thing on the to-do list
  14. Haven't seen those errors before. Did you check the content of the database itself? Like are the tables (i.e. "pages") really there? Also, you say you upgraded from 2.4 to 2.8 and then you exported the site profile? Why didn't you upgrade directly from 2.8 to 3.x replacing the /wire/, index.php and .htaccess? I've upgraded many sites, but haven't ever used the site profile export/import construction.
  15. Hey @alan, Right now I'm looking into storing logs with a tool. Since we have multiple installations running around I was also wondering if you were going to log the ProcessWire logs as well with logstash? Or just the server logs? Would you be so kind to share your experiences? Thanks!