Jump to content

marcin

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by marcin

  1. Congatulations for being featured in ProcessWire Weekly and kind regards from Gryfino! World is so small.
  2. Hello, thanks for response. Unfortunately, it was my stupid, stupid mistake. I checked everything, but not a page selector. Sorry for wasted time and a lot of thanks for interest! Marcin
  3. Hello guys, I got quite annoying bug - I have two multilingual textareas in one template, and after I fill them, only first is outputted. Second one's value is NULL. I checked DB, content of second textarea is on it's place. Have anyone similar issue?
  4. OK guys, problem is probably a bit more complicated - @Soma's solution won't work if I want to search for some list of pages' IDs in multiple page field(not through all pages in system). It's a part of quite complicated search, so list of items is processed a few time - using filter() is prefered, multiple loops would probably decrease performance. Example: I have list of pages: $itemsList - each item has attributes field(it's a page field). There is also array of attributes' IDs - I want to filter items which have all of attributes in attributes field. Thanks, Marcin
  5. @Soma: I have attributes set as pages. So I have list of all attributes(list of pages under Attributes page) and Page inputfield in some template. Now, I want to search only these ones(from this template) which have selected all of attributes I choose. You idea seems to be quite nice thanks.
  6. Unfortunately, I need to check whether all of them are in PageArray. But big thanks for help guys.
  7. Yes, it's true, but probably method provided by API would be more efficient. If there's nothing like this - nothing will happen.
  8. Hello, I want to check whether PageArray contains some list of pages - as input I would like to use an array of pages' IDs. There is some elegant way to do it or I need to loop through PageArray and use $p->has("id=X")? Thanks, Marcin
  9. I'd suggest Redactor - http://imperavi.com/redactor/ - I haven't played with it a lot, but it looks and works pretty nice!
  10. Thanks a lot! I probably ommited it while searching. Marcin
  11. I recently noticed, that "sessions" folder contained ~28k of sess_* files. Is everything all right? PW creates new session for each guest? Thanks, Marcin
  12. @ryan, thanks for your reply. I'll try it. Another question - is there some easy way to use PageSelect field? Module has it's own page in admin, so I probably can't easily add this kind of field to 'admin' template. The only thing I need is selected page ID. Thanks!
  13. Hello, thank for your reply Whole thread you mentioned, appeared to be very helpful, thanks a lot! It solved both: a) $somePage->set('variableName', value) b) $somePage->template->set('filename', 'differentTemplate.php'); You idea about returning JSON - pretty cool! PW community is really awesome.
  14. Hello, I'm working on simple newsletter module and I want to modify page source(different header, no navigation and sidebar) while sending email based on page. I need one of these: a) pass a variable to page(the same as isAjax works, eg. isNewsletter) b) render page using different template file and have no idea how to achieve one of above. I'm also wondering whether it's possible to get JSON response in admin? Module method ___executeXXX() prints whole page. Thanks, Marcin
  15. Hi, it's kind of proposal - is it possible to replace "special" characters (e.g. ś, ć, ł,... in polish) after uploading a file? The same as in "Name" field(ł => l, ś => s, ...). Currently there are dashes, but if it works somewhere, there must be some replacement array for few languages. Thanks, Marcin
  16. @MadeMyDay - really, really cool! Looking forward installing it.
  17. It can look like this: http://jsfiddle.net/XXnTQ/1/ Image is under page title, you can preview it better after hover.
  18. Okay, I understand. Unfortunately, it still doesn't work, any ideas? EDIT: OK, it works I think. I cleared cache in Opera, and tested in Chrome. Lame. Thank you, people.
  19. Is there need to update database somehow? I have Cache module turned off and I experience simillar issue as Soma.
  20. Go to Admin->Setup->Fields, then edit your images field, choose Advanced and look up for valid file extensions field.
  21. My method: I use a simple textarea with youtube links separated by newlines. Then, in template, I split them and generate iframes in loop. It has one, significant disadvantage: all the movies are placed in solid column, so it's there is no way to intersperse text with movies.
  22. Short question to all creators of language packs: isn't it a good idea to store these packs on e.g. GitHub? It would simplify adding other peoples' improvements and changes.
  23. en-GB, en-US, ru-RU, fi-FI, hr-HR, fr-FR, de-DE, pl-PL, es-ES... Amazing!
×
×
  • Create New...