Jump to content

Soma

Moderators
  • Posts

    6,800
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. It doesn't work if I use "8 März 2012 12:00" type of input. I've set the locale in the translation "de_DE" so the input get's localized depending on the user language.
  2. Some references: http://processwire.com/talk/topic/1119-global-content-in-footer-settings-page/ http://processwire.com/talk/topic/983-site-title/ http://processwire.com/talk/topic/1985-modify-title-tag/
  3. When I save a page (without any changes) it always says there's 3-4 changes although I haven't done any changes. It turns out the language fields get "unset" and somehow PW makes changes to those fields altough nothing has changed. For example tracking the page save and getting $page->getChanges() I get this unset:headline unset:title title headline and title are language fields. Not sure what's about the title. So the save message shown is Saved: /templates/ (3 changes)
  4. I have a datetime field and using latest dev version, when changing the date and saving, the date field turns out empty after saving. When dropping in master, it works. Edit: It seems only to happen when the user has not the default language. If user uses default language the datetime field works. Also maybe it has to do with that the is localized... So If my user is german the date input format is in german localized. Edit: Yes if I change the input format to not include string dates it works again. So I'm not sure what's about it.
  5. In this case I construct the product urls to have only one main category or use what apeisa said.
  6. You could also use PWs $config->scripts->add(path) and $config->styles->add(path) to register scripts and output them same way as in the default.php found in templates-admin. https://ryancramerdesign/ProcessWire/blob/master/wire/templates-admin/default.php#L67
  7. Bumpidibump.
  8. It's supposed to be in the template file where you want to output your navigation markup. Not sure I understand the question. Where else should it be?
  9. It is reusable changing the properties in the int. But it was an example for a request of user and team pages. I was working on a little more abstract version but havent continued. It works for small amount of pages but to be more scaleable it would require a different approach. This is just straight forward code and melts your synapses if you look at it for too long. ;-)
  10. Ok found it https://gist.github.com/4335296
  11. I already created a module that does this couple weeks ago. Youll find it on my gist page or in forum. On mobile so toolazy to search it.
  12. Name field isnt unique. A textfield and making it global isnt either.
  13. I've seen processwire.ch is also already in hands of a swiss fotographer. Hmm Why?! I was also thinking to get processwire-cms.ch. Even if doing a redirect to you guys
  14. I made some changes to get rid of the 404 problem and changes some minor stuff to then work with LanguageLocalizedURL module too. Dave could you please take that code https://github.com/somatonic/MarkupSitemapXML/blob/master/MarkupSitemapXML.module and test if it solves your issue before pete accepts the pull request? Thanks
  15. I made some changes to get rid of the 404 problem and changes some minor stuff to then work with LanguageLocalizedURL module too. fmgujju could you please take that code https://github.com/somatonic/MarkupSitemapXML/blob/master/MarkupSitemapXML.module and test if it solves your issue before pete accepts the pull request? Thanks
  16. I have shell scripts to copy the live site to the dev. I could see a tool to export and import content. So it would be possible to work on dev, and let editor edit content on live site. Then reimport content from live to dev, before pushing all from dev to live. But this can give conflicts with content created on live, while at the same time maybe adding content to on dev version. So maybe prone to errors. Really don't know what could be done and in what way, I just know it's very hard to bring a solution, and there hardly any CMS that has this functionalities for a good reason. Migrating content is not what I mean which is easy.
  17. Translation for core admin, we already have repos. To pack all 3rd party module translation into them too I think is not a good idea at all. Better keep them with the module they belong to.
  18. Well you could try to empty assets/cache
  19. Just intalled and added an translation for the inputfield module. Works fine without problems, the translation are shown as it should.
  20. Was wondering if this is the start of using PW tree as a html dom tree?
  21. Never too late Wanze! Corrected my post above... need some sleep too
  22. Then what is the field you use to make that select? Too little questions you ask to be able to help from guessing.
  23. Sorry . Damn mobile reading i missed it. Ok but the answer to your problem is: You have to write children() as it's a method not a property. Some other API can be used both with and without so but in this case i think it doesnt. Maybe still something for Ryan to change in case it's this. Damn again, I shouldn't call from memory when having sleep loss. I think Wanze has a good point below
  24. *ZENSORED* completely missed it once more
×
×
  • Create New...