Jump to content

Nico Knoll

PW-Moderators
  • Posts

    1,835
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by Nico Knoll

  1. Glad that I could help you
  2. Well redirects only working for "real" urls like "yoursite.com/home.html". Not for IDs in queries (the part behind "?"). What you could do is to add a switch to your index page (probably home.php in the templates folder): <?php switch($input->get->pid) { case '1': $session->redirect('http://thenewpage.com/newpath/'); // this will happen if pid in URL is 1 break; case '8': $session->redirect('http://thenewpage.com/anotherpath/'); // this will happen if pid in URL is 8 break; }
  3. What I would do: Give them all the same template and add a "switch" into the template file. Like if your template is called "page" put something like the following stuff into "page.php": <?php switch($page->name) { case 'apage': include 'page-apage.php'; break; case 'anotherpage': include 'page-anotherpage.php'; break; case 'maybeagallery': include 'gallery.php'; break; }
  4. It's like Ivan said: Looks like a TinyMCE problem. Do you tried different Browsers? Which OS are you running (looks like windows 2000)? Have you tried to use another computer?
  5. Nico Knoll

    World Cup 2014

    Well I have to admit that I was near to a heart collapse for like 117 minutes. And then: ★★★★ Afterwards I was on the Ku'damm and it was like Silvester with hundreds of thousands of people on the streets:
  6. Well I'm not sure if understand the purpose. I mean you could create those pages manually because you can only create those pages with page-name=template-name only once (for any parent) anyway. So could you may explain a little bit more of the context? Maybe there's a more elegant way to solve this.
  7. Of course it is extendable. And I think I should do it with textbox-list module, too. But I think it's better to keep an example as clean as possible (no extra modules).
  8. Hey, I wrote a little tutorial on how to add dynamic meta tags to your page: http://supercode.co/posts/processwire-best-practice-meta-tags/ Any questions left? -- nico
  9. Hey, sorry for late answer but I were on vacation the last days. Looks really nice what you have done. I had neither time for trying it nor compare it with my module but I definitely will do this within the next week. Thanks! -- Nico
  10. @dazzyweb: yeah, the admin part of it.
  11. Nico Knoll

    World Cup 2014

    Germany of course
  12. Hey, could you post a picture of your usage of pro fields for the price table? Cause I think I'm going to need something similar in the next time
  13. What about certificated modules? Like every module in the modules section should be checked and afterwards gain a link containing a code. If you cick on it the certificate is shown containing module version release date and source and the md5 key to check if something is modified. Something like this. So you would know if you're using a safe module (with serialization, etc.)
  14. Thanks to Ryan and Avoine who make stuff like this possible
  15. Maybe you could use ryan's csv import after exporting the database as csv. Then you could easily add some special stuff into the while-loop
  16. <?php // home template $session->redirect($pages->get('/')->children->first->url); // or even easier because it is already the "homepage" $session->redirect($page->children->first->url); ?>
  17. Well I think it's alright then. If 1022 contains the images for 1022 it was a successful import.
  18. Could you post a sample of your code?
  19. Or do this in your sidebar file: <?php if($page->template->name == 'home') { // show some stuff if home template } elseif($page->template->name == 'page') { // show some other stuff if page template }
  20. Nico Knoll

    World Cup 2014

    Haha
  21. I would support you if any possible. Would love to have a stable shopping system on PW base (including, taxes, currencies, different porto, etc.). Maybe we could just start with making a list somewhere to collect stuff that needs to be included and stuff that could be included (like stripe checkout or stuff like this). What do you think? Btw.: I really often need to implement a shop so this would be really great. Maybe we could even raise some money if this allows you to put more work into it (Going to write you a PM)
  22. I don't understand any word but it looks great
  23. Edit 2: Found the problem. It's a bug in my Quick Tags Editor...
  24. Hmm... It's only 16.400 bytes. Don't know why it isn't working then... Edit: It breaks after 8000 bytes...
×
×
  • Create New...