Jump to content

Soma

Moderators
  • Posts

    6,808
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. Yes sorry, I forgot about it that it works only for 1 parent! Too many things in my head lately However, maybe you can use "parent=id|id2|id3" if it only for direct children pages. Maybe you can tell a little more about what you want to archive, I'm sure there's a good solution.
  2. Sorry, I assumed it is clear. In the field advanced settings. Go to Setup -> Fields, open title field and under Advanced you'll find the Global setting. Uncheck it and you can remove title fields from templates.
  3. Remove global flag from title so you can remove it from templates. Name field is required, as it is sort of the "id" of the page that is needed to have.
  4. I think it's because Im using latest dev 2.3.
  5. Great work Ryan! Well I can't say I like ckeditor more than tinymce yet. But that's maybe personal experience using them. Sure some things are nice and it may more robust in some cases, and inline mode is such a cool feature, but overall I still struggle to see what's really better for an editor. Testing the new editor I think as it is now, the table tool is not really more usable than with tinymce. I think it's even worse or same. In Chrome it's hard to use and select (same in tinymce), in FF it works but if you turn off border you can't see the table anymore like in tinymce. This is in inline edit mode and standard. Maybe there's a setting like in tinymce to show it?
  6. Thanks for adding Nico. Wanted to mention an notice that shows up when in debug mode. Always turn on debug mode when developing. <b>Notice</b>: Undefined index: id in <b>/xxx/site/modules/ProcessPreview/ProcessPreview.module</b> on line <b>31</b><br /> And then also the Page Tree doesn't load when debug mode in on..
  7. Profile exporter doesnt work for fully with multilang title field yet as you found out. But that'salready known. However you don't need profile exporter to update from 2.2.9 to 2.3. Just replace wire folder.
  8. And I found that out without debugger... :-P
  9. Well the imageType and filename property is protected in the imageSizer class. That's why.
  10. And does it work? I don't know really what is if it doesn't work. Maybe something like this? http://stackoverflow.com/questions/5444249/unable-to-find-the-wrapper-https-did-you-forget-to-enable-it-when-you-config
  11. Just tried and it works for Thumbnails. I guess then it has something to do with allow_url_fopen php setting not enabled which is required for loading from external urls? http://www.php.net/manual/en/filesystem.configuration.php
  12. Can't you just put this code in your main template? if($user->isGuest()){ throw new Wire404Exception(); // or redirect } else { // not guest }
  13. Use maybe has_parent=id|id2 I think that should work
  14. Try increasing max redirect in modules settings.
  15. You could always test for the width and if smaller don't do a size(). if($page->image->width() < 500) { $img = $page->image->url; } else { $img = $page->image->size(500,0)->url; } Also have you tried doing a $page->image->width(500); Does it also upscale? However I think it should be taken care by the size itself.
  16. And even after 2 years PW you think you knew everything you discover something new.
  17. You can extract the month of a date with $month = date("m",$page->date); // 03 $month = date("n",$page->date); // 3 But not sure what you're looking for. Foreach it?
  18. Cool thanks! Bisch voll im Schuss!? ;-) Why didnt this post appear in my no read list?
  19. You mean like this? http://modules.processwire.com/modules/pdfcomposer/
  20. LOL Damn joss this is brillant! Shame I didn't notice when viewing this on mobile back then, the audio wasn't showing up, just noticed now...
  21. Yeah I know about this issue. Since LanguageLocalizedURL module by mcmorry was first a single file module. I think this could be added but it's an edge case and I think all modules should have their folder by default. I could check for the class name (if provided) and search for single files, but not sure it's worth for now, since this is still "alpha" and considered to be integrated into core there still lots of work to be done anyway.
  22. I did mean previously that eval() to execute php is bad practice theres more elegant ways to archive what you're speaking.
  23. I could build this site in PW in 1-2days and it will be fully flexible content block type you can build those pages and have all configurable and sortable just powerful with sliders and colorpickers. Think outside of the 'page' and step back. Use them as blocks. You got jquery at your fingertips for the whole page tree, repeaters, page references. This may sounds as it would be silly but see pages as repeaters and there's nothing that can stop you. See one one page as a page you look on the screen and you'll be limited by what it can do. PW is build to work this way and performs and scales very well. There's plenty of module already and they`re easy to understand and build/maintain. I'm not a very good coder but PW makes me look like one.
  24. Ryan dont you think users unpublished should have strikeethrought?
  25. Pw has no template tag language and will never have in core level. However this is an easy task and would make a simple textformatter module. Basicly what wanze does but more convenient.
×
×
  • Create New...