Jump to content

Soma

Moderators
  • Posts

    6,808
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. @mike thanks for the heads up. Since you found the root of the cause, could you let the admin theme developer know that it's not working? http://processwire.com/talk/topic/1856-release-ergo-admin-template/
  2. Just wanted to add that parent=1006|1003 will only give direct children of those two pages and not recursively all children and grandchildren... So once you get on 3rd level it will stop. This may not an issue just a limit of this use. There's a select field has_parent=1006 which does include all that are in that parent with all subchilds, though it doesn't allow for multiple only one ID. So going templates or checkbox way is most flexible and solid solution. Edit: you could work around the limit also with something like this (being creative) <ul class="nav"> <?php echo $nav->render(array('selector' => 'id|has_parent=1006', 'outer_tpl' => '||' )); // outer ul empty ?> <?php echo $nav->render(array('selector' => 'id|has_parent=1003', 'outer_tpl' => '||' )); ?> </ul>
  3. Great work and thinking. Shouldn't the calls be camel case imRotate() ?
  4. From in this thread http://processwire.com/talk/topic/2768-processwire-23-testing/?p=30475
  5. Uppps I posted this from mobile and my mind was in another thread of mine... So ignore my post!
  6. Latest PW. Nothing special, no matter from where iI call the find. Not sure what else to say. I will test with another install again. Wrong thread! Sorry.
  7. To select another fieldgroup for a template is only available in advanced mode.
  8. Is that test with multilanguage fields? I can't get it to work, even when I tried from a template. The module I tried to get it to work is ImageManager, but I did remove the parent.title at the end since it's also not really needed.
  9. I just pushed an update to 0.0.2 to github. Some refactoring and some changes - changed image tag syntax to use selector string syntax. This is easier to handle and I can use the PW selector class to read key=value easily. Now supports: {image=/path/, width=200, height=200, class=someclass, id=myimage, rel=album} - improved image upload to use the image field settings for max size settings, also improved error handling there- added some translations string - changed data table some and added a input for the tag where when you click it will select the tag text automatic for easy copying. - added modified date (sortable), also fixed some stuff with sortable of other cols - added size col - improved data table live search to search for also image description or image description field and title Planned - improve upload even more if/where possible - add easy image delete function - (Done) add textarea fields setting, to only insert "ImageManager" button to those specified Any testing or help appreciated. Thanks
  10. You can enable advanced mode in config.php and then create a new template for childs. Under the fieldgroup list you see now a fieldgroup select from another template. Chose basic-page and youll have a reference. Set family settings how you need and unde advanced tab look for alternative template setting and enter basic-page. Now it uses same template file.
  11. When I have a selector with a parent.field all other fields get ignored: title|body|parent.title%=keyword Doesn't return result that would be found in title or body anymore. Is this a limitation for the parent field?
  12. Its in since a week or two.
  13. I remember when there was or maybe still is a bug with when languages installed that when installing a module admin page it doesn't set the title for alternative languages just default, depending on user language who installs the module. So I just went a looked at the process admin page... Turns out the "name" of the page is correct for both languages, BUT the "active" checkbox isn't set. This is from the new Language Page Names module. Setting this checkbox active for the laternative language it starts working and the edit url is correct. This is a tricky one that will may cause some trouble in future with module developement that use techniques like this... I can already see.
  14. My language setup is standard languages module, language fields and language page names. So the user language is the one you currently view on the front end. New language page names module does all the url and user language. This is the default link http://pwmultilang.ch/processwire/page/fredi-field-edit/?id=1001&fields=body&modal=1 this is when on alternative lang: http://pwmultilang.ch/?id=1001&fields=body&modal=1
  15. Hey, just tested this with previous version and seen you updated. So I grabed it and I can't see a difference to before. When on default language it open modal with body and both languages to edit fine. When on alternative language of the page, the modal just loads the home page inside. It would be nice to have the modal bigger. My Images Manager or insert image modal does open inside it and it's quite claustrophobic.
  16. Ah ok that something. But the languages are active. But I had on the home, entered "en" in both default and german language name. I corrected that and have now default "en" german "de" on home page. Now the german pages work for guest user but NOT the default language, it just shows 404. Now the url is /en/about/, but the page about shows only /about/ as the url. So somehow the language segment for default language doesn't work for default, but works on the alternative languages. So if I remove the "en" on home name it works. So there seems to be a bug.
  17. Well, the process module doesn't have diabled install button so something is wrong.. ProcessFredi and FrediProcess are different modules, so it can't work
  18. The body text isnt shown on the page just an edit link instead of the body text. Ah now I get iz. Think it wasnt too clear about from your example.
  19. I'm on a other install with no languages. Still doesn't output the body text when using echo $fredi->body. Just the edit link.
  20. I just tried on a non language install, and got same issue. Thanks, yeah it seems the process module doesn't get installed at all. Although it says it installs it, it doesn't. I installed the proces module and now the edit link works and opens field, but the text still isn't shown/rendered on page...
  21. I also just tested with a non language field and same issue as above. I don't know what is wrong.
  22. Yes I have scripts. I get the link only with no text and if I click it just loads the homepage in the modal. <span onclick="TINY.box.show({iframe:'http://pwmultilang.ch?id=1001&fields=body&modal=1',boxid:'frediModal',width:750,height:450,fixed:true,maskid:'bluemask',maskopacity:40})" class="fredi fredi-body">edit</span>
  23. Not sure what about it, but when I'm logged out (guest) the language page names doesn't work at all, it just throws 404 on front-end. When I uninstall the module I can access the pages (without language url) just fine.
  24. Does it works with language fields? Because all I get is a "edit" text instead of the body and a edit link.
  25. Apeisa i think you have to set some track changes when modifiying repeaters. Am on mobile so cant look.
×
×
  • Create New...