Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/02/2012 in all areas

  1. Hoï guys! thanks a lot for your great help! The links are quiet helpfull and the code just perfect ) Thank you so much for your kind and so quick help! p.s @Soma: nice to see an other swiss guy. p.s. you can tag this topic as "Solved" as I don't know how to do that.
    1 point
  2. As a php notice where the field label text output would be. Maybe your server has notices disabled.
    1 point
  3. Again, thx for your always clear and thorough answers. Maybe it can get a little annoying people asking stuff that's obvious to you but if i encounter something that i don't understand most of the time i ask to make sure i'm not missing anything and/or doing something wrong.
    1 point
  4. When I tested your code 1:1, and turned on debug. It showed me the warning that the $language var doesn't exist.
    1 point
  5. In the /site/config.php file around line 92 you can find $config->debug = false;.
    1 point
  6. The max items is a planned future addition. I'd originally planned on having it in the first version, but decided to keep things as simple as possible for the first go around. Max items will make an appearance in the next version. When you leave out a label for a field, it's going to show the name that it's using internally. The same goes for repeaters. But because repeaters need to have the same field repeated over multiple times, they get the ID appended to the field name. That's necessary because an HTML form is all operating in the same namespace, so we can't just refer to "this_field" as "this_field". Instead we have to refer to it as "this_field for repeater item ID 1234", i.e. "this_field_repeater1234". That's what you are seeing in the screenshot.
    1 point
  7. Go to site, config.php around line 90, set to true: /** * debug: debug mode causes additional info to appear for use during dev and debugging * * Under no circumstance should you leave this ON with a live site. * */ $config->debug = false;
    1 point
  8. No need the apologize. You gotta start somewhere. You can find examples in the forums. If these won't work out, let me know and I will try help you otherwise.
    1 point
  9. Not sure, have you debugging turned on?
    1 point
  10. Extremely helpful! Between that and the ocasional thread searching in the Forum, I'm basically set!
    1 point
  11. Great stuff on the auto-complete field. So useful for many things!
    1 point
  12. Got the bad boy! Uninstalling ProcessPreview fixes the problem. I already posted an issue on Github. Thanks for the hint
    1 point
  13. Few You got almost them all. I think it is some autoload module causing issues. Or then few of them together. It would be helpful if you uninstall those modules one by one and check when it starts working.
    1 point
  14. Thank you, Ryan! Great feature!
    1 point
  15. This is great, very welcome addition!
    1 point
  16. Same here. Couple of times a week it comes in handy!
    1 point
  17. Usually use it a couple of times a week and find it extremely helpful! Thanx, Soma.
    1 point
  18. You may also want to look at using multi-language fields, or multi-language alternate fields for this (if you aren't already): http://processwire.com/api/multi-language-support/multi-language-fields/ As for detecting a language from a URL, a GET var is a fine way to go. Though note that you'll want to keep your templates cache settings off, since GET vars aren't cachable. Other options include a URL segment (if turned on in your template) or a subdomain. A URL segment might look like this (for english): /boats/barca37016/en if($input->urlSegment1) { $language = $languages->get($sanitizer->pageName($input->urlSegment1)); if($language) $user->language = $language; } A subdomain might look like this (for english): en.yachbrokers.com $name = strstr($config->httpHost, '.', true); // requires PHP 5.3 $language = $languages->get($sanitizer->pageName($name)); if($language) $user->language = $language;
    1 point
×
×
  • Create New...