-
Posts
1,699 -
Joined
-
Last visited
-
Days Won
14
Everything posted by renobird
-
To fly anywhere from Gainesville you pretty much have to go to Atlanta first. I'll grab Ryan on my way out.
-
Wish I was there. Next time I'm on a plane.
-
Hi Ryan, I just noticed the autogrow plugin isn't included with the latest CKEditor version. If I want to add the plugin back, what is the best method so it won't be overwritten on updates? Perhaps there is another method to accomplish the same thing with the new version?
-
Set input field to locked, but not collapsed.
renobird replied to renobird's topic in Module/Plugin Development
Cool! Thanks Steve. Perhaps eventually changing $field->collapsed to something like $field->state might simplify the naming? -
Just a matter of finding time.
-
Set input field to locked, but not collapsed.
renobird replied to renobird's topic in Module/Plugin Development
Probably a good idea. -
Set input field to locked, but not collapsed.
renobird replied to renobird's topic in Module/Plugin Development
Steve, Exactly. I need this to be a locked field, but it needs to default to open. CollapsedLocked defaults to (obviously) collapsed. -
I'm building a module where I need to set a field to locked, but not collapsed. I can set it to collapsed/locked like so: $field->collapsed = Inputfield::collapsedLocked; But looking for a way to do the same thing, but have the field default to open. There currently isn't an option for "openLocked". Any ideas on how to get around this? I'm feeling a little dense here at the end of the week.
-
I think you did. I wasn't sure if the distinction between API/PHP was clear.
-
totoff, Nice work! Quick question: Do any of you still support IE7? I don't even plan to support IE8 after the end of this year — without a supplemental agreement.
- 17 replies
-
- profile
- responsive
-
(and 1 more)
Tagged with:
-
diogo, You interpreted that question a lot differently than I did. *nice example though* I do pretty much exactly that for a few sites. I've actually been thinking about creating a layout picker field type that allows those options to be set via icons. I used to help with a WP install that allowed you to choose layouts like that. Always seemed very intuitive.
-
I'm not certain, but it sounds like there is some confusion. http://processwire.com/api/what/ Editing site profiles can include several different things: Changing the static HTML markup (HTML only) Changing the dynamic content (Mixture API / PHP and any associated HTML markup you output).
-
It's rare that I need multi-lang support, but I always liked the way it worked in Textpattern. This looks great!
-
Repeaters: sorting input fields; listing according to input fields
renobird replied to joe_ma's topic in Getting Started
joe_ma When you say it doesn't output anything, do you mean nothing or nothing other than HTML markup? -
Kongondo, I have those days from time-to-time myself. Check Antti's comment above, did you add that hook? I still prefer having pages with core process modules assigned. Perhaps there is some other benefit I'm missing by doing it this way?
-
PWUtils - Idea for micro library of template functions
renobird replied to saml's topic in API & Templates
saml, Nice work! I could see using this for some of the more simplistic/repetitive tasks. That said, it could perhaps be a rabbit hole that goes to deep if you try to account for all the scenarios that might be thrown at it. Also: can we hide this from the noobs? -
It's really pretty simple if you just want to authenticate users. ADLDAP looks interesting. I don't really have the need in my current situation, but you never know.
-
I can definitely see the need for just being able to show the time picker. I have a custom inputfield for entering lists of hours that does this. The JS in the module customizes the picker to only show date — even though it's using the core datetimepicker.js $(document).on("focus", ".InputfieldHours .datepicker", function() { $(this).timepicker({ timeFormat: 'h:mm tt', ampm: true }); }); bah! Just noticed some alignment issues on my time picker in safari. :/
-
We use Shibboleth for authentication here. The University handles how that integrates with AD, but once authenticated the environment variables give me access to a ton of attributes. I wrote a shibboleth login module for ProcessWire that we've been using for a few years now (a few months after I started using ProcessWire). In my case the username is actually a unique ID set by the university. I'm not entirely sure if/how that is integrated with AD behind the scenes, but it never changes, even if you move from student to faculty/staff. Users actual names and other personal details can change, and they are automatically updated with every login. It also allows me to test for membership in and OU/Group and assign roles/permissions. So when a user is added/removed from a group in AD their PW settings are updated too. This happens at every login, and also twice a day via cron. I've thought about turning this into a configurable module, but haven't stumbled into any spare time lately. Lots of Universities in the U.S. use Shibboleth, so a module would go a long way towards ProcessWire adoption — especially considering all the other major players have Shibboleth modules/plugins.
-
Thanks Ryan. Image uploading is now working on the latest dev (without ajax uploader). So I guess my users (faculty in this case) were always using the upload button. When they reported it wasn't working, I just assumed they meant the drag/drop feature — I never edit my own information from the profile page, so I never realized how it worked.
-
Wanze, Works perfectly! Thanks again.
-
Wanze, Thanks — very much appreciated. I just couldn't seem to get my head around this on my own. Testing now. Will report back shortly. Cheers!
-
I need to prevent access to the page tree for a particular role (intern). The goal is the jail them to a set of custom admin pages. I have a clumsy solution that I've been using for a while that involves checking for the intern role as part of the rendering the navigation in my admin theme. It works, but now with admin themes being modules, I need something that isn't tied to a theme. ProcessPageList needs page-edit permission. I can't take that away because they need to be able to edit some pages. Any suggestions would be appreciated.
-
Events Fieldtype & Inputfield (How to make a table Fieldtype/Inputfield)
renobird replied to ryan's topic in Modules/Plugins
Thanks Teppo, I appreciate the example. I feel a bit foolish now after taking 2 minutes to look at the module code — it's pretty clear. Kongondo, You have plenty of thunder to go around. -
Events Fieldtype & Inputfield (How to make a table Fieldtype/Inputfield)
renobird replied to ryan's topic in Modules/Plugins
Hi kongondo, Sorry, I posted that in a hurry on the way out of the office for the day. I need to import about 100 pages that have dates from another CMS. I have everything formatted, just not entirely sure how to work with a fieldtype that has multiple inputs from within a template (in this case is an admin tools template I use to import stuff). A repeater field is easier because it's just a page, so setting each of the fields is simple. I'm a little unclear on how to work with this fieldtype. I just need a nudge in the right direction. P.S. I think I prefer the other profile pic too. I'll switch it back tomorrow.