-
AuthorPosts
-
March 19, 2015 at 1:13 pm #204828
Hi
How do I get all modules to show in mobile view please?
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 19, 2015 at 1:27 pm #563777May I know what modules are you pointing out. please post a screenshot and the Url of the page.
March 19, 2015 at 2:29 pm #563791<em>@Chavan 464330 wrote:</em><blockquote>May I know what modules are you pointing out. please post a screenshot and the Url of the page.</blockquote>
Any. None show in mobile view. http://www.driveways-in-cardiff.co.uk
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 20, 2015 at 7:40 am #563876can you please post your admin details via private message and also post me a screenshot of which modules you wanted to be displayed on the mobile.
March 20, 2015 at 9:38 am #563898Ok sure,
I wouldn’t mind knowing how to do it though, as in JA Social it’s very easy via admin panel. I want all of them to show. Content mass top before articles then everything else (including the footer) underneath.
PM sent, thanks.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 20, 2015 at 10:50 am #563904Yes, you can do those by modifying the layout xml.
Default Layout XML
<?xml version=”1.0″ encoding=”utf-8″?>
<layout name=”desktop”>
<!–Extra css load for this layout–>
<stylesheets>
</stylesheets>
<blocks name=”top” style=”xhtml”>
<block name=”top-panel” type=”modules” style=”raw” main-inner=”1″>top</block>
<block name=”cpanel” type=”usertools/cpanel”></block>
<block name=”header” type=”header” main-inner=”1″></block>
<block name=”mainnav” type=”mainnav” main-inner=”1″></block>
<block name=”slideshow” type=”modules” style=”raw”>slideshow</block>
<block name=”topsl” type=”spotlight” style=”raw” main-inner=”1″>user1,user2</block>
</blocks>
<blocks name=”middle” colwidth=”20″>
<block name=”content-mass-top” style=”raw”>content-mass-top</block>
<block name=”inset1″ style=”jaxhtml”>left</block>
<block name=”right1″ style=”jaxhtml”>right</block>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”botsl-2″ type=”spotlight” main-inner=”1″>user4</block>
<block name=”botsl-1″ type=”spotlight” main-inner=”1″>user5,user6,user7,user8,user9,user10</block>
<block name=”navhelper” type=”navhelper” main-inner=”1″></block>
<block name=”footer” type=”footer” main-inner=”1″></block>
</blocks>
</layout>Mobile Layout XML
<?xml version=”1.0″ encoding=”utf-8″?>
<layout body-class=”bd-iphone” device=”iphone”>
<name>Iphone</name>
<description>Default layout for Iphone</description>
<!–Extra css load for this layout–>
<stylesheets>
<file>css/iphone/layout.css</file>
<file>css/iphone/template.css</file>
</stylesheets>
<scripts>
<file>js/iphone.js</file>
</scripts>
<blocks name=”top” style=”xhtml”>
<block name=”mainnav” type=”iphone/mainnav” class=”black”></block>
<block name=”header” type=”iphone/header”></block>
</blocks>
<blocks name=”middle”>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”footer” type=”iphone/footer”></block>
</blocks>
</layout>This is where you can enable and disable module position for the different devices.
March 20, 2015 at 9:30 pm #563988<em>@Chavan 464495 wrote:</em><blockquote>Yes, you can do those by modifying the layout xml.
Default Layout XML
<?xml version=”1.0″ encoding=”utf-8″?>
<layout name=”desktop”>
<!–Extra css load for this layout–>
<stylesheets>
</stylesheets>
<blocks name=”top” style=”xhtml”>
<block name=”top-panel” type=”modules” style=”raw” main-inner=”1″>top</block>
<block name=”cpanel” type=”usertools/cpanel”></block>
<block name=”header” type=”header” main-inner=”1″></block>
<block name=”mainnav” type=”mainnav” main-inner=”1″></block>
<block name=”slideshow” type=”modules” style=”raw”>slideshow</block>
<block name=”topsl” type=”spotlight” style=”raw” main-inner=”1″>user1,user2</block>
</blocks>
<blocks name=”middle” colwidth=”20″>
<block name=”content-mass-top” style=”raw”>content-mass-top</block>
<block name=”inset1″ style=”jaxhtml”>left</block>
<block name=”right1″ style=”jaxhtml”>right</block>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”botsl-2″ type=”spotlight” main-inner=”1″>user4</block>
<block name=”botsl-1″ type=”spotlight” main-inner=”1″>user5,user6,user7,user8,user9,user10</block>
<block name=”navhelper” type=”navhelper” main-inner=”1″></block>
<block name=”footer” type=”footer” main-inner=”1″></block>
</blocks>
</layout>Mobile Layout XML
<?xml version=”1.0″ encoding=”utf-8″?>
<layout body-class=”bd-iphone” device=”iphone”>
<name>Iphone</name>
<description>Default layout for Iphone</description>
<!–Extra css load for this layout–>
<stylesheets>
<file>css/iphone/layout.css</file>
<file>css/iphone/template.css</file>
</stylesheets>
<scripts>
<file>js/iphone.js</file>
</scripts>
<blocks name=”top” style=”xhtml”>
<block name=”mainnav” type=”iphone/mainnav” class=”black”></block>
<block name=”header” type=”iphone/header”></block>
</blocks>
<blocks name=”middle”>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”footer” type=”iphone/footer”></block>
</blocks>
</layout>This is where you can enable and disable module position for the different devices.</blockquote>
Yes I can add them in there ok, but they have no styling on mobile and look ugly, is there a way to put them in a simple box and centre them like they were on desktop?
You can see here http://www.driveways-in-cardiff.co.uk if you look on mobile.
Thanks
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 21, 2015 at 3:03 am #564018that is the reason why those modules were hidden in the mobile. please post and screenshot and the correction you want on those module. we shall give a try on those.
March 21, 2015 at 11:34 am #564039Well I just want them in a white box or something and centred like I said, so they don’t look ugly. I don’t know how to screen shot, but I sent the URL and you can see what it’s like on there.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 1, 2015 at 12:48 pm #565358can you please post me your site admin login details via Private message. I need to check and provide a fix. will provide you a details of the fix too. please send me the details
April 1, 2015 at 2:35 pm #565370PM sent, thanks.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 2, 2015 at 7:37 am #565443please check your website on mobile and confirm. if there is any issues
April 2, 2015 at 11:50 am #565490Hi I can see they are now showing. But the point is, they are un-styled so they look hideous.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
April 3, 2015 at 2:11 am #565560can you please advice us, how it should look like. please be precise on the styling. so, we can suggest the css code
April 3, 2015 at 2:02 pm #565653<em>@Chavan 466753 wrote:</em><blockquote>can you please advice us, how it should look like. please be precise on the styling. so, we can suggest the css code</blockquote>
As they are in the main template would be fine. Black header, in a white box and centred.
-
AuthorPosts
This topic contains 21 replies, has 4 voices, and was last updated by Ninja Lead 8 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum