Jump to content

Soma

Moderators
  • Posts

    6,808
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. Sorry for the double post. Ok this gets kinda weird, but It worked for me only one time with as smaller image... but after the second try it didn't even with smaller images. Attached a screenshot, the iframe that loads has the selected image div which is empty ... height:0 ... does it get loaded by ajax into it? and replace those "..."? I can't se any errors or anything, might be some kind of chrome bug, cause just tried and it works in safari, can't test on firefox because he hangs himself up everytime I open him And forget about the 50%! Stupid idea...
  2. Yes the images fit the fancybox width, but if having really large images it gets slow, would be cool to have like 50% though it's may just because I'm on 13" mbp... aaand also the images max width height setting isn't set on those, that would not be the case in a real site. It's strange after I select the image it disapears... always, I noticed this already sometimes before, I will check out more to may find the real issue. It could be the large imagesize, I developed similar thing in my admin apps and also experience some strange trikcy behavior with fancybox modals and images vs js css etc. I understand your point and agree in that it should not blur that too much, though having some king of simple ui response notification that makes it clear, like you already have on page tree list move actions, well it is in a kinda different context. But still I agree that it need attention in the ui interaction design
  3. that kinda was what I was asking for here http://processwire.com/talk/index.php/topic,465.0.html I already was this far to have the right hook on inputfields and all but missed the obvious, that playing with str_replace I replaced itself each recursion... was late night. Thanks for the example that helped and made some things clearer.
  4. Anybody?
  5. ...just one word. Orgasmitastic! Just installed and it's beautiful to watch, uploading 20 6mg images and see them process.... One minor problem though to be almost perfect: sorting after images are uploaded doesn't work nor doesn't fancybox. After refreshing page it works. EDIT: Well sorting works for newly uploaded images if there IS already images saved there in first place. But fancybox still doesn't work for the newly added. EDIT: Sorry for being so picky. But I would expect that when instantly adding images this way that the sorting alos gets saved per ajax instantly. It doesn't though. While playing around I tried add images in tinymce, and it shows full size images among to select which is hard to see them. After selecting one it disapears and I can't resize it. I'm using chrome latest on osx.
  6. Thanks for the heads up. I see, I tried creating a role with that name "processpagesearch", and now I can see and use the search. But now I spoted some more issues on search page 1. Searching doesn't return result but should... there's a page with this title: ProcessPageSearch: Found 0 pages using selector: title|body~=about 2. In search results sorting the "created" field by clicking on the toprow label, does either not work or only work one way and not toggle.
  7. After creating a editor role to only view and edit pages, when I log in with a user having this role I can't see the admin search on top right. Is this a bug?
  8. I agree with that it needs some sort of shortcuts to delete and do tasks like publish and unpublish, and have a mode to select pages to via checkboxes and perform a certain status operation. Not only handy for developers (which are also users) but for end users too. Through API is of course the most flexible and powerful one as with all. IMO the drag and drop is nice but not always suitable and can be cumbersome for some people to use in cases when they use pad, small screen, there's lots of pages in the tree, handycaped etc. and the trash is all the way down and mistakes are made easily.
  9. So far it's not throwing an error when upload max size is exceeded. It just shows 100%. It would be nice, if it's possible to validate before upload starts, and after it's uploaded showing the preview. I don't know if I like the instant preview before the image is even uploaded or validated, it could suggest it's valid and already "there". IMO this is one of the problems with oldcool uploading, after 30 second of uploading a file, it says not valid or too big...
  10. Just intalled it and it works great so far! Now if we could only see the thumbs after upload is done.
  11. Just installed on latest PW21. Thank for this great addition! Works so far. Just one thing noticed (using chrome at least) when using this input type on a seperate tab it's bugged. It doesn't show the text until i click and select all it re-appears. This doesn't occur when using this in content tab.
  12. Just for when developing in PW it could be handy to... ... see the name of the field when hovering the label on page edit ... have a direct link beneath each field when editing a page that brings me directly to the edit field page. I imagine this would be a simple module. Any help to start such a modul would be appreciated. Thanks, Soma
  13. I think I spoted a minor problem on the sample site when installing new PW21. There's internal links that don't work. One on homepage "read more" (Basic Site Profile) links to a page that doesn't exist, and two others on /about/what/ are id tags {~root_url}, {~page_5813_url}
  14. I also was shocked about the 1meg. Quite a bummer. ExtJS alone is beyond imaginable, and that just for quick edits. Let alone the complications that can occur. Well it would be possible to run your site jQuery in a seperate namespace and make sure your JQ loads before Aloha ones... headache granted – Well in first place I was also thinking about doing something simple self brewn, that fits into PW. Just discovered Aloha few days ago. I thought it may usable but also sensed it may overkill and too akward to implement, use. Not to mention depend on it. Yeah images would be extasic. Lists? Small? Paragraph? Are you planning writing a wysiwyg in this case? Or using tinymce? Also what are you seeing will be the way to define what fields are editable on page? Something that's controlled in by the template file would be cool. BTW: I already hear a "Oooooh! my text is screwed, I copied from Word into the page!"
  15. As always, much appreciated! Already on my watch list. I can't wait to see how this evolves. I think having a way to build simple or even more advanced forms, is a very welcome addition to further speed up the process. "Everybody" hates building forms manually. EDIT: Oh and new version tested, still works!
  16. I finally tried this module out, and it still works in new 2.1! Thanks for the example Ryan. But it throws an error if it's saving the form as page: Exception: Method Page::removeRole does not exist or is not callable in this context (in /wire/core/Wire.php line 231) #0 [internal function]: Wire->__call('removeRole', Array) #1 /site/modules/FormTemplateProcessor.module(198): Page->removeRole('guest') #2 [internal function]: FormTemplateProcessor->___savePage(Object(InputfieldForm)) #3 /wire/core/Wire.php(267): call_user_func_array(Array, Array) #4 /wire/core/Wire.php(229): Wire->runHooks('savePage', Array) #5 [internal function]: Wire->__call('savePage', Array) #6 /site/modules/FormTemplateProcessor.module(237): FormTemplateProcessor->savePage(Object(InputfieldForm)) #7 [internal function]: FormTemplateProcessor->___render() #8 /wire/core/Wire.php(267): call_user_func_array(Array, Array) #9 /wire/core/Wire.php(229): Wire After commenting out the following line in the ___savePage() it works and Page gets saved as child of the form page: $this->contact->removeRole('guest'); I have only tested with standard text, email, textarea fields. Would be great to may have this developed further. What are the plans on this? This is intended to be for the admin only? Or would it be possible to have clients build a form in this way?
  17. Not sure, the code looks right. I'm using similar code right in front of me. $child->imagefield->url which returns url of image. On a side note: You could also use only one full image field and create various sizes on the fly like: $child->image->size(0,150)->url // max height 150, but keep ratio But maybe you already know that and want to have the possibility to have a different thumb picture than the full.
  18. You're right thanks! I was confused as the script wasn't working because I made a error and I checked what the $page->pagefield_radios returns...
  19. How can I get the page object, which was selected in the radio box list? $id = $page->pagefield_radios; // page field with checkboxes - returns id of selected: 1183 (as string?) $cat = $pages->get($id); echo $cat->title; // returns nothing echo $cat // returns 1 (id of root Home) $kat = $pages->get(1183); // id entered directly echo $cat->title; // returns correct "Acryl"
  20. Well no I got a problem with the Page recovered, it doesn't show up in navigation on page. When I go edit page it says: "This page is in the Trash", How can I fix this? EDIT: Just figured changed the status to 1 in the DB, it shows up again. Is this all that is to it? EDIT: Just noticed all childpages also changed state to 8193. So I lost all status information of the pages (some were unpublished or hidden). :-\
  21. I experienced something strange once I deleted a few pages. Suddenly I realized I deleted wrong page with lots of subpages, so I wanted to open trash to recover it. But I couldn't open trash, it loads and gets stuck, so I can't do anything anymore. I went to change parent id of the page I wanted to recover manually in DB, it worked and page is there again, but trash still doesn't open. I remember having deleted two pages using same name I created earlier, may this caused the problem. Well after empty trash it work again. Can't really say what happened or recreate it.
  22. I have a template that only can have a certain template as parent. But if I have pages set up, I still can change the parent pages template to use another template, it doesn't throw an error.
  23. As title already says. When I want to drag-move a page as a child of a page that has no childs yet, I can't. Even if the target page has childs but isn't opened, I can't move it.
  24. I'm playing with this input type recently, and it gets cumbersome to use, when each time I select a page the tree closes. If I want to select some pages from a certain branch, I need to repeat to open the same over and over again. Would be nice if it's possible that the tree stays open when adding pages.
  25. Recently was thinking, if it would be possible to use the HTML5 features to make an easy front end inline editor per field for PW pages. Check this: http://aloha-editor.org/ Haven't checked it out deeply, but it may even fairly easy to implement that on top of PW.
×
×
  • Create New...