WebSite X5Help Center

 
Milan H.
Milan H.
User

Blog background missing  en

Author: Milan H.
Visited 1798, Followers 1, Shared 0  

Hello,

I am currently having problem with blog. There is no background viewed.

I was taking a look inside code and I found difference between blog and proper page:

<script type="text/javascript">

x5engine.settings.currentPath = '../';

x5engine.boot.push(function () { x5engine.utils.checkBrowserCompatibility(); }); x5engine.boot.push(function () { x5engine.bgStretch('style/bg.jpg', true, 0); });

</script>

lines currentPath and checkBrowserCompatibility is in blog, as it should be.

lines checkBrowserCompatibility and bgStretch is in other files.

Could be the problem that line bgStretch is missing in blog file? Probably it could have something in common but I tried to modify blog file on server and it couldnt help.

There is no settings I could do, I think this is really bug in page creation.

Thanks for any help. Milan

my example: http://volejbal.kerhartice.com/test/index.php vs. http://volejbal.kerhartice.com/test/blog/index.php

Posted on the
2 ANSWERS - 1 USEFUL - 1 CORRECT
Paul M.
Paul M.
Moderator

Hello Milan,

First, please reverse any edits you might have made to the code which WebSite X5 generates, and remove any custom code added.

Then go to Step 2 Map Creation, highlight the blog in the Sitemap, then click on the 'Properties' button on the right-hand side (see the screenshot attached)  -  in the new window which opens click on the 'Graphic' tab.

Please post a screenshot showing all your settings in that particular window.

Kind regards,

Paul

Read more
Posted on the from Paul M.
Milan H.
Milan H.
User
Author

Hello Paul,

thank you for your response. Now I feel like an idiot :)

Yes. It helped to go to Step 2, then properties of Blog site. Then - unchecking "Allow own settings" (or sth like this, I have it not in English).

And it worked. Easy solution when you know where to click.

Thank you very much.

Regards. Milan

Read more
Posted on the from Milan H.