Hi
when I add a banner
<object width="728" height="90" data="http://domaine/mtools/event_728x90.swf" type="application/x-shockwave-flash"> <param name="data" value="http://afflog08.domainetools/event_728x90.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="curr=&affid=30097" /> <param name="src" value="http://afflog08.domaine.ch/mtools/event_728x90.swf" /> </object>
it adds r and n
and home page - no banner
only
rn\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nrn
you know why
daniel
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
* Clean /cache/, /cache_public/ and /tmp/ folders via FTP * Recompile language files for all modules from admin panel -> Tools -> Modules * Recompile system language file from admin panel -> Settings -> Languages Settings
but still the problem
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |
If that didn't work, you can try adding the code to the database directly. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
No, it does not work - always the same problem
is a new install
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |
Interesting, I tried to reproduce this by adding a SWF embed to my promo block (through the administration panel) and also encountered this issue. However, when I emptied the cache/ directory, the issue went away and the embed now displays correctly. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I have two different installation of dolphin - the two are D7.0.3
I must empty the cache on the two facilities - :)
and it's good it works -
Except to center the image - it stays on the left
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |
it works for you - the centering of the image Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |
it works for you - the centering of the image
Centering the content does work for me, yes. I don't know why it isn't working for you. Try adding the center tag through the HTML window both before and after your content.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I add this code - it works on D6.1.6
you have another solution
<div style="background-color: #0c0c0c;"> <p style="text-align: center;"> <object height="90" width="728" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"> <param value="high" name="quality" /> <param value="transparent" name="wmode" /> <param value="curr=&affid=30097" name="flashvars" /> <param value="http://afflog08.domaine/mtools/event_728x90.swf" name="src" /><embed height="90" width="728" src="http://afflog08.domaine/mtools/event_728x90.swf" flashvars="curr=&affid=30097" wmode="transparent" quality="high" type="application/x-shockwave-flash"></embed> </object> </p> </div>
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |
Try using the <center> tag instead to center the content. I can't confirm if that code works on my end because I don't have the SWF file you're trying to embed.
I'm also noticing that even after removing the problematic cache file, "rn" still appears in some cases.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
no way to do it - I'll try later - I have not slept - in France it is 6 o'clock in the morning - I send you the code via private message - if you have time to watch - if not - c ' is not severe - thank you for your help Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |
I've replied to your message and sent you the proper code to rectify the issue. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
solution made by Magnussoft
if it can be useful to someone else
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To center a flash banner - with a background color for the block
<div style="background-color: #0c0c0c;"> <object style="display: block; margin-left: auto; margin-right: auto;" width="728" height="90" data="http://afflog08.domaine.ch/mtools/event_728x90.swf" type="application/x-shockwave-flash"> <param name="data" value="http://afflog08.domaine.ch/mtools/event_728x90.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="curr=&affid=30097" /> <param name="src" value="http://afflog08.domaine.ch/mtools/event_728x90.swf" /> </object> </div>
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
without the background color
<object style="display: block; margin-left: auto; margin-right: auto;" width="728" height="90" data="http://afflog08.domaine.ch/mtools/event_728x90.swf" type="application/x-shockwave-flash"> <param name="data" value="http://afflog08.domaine.ch/mtools/event_728x90.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="flashvars" value="curr=&affid=30097" /> <param name="src" value="http://afflog08.domaine.ch/mtools/event_728x90.swf" /> </object>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
big thank you
Bosun / Moderator -- My Products : http://www.boonex.com/market/posts/danielmarseille |