I am new to Drupal and have created my own custom theme. This looks to work fine so far but I am trying to create different themplates for a few pages on the site.
I created a template.php file with the following code:-
I am having major difficulties recently with the css on my development site. If I make any changes to my css files they do not appear. I am not using any css or js optimization. I have cleared the cached, restarted the server, etc. several times with no luck. I can even remove all my css files and tpl.php files and the site will still remain the same. Any help would be greatly appreciated.
This happens when I tryed to upgrade from 6.22 to 7.2
I cannot use update.php because it's white and blank and when I write my websites address this error message will be there.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DBNAME.blocked_ips' doesn't exist: SELECT 1 FROM {blocked_ips} WHERE ip = :ip; Array ( [:ip] => XXX.XX.XX.XXX ) in drupal_is_denied() (line 1657 of /home/username/public_html/drupal/includes/bootstrap.inc).
I want to be able to upload images while editing a basic page. So I've enabled the image field option for basic pages, and created a custom image style of the correct size I'd like the images to be. But is there a way to attribute this style to the image that is to be uploaded? rather than just attribute the style to just the preview of the image? Because now if I upload a picture that is too large it will just stretch out the page. Just wondering if it was possible to apply that custom image style to the image after it is saved.