Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am trying to write a FQDN path to a image in my theme directory within a Views custom text box.
My install of Drupal is in a sub-directory so relative paths do not work correctly.
Here is what I have in my Views custom text box.
In my local test server I have created a Drupal v. 7.41 and I have installed Adaptive Theme (AT Subtheme 7.x-3.2) and Clean Corporate Theme 7.x-1.2, which I have set it as the default theme.
My main horizontal menu is responsive when I change the screen width (becomes vertical when screen width gets narrower), but the menu toggle button is not displayed, as in the demo site (http://live-corporate-profile.pantheon.io).
I'm using a custom theme and when I integrated my own html.html.twig structure (based off the one from core), the admin toolbar disappeared and hovering over block/view elements no longer shows the configure/edit menu actions. The top toolbar is there when I access one of the admin pages on the back end, but when viewing the site itself, it's not there... even though I'm still logged in as admin. I've cleared the cache multiple times, but still no dice.
Do I need to render/output the display of the admin toolbar in my htm.html.twig file?
{{ date|date("m/d/Y") }}
Throws:
Exception: DateTime::__construct(): Failed to parse time string (<span data-quickedit-field-id="node/1/created/en/full">Thu, 02/11/2016 - 22:11</span> ) at position 0 (<): Unexpected character in DateTime->__construct() (line 515 of XXX\vendor\twig\twig\lib\Twig\Extension\Core.php).