Jump to content

Nico Knoll

PW-Moderators
  • Posts

    1,835
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by Nico Knoll

  1. You're awesome! I'd never thought about something like this...
  2. I could make a GitHub version of it so you could "pull" your theme improvements and so all regional pages could still have the same slightly different layout?
  3. Yes, I'm working on a kind of basic language template. Only have to translate some field labels before release within the next week I guess.
  4. No, I liked the footer in the last version of my site so it was allowed to stay
  5. Today I want to present my personal website with a new design and my tumblr posts (in "Blog" section) directly imported into ProcessWire: Nico.is What do you think?
  6. Hi, how do I get the timestamp of a datetime field for using in the frontend? I thought about $page->datetime->timestamp(); Greets, Nico
  7. Want, want, want! (And you didn't PMed me )
  8. Try: $output = $this->modules->get("InputfieldMarkup"); $output->label = 'Image Bla Bla'; $output->value = '<img src="abc.jpg" />'; $form->append($output);
  9. Used it today for the first time. It's working great!
  10. Normally this error happens if you have a bug in your PHP code. So try to comment parts out until it works and then have a look for the error in the out commented part
  11. But the pagetree is really flexible to design with CSS. If you send me a PM with some more informations why you don't want to use JS for pagetree I would try to help as good as I can
  12. Well, I guess my module saves the shortcode into an array with e.g. youtube as key, so I guess this will overwritten. I'll add a solution in the next update - thanks for finding!
  13. Okay, I added a note in the module section and in the gitub repo.
  14. Maybe: $pages->find('!title^="the "|"an "|"a ", sort=title'); ?
  15. Okay, glad to see it's working for you!
  16. This playlist is awesome: https://www.youtube.com/ watch?v=BhwF_yJMlG4&list=SPGznEl712WelO6ZhS8lc2ssweLuQaCKld
  17. Maybe a bit more details about what "crashed my site completly" means would be helpful
  18. Well, normally you do a search kind of like this: <?php $results = $pages->find('headline|title|body%='.$config->input->get->q); ?> This will result in a PageArray, so you can run the foreach loop after it like I said before
  19. Okay, I added this: <?php public function ___install() { if(ProcessWire::versionMajor == 2 && ProcessWire::versionMinor < 2) { throw new WireException("This module requires ProcessWire 2.2 or newer."); } if(version_compare(PHP_VERSION, '5.3.0', '<')) { throw new WireException("This module requires PHP 5.3 or newer."); } } ?> Should work I guess.
  20. In the search file you have a foreach loop so you could just generate these fake urls on the fly. Like: <?php foreach($results as $result) { $url = $config->urls->root.$result->category.'/'.$result->name.'/'; echo '<a href="'.$url.'">'.$result->title.'</a>'; } ?> (doesn't tried it)
  21. I'm not an expert for google maps but build this with mapmarker fieldtype and google maps api: http://interrail.nico.is/orte/ If you want I can send you the source code
×
×
  • Create New...