Closed (fixed)
Project:
MAYO
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Jul 2011 at 19:52 UTC
Updated:
6 Apr 2012 at 14:10 UTC
When a watermark is set, it does not display on all pages.
Because the watermark url is a relative one, the file is sometimes not found. Whether or not it is found depends on the url of the current page. In practice, watermarks do not work for pages that have a url which is "deeper than a single level".
Make sure the watermark url is absolute.
templates/page.tpl.php$header_watermark_style = 'background-image: url(' . drupal_get_path('theme', 'mayo') . '/images/pat-' . $header_watermark . '.png);';$header_watermark_style = 'background-image: url(' . $base_path . drupal_get_path('theme', 'mayo') . '/images/pat-' . $header_watermark . '.png);';
Comments
Comment #1
permafix commentedWas it the same thing with the header image? I have the same problem with this image
Comment #2
permafix commentedI solved the problem by create a view for each content and not only a basic page. The header image apprear only on views.
Comment #3
monsoon commentedHi,
I have similar problem with MAYO header image, not appearing in IE. Can you please explain, how can I create view and then put image sothat it can show up in all browsers.
Thanks.
Comment #4
permafix commentedFor IE, try this :
In the page.tpl.php of the theme (\themes\mayo\templates), change the line:
$header_style .= 'background: url(' . $header_bg_file . ') repeat ';
to
$header_style .= 'filter:;background: url(' . $header_bg_file . ') repeat ';
I hope this wil help you
Comment #5
mermentau commentedThis really became 2 issues:
Comment #6
mermentau commentedComment #7
MiraKimura commentedLatest Drupal 7 and Mayo.
The watermark problem solved. But not the image. I've uploaded custom header image, but doesn't appear.
Removed the first "/" at (Advanced header settings > URL of the header background image), and it appears!!
But only for the main page, not others. Except for user and sitemap page.
Please help! TQ!
Comment #8
mermentau commentedThis was a watermark issue that was solved and morphed over to concerns over header images. Could you open a separate issue so that others with similar problems could find it?
This was a 7.x-1.1 issue so be sure and indicate the version you are seeing the problem in and steps we can use to re-create the bug. Thanks,
Comment #9
arelem commentedDrupal 7.12.
I have recently downloaded Mayo themesto 4 installations over th past 3 weeks and it is not fixed.
The watermark is very intermittent, works on only 1 of my installations from 6 months ago.
Comment #10
mermentau commented@arelem, You are just creating confusion coming in everywhere and changing the version on old bugs and re-opening them. At the same time you offer no information how we can re-create your specific problem. Please open a fresh issue and detail how we can duplicate your issue so that we might verify and solve.