By bebull on Thu, 11/19/2015 - 21:41
Forums:
Have purchased Hertz pro, and want my image used for the euro page. I can do this by changing the image already there, BUT I do not want the Error 404 to show as my image had a custom msg. It is also larger than the supplied image ( 600 x 200)
So, here is the question:
Where do I find and change these attributes? I tried deleting the line in style css that expressed the heading, but it also deleted the image. Trying to directly implement it via html on my custom error page but that didn't work either.
Thanks
Comments
by adding a couple of line breaks via HTML, I managed to get my error image there.
BUT I do not want the page to show a title or any other information as the usual pages do. SO, how do I implement this?
Please follow below steps:
So how do I get this to NOT show the node page title???
You will need to create new "Content Type" without title.
Done!!
Am giving it a try!
Followed the directions precisely: opened the templates folder. copied the file, renamed it, saved it and then edited it. Made a new content type "notitle" and added my code for the error message and it's image. Saved. Logged out of my test site (am working on a virtual site at the moment using Acquia Desktop) . went to browser and tried accessing site at a non existent page. Got error message ok, but it still shows the title! So, logged back in, checked that everything was correct, cleared my caches, and repeated the test. Still shows the title "My custom error message"
What am I missing here?
Please reverse all changes. I see that Drupal insert page title irrespective of code presence.
Please give a try to Exclude Node Title module.