Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
in page.tpl.php
I found stuff like this
<img src="<?php global $base_url; echo $base_url.'/'.$directory; ?>/images/rss.png" alt="RSS"/>
That should be replaced with:
<img src="<?php echo drupal_get_path('theme', 'touch'); ?>/images/rss.png" alt="RSS"/>
Like this its also easier for subtheme authors who want to implement page.tpl.php
without copy the icons
Comment | File | Size | Author |
---|---|---|---|
#4 | touch-use_drupal_get_path-1787606-4.patch | 1.89 KB | yannickoo |
#1 | touch-use_drupal_get_path-1787606-1.patch | 1.89 KB | yannickoo |
Comments
Comment #1
yannickooAttached patch uses drupal_get_path and also removes some whitespaces and converts tabs to spaces in the
page.tpl.php
file.Comment #2
loominade CreditAttribution: loominade commentedum sorry, it has to be
Comment #3
loominade CreditAttribution: loominade commentedComment #4
yannickooThen let's do that :)