Andrew Alexander

Ann Arbor, MI

andrewjalexander.com

Age: 29

I more or less know basic programming, gradually becoming an intermediate programmer now. Still make some dumb logical jumps.

15h
comment Creating a page per bundle
Added a second bundle.
15h
revised Creating a page per bundle
added 310 characters in body
23h
asked Creating a page per bundle
1d
comment Creating an entity with an unlimited number of bundles
Not apprehensive, just trying to figure out precisely how it works. It seemed unnecessary to me - but I think you've explained it in a way that makes sense. I'll try to replicate it and if it works I'll give you the answer.
1d
asked Creating an entity with an unlimited number of bundles
Dec
16
comment String replace with rules
I will. I'm honestly surprised that this functionality hasn't been put into a module yet.
Dec
16
awarded Popular Question
Dec
16
comment String replace with rules
I wrote a custom rule that takes token values out of a string (though it needs testing still) and which also provides actions for string replace. I'll create a sandbox for it later and use it as the answer, and also tell them at Rules Data Transform so that they can add them it to their module if they want. At the very least, the string replacer works.
Dec
16
comment String replace with rules
One possible way to do it would be to use Rules Data Transform with certain characters as a delimiter, split it into separate array items and then perform a condition on those array items.
Dec
16
comment String replace with rules
At this point I think it's pretty obvious that no such functionality exists in Drupal right now, so I'll just write it myself.
Dec
16
comment String replace with rules
I have custom entity templates with very small changes in the text that will vary slightly. These will be generated based on stock data.
Dec
16
comment String replace with rules
Can that be applied with a rule though? And that patch doesn't include any remove/replace text, just capitalization. I may have to just write one.
Dec
16
comment String replace with rules
I'll take a look. Another possible option might be replacing tokens in a body of text.. is there a way to do that using rules?
Dec
16
comment String replace with rules
It really does seem like a bit of an oversight.
Dec
16
asked String replace with rules
Dec
11
comment Using #states to disable a field collection field
No, I can get it to disable the date field generally, but I want only the second date value to be grayed out. And yes, I corrected the lack of : in my code.
Dec
11
revised Using #states to disable a field collection field
added 10 characters in body
Dec
11
comment Using #states to disable a field collection field
I have a field collection, and I have a date field inside of that field collection. That date field has both start and end dates (or to and from dates, whatever you want to call them). I want to disable the second one when a given checkbox is checked.
Dec
11
asked Using #states to disable a field collection field
Dec
10
comment Filter a JSON view by day and time without using Date?
Let me check, it'll be a few hours.
1 2 3 4 5