-
Posts
2,321 -
Joined
-
Last visited
-
Days Won
44
Everything posted by tpr
-
Perhaps you should ask about PHP's future instead. ProcessWire is only a tool that helps you utilizing its features. There might come other similarly handy tools in the future but currently it's among the bests. So I guess PHP will stay with us for a while and I'm sure PW too
-
Ask Reno Tom
-
It's a clever idea, thanks! I will add this to the upcoming FAQ section of the readme. As I wrote, closeOnSave=false also let you edit the Children, but the "modal in modal" is better because the parent page remains in sight.
-
Actually it could work but it would be a mess. The lightbox would navigate to another page to edit and as there are no menus and Back button, one would really get out of control. The lightbox is opened in a "modal" mode and that is for a reason, FEEL does not try to bring the full admin to the frontend. However, there will be callback functions (js) in the next update where you can remove the "&modal=1" part of the iframe src if you wish.
-
I guess I haven't, and as I see there's no easy way to make that work, unless setting "closeOnSave" to false. Perhaps I could come up with something but I don't see any general solution for that atm. Btw, the target tab needs the href attribute instead of the id, just figured out myself
-
Are you sure? It's "ProcessPageEditChildren" here and works fine. (But there's an unrelated bug: tabs can be loaded even they are hidden, will fix it)
-
Yep, that's it. They are set to hidden by default.
-
You mean portable web server for Windows? There's many of them, I use EasyPHP: http://www.easyphp.org/
- 30 replies
-
- deployment
- tools
-
(and 1 more)
Tagged with:
-
It would be nice if code block heights could be toggled. Especially on mobile it's frustrating to scroll through code novelettes
-
Yesterday switched back to the default theme and I agree Reno should be the default one. It just represents PW more and the first admin impression is critical. I would also support dropping the default one not to waste effort on developing two themes.
-
Thanks for the snippet. If FEEL will be made into a module then something like this is required. I'm still unsure whether a module would make things much easier. But it would improve its popularity for sure. Just committed some updates (dev) so now individual edit links can have custom options too.
-
The dev branch contains the latest updates on FEEL. It has some BC breaks but it's for the better Some highlights: new feature: edit page template on ctrl-click redesigned class system changed edit link html element to "<feel />" wrapper element removed extendable options rewritten & more verbose docs make the helper function the recommended usage mode using "all: initial" to reset all styles of edit links As the helper function is promoted as the main usage mode, perhaps FEEL could be made to a module. Any thoughts on this?
-
Offtopic: I just love Latte for such things: <p n:if="$page->bla">{$page->bla}</p>
-
Good luck on this but be prepared for a long term development I actually have a form processor that I use in several PW projects. It gets form data from Nette forms and creates a page on each submission. It's kinda drop-in but fully developer oriented. Of course it surely has some flaws but it gets better on each project. If I were you I wouldn't reinvent the wheel as there are many proved solutions out there. I see more potential in integrating a 3rd party form and leave the heavy lifting to others
-
I'm in - and what to do on PW day? - no coffee all day? - donate some bucks to a library/module/framework/etc developer - post some lines of code from your current PW project (or desktop screenshot)? - eat spaghetti till dawn? (will do this anyways ) Of course suggestions are welcome. Perhaps Ryan could pick a date (with PW datepicker, of course )
-
You can set the target field in your edit links (notice the blue outline): This works with tabs too (see details on GitHub). Unfortunately there's a WebKit bug that causes the lightboxed iframe jumping to top but it's only a cosmetical issue, hope it will be fixed soon.
-
And another brick to the wall: setting column header checkboxes based on column items. If all items checked (or marked for deletion), the "check all" column checkbox gets checked. State is also set on loading BCE.
-
Two important updates: initializing the lightbox on click instead of document ready: this allows DOM manipulation and keeping functionality (eg. when appending or cloning the item elsewhere in the document) multilanguage-aware helper function: tabs of the active language are opened by default (see examples on GitHub). This is really handy because it is easy to mix up languages even for me not to mention the clients Unfortunately the built-in editUrl() doesn't seem to provide this feature but appending "&language=LANG_ID" did the trick. No more messing with language tabs
-
$page->localName($language); Read on: https://processwire.com/api/multi-language-support/multi-language-urls/
-
Actually just created a new PR - row deletion was buggy, it just toggled states instead of setting/unsetting all rows for deletion. Sorry for the inconvenience. Thanks for your work!
-
This should be fixed now. Please stop adding that much features It was an easy fix, adding white-space: nowrap to the thead. At least that was the easiest solution and I don't see any drawbacks. Clicking on the thead items could replace the header checkboxes, question is that the sort feature will remain or not.
-
Same here, 2.6.17 + latest BCE dev and no issues, except the shift-click one and sortable table headers. The latter could be removed using "$table->setSortable(false);" in the module, if not required. Header items are still clickable though (because the CSS cursor: pointer).
-
No, I only added the thead checkboxes, the sort icons were already there. It looks if there was some js file is missing or somehow it is blocked, but no signs of that in the console. I also got all the issues Bernard has. I will try the dev version later. Isn't it some module setting that blocks some features? (eg. add new page button)
-
I don't think the shift-click is related to this module. That was the first thing I tried before adding the header checkboxes. The rearrange feature doesn't work here, and clicking on the the headers doesn't sort the columns - I don't know if that is normal.
-
PR done! Feel free to review. It doesn't check whether the items are checked or not, just toggles items on/off.