Skip to main content
mpdonadio's user avatar
mpdonadio's user avatar
mpdonadio's user avatar
mpdonadio
Moderator
  • Member for 13 years, 8 months
  • Last seen this week
  • Philadelphia, PA
revised
Drush module version
added 7 characters in body
Loading…
comment
Drush module version
@Interlated Thanks for the reminder. composer show is more readable that directly poking through the lockfile.
revised
Drush module version
added 160 characters in body
Loading…
Loading…
comment
Content tab takes a very long time to load
What does EXPLAIN tell you about the query?
comment
Simple way to add a class to the body when creating/editing an entity
This code example isn't really helpful. Can you explain what code it is, where it goes, and how it solves the problem for "when a user is editing or creating a node"? Thanks.
comment
Can I Display Date Time as saved in database without DST adjustment in View
From that screenshot, I am assuming that is Drupal 7 + Date module. IIRC the D7 Date module stores both the UTC offset and the IANA timezone name with each value. I highly suspect that there is a mismatch here, and potentially system/server zone misconfiguration, resulting in the timezone rules for DST not being applied properly. Unfortunately, a bunch of wrong things can add up to the date being displayed properly until a DST switch.
comment
Can I Display Date Time as saved in database without DST adjustment in View
I would write this as an answer, but I think this is a problem with your Feeds import and not the Views formatter. If you look at the raw data in the database, is it correct? I suspect you have a bad timezone translation or a double timezone translation going on during the import. I think you may need a tamper.
awarded
Loading…
comment
Where is the temporary directory defined in the code?
Do you have any errors on admin/reports/status ?
comment
How to Restrict views Date popup to only year/month
Confused by your screenshots. The first looks like a Javascript popup (from the date_popup module?). The second looks like the native Chrome date picker. If you do <input type="date"> then you will always get the native date picker. You need to do <input type="text"> if you want to override this behavior. But, I am not familiar with the date_popup to know how to integrate it with Form API.
comment
Adding fields to user registration form
Noticed a bunch of retags on this. Please note that version tags should be used only for questions that apply to a version only, not to merely say what version a site is using.
reviewed
Reject
comment
How to determine if a View display is being used in a site?
What version of Drupal? 7 vs 8 makes a big difference here.
comment
Problem creating redirect from page with %20
I'm not sure if this is accurate. I am pretty sure that all mod_write rules happen before mod_alias rules, because the modules execute in that order, and not by the order of the rules in the file. I have run into that issue before when mixing Redirect and Rewrite.
comment
Is there a way to partially rebuild the router or invalidate a route cache?
This sounds like the cacheable metadata from the content on the route isn't being set properly, or something is smashing it.
comment
Redirect from route when the controller has been changed
As an aside, redirecting from a 404 may may cause weirdness w/ spiders (eg, Google), especially if you 3xx to another domain.
comment
How do I get paragraph fields text data without the <p> tags?
Not 100% sure, but you may be able to create a Text Format that only allows some inline elements, like <b>, <i>, <u>, and not the block level ones, and don't convert newlines to <p>.
revised
Loading…
1
4 5
6
7 8
249