-
Posts
7,479 -
Joined
-
Last visited
-
Days Won
146
Everything posted by kongondo
-
Welcome to the forums @sreeb. Please have a look at this post (including the gists): Use one of those custom functions (or one of your own) and use PHP logic to throw in your data-dropdown-menu in the first <ul>
-
Rudy, am totally clueless about what you mean . Please clarify. Selected where? In Inputfield/FieldtypeMediaManager?
-
Oops, that's $sanitizer->text() in action. Will think about what to change it to.
-
@vanderbreye. Of course . Remember this is ProcessWire..., the ProcessWire. // This will search even in image variations $media = $pages->find("template=media-manager-image, media_manager_image.description%=blue"); #echo count($media); // first() in our case is always the main image/media. foreach ($media as $m) echo $m->title . ': ' . $m->media_manager_image->first()->description . '<br>';
-
@Nukro I am hoping next week, or the week after at most. Your client can go ahead and upload images. Updating should not affect existing media.
-
@vanderbreye, it's created on the fly . Have a look at lines #677-718 and the function makeTable() (lines 60-85) in ProcessMediaManager.js
-
Tried this? https://processwire.com/docs/tutorials/troubleshooting-guide/
-
@Nukro 1. List view: Yes, that's on my todo list right here 2. I need to dispense with version 7 first. Then I will look into if/how I can integrate custom filters
-
Moved topic to Dev Talk as it is not, strictly speaking, a ProcessWire question.
-
@LostKobrakai.....uh, that's the exact link I specified in my post
-
Hi @spacemonkey95, I am not sure I follow. Tags are specifically what you need to group media. Creating subfolders (aka sub-media pages) would essentially mean a re-write of the module (unless am not thinking this through clearly). I also don't understand what you mean by starting point? Maybe if you could (graphically, if possible) explain your work flow? Thanks. On the other hand, if what you need is the ability for users to be able to only see the media they uploaded, that I can add easily (in fact I have already tested and it works fine). Basically we would use 'created_users_id' to filter out other users' media. I could add this to the upcoming settings.
-
Yes, there is a way ...there has been for a while actually. It's called OR:groups $search = $pages->find("template=post|project, (categories=one|two|three), (tags=yes|no|maybe), (connectedClient=1065), id!={$page->id}"); That should find results if any of the selectors in the brackets find a match AND the template='blah blah' and id!=1234 are also true .
-
Welcome to ProcessWire forums @Jee. Count is also available to fields: $out = ''; $items = $pages->find('template=categories, limit=10'); foreach ($items as $i) { $out .= $i->title . '-' . $i->options_multi_field->count() . '<br>'; } echo $out;
-
@Ivan Gretsky...not yet, sorry. Hopefully I will brighten your life once again soon-ish...
-
Quick update guys. Frontend module is ready. I have to update the docs first before releasing it though as with anything frontend, there are security implications if the module is not properly set up. Hence, the need to first prep the docs. Will talk more about how it works later but setting up the selects is quite easy. These are defined in a process module in the backend (think Menu Builder) with caching and validation right out of the box. Hope to release next week.
- 96 replies
-
- 4
-
- chained-selects
- dropdowns
-
(and 2 more)
Tagged with:
-
Just a note...a PW 3 compatible Blog is on the (long? ) way (thanks to contributions form @BitPoet, etc...).
-
Thanks for pinning this down Rudy.
-
@Michael van Laar...sorry if I sounded a little bit blunt...Just wading through a ton of 'todos' ...so short on time...Let's hear if there are other ideas on how this could be achieved...
-
@Rudy. Sorry, my bad. ProcessWire 2.8 and 3.x are one and the same thing, save for namespacing. What I meant was please test in any PW 2.5 up to 2.7. Oops, didn't take note that you were in a repeater. There have been other bugs reported about MM in repeaters in PW 3.x. So, I will file this under that, but just in case, if you can, please test in a PW pre-2.8 and let me know, just to be sure it's not an environment issue.
-
@Rudy. Thanks for the update. So it seems to be a PW 3 issue then. I have not been able to reproduce in PW 2.x. Could you please try in a PW 2.x and let me know? Thanks.
-
@Rudy. Hmm, not sure that's it though. I have been having a pesky JS 'uncaught' error in MM that I haven't been able to catch myself! I don't know what it's about. What version of ProcessWire is that? No changed files? @Nukro. I'll have a think about that request. @Michael van Laar. Thanks for your interest in MM. You got some cool ideas there . However, MM itself is not a media editor and there are no plans to make it one. Unfortunately, I have never used Croppable Image 3 nor ImageFocusArea. I really have no idea how they work and/if how they could be integrated into MM. I'll try to put aside some time to look into this further, but I can't promise when, unfortunately. If such an extension ever came to light, at this point in time, it looks like it would have to be its own module, packaged and sold or distributed separately from MM.
-
Should be modal...that's strange. Any JS errors? PW version?
-
Did u read that whole thread ?...similar questions were asked (where to place) and there were answers there...
-
Have a read here: (scroll down a bit if you want to do it via Hooks)
-
@3fingers. No need to start a new thread about an existing issue. Better to add your issue to the existing threads, thanks.