-
AuthorPosts
-
October 10, 2011 at 7:18 pm #169538
I am trying to have the Jomsocial registration module on the front page on the community plus template. The problem is that the main content is below the positions User 4 and User 5. I would like the registration module to be the first thing right under User 1, 2, and 3 and extend the entire length of the main block like the slideshow. I want to then be able to add modules to the positions below. Please help!
thanks,
Ethanpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 10, 2011 at 9:09 pm #418335Hi
Try to add the code red colored in your default layout<?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="absolute" type="modules" style="raw">absolute</block>
<block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
<block name="header" type="header" main-inner="1"></block>
<block name="mainnav" type="mainnav" main-inner="1"></block>
<block name="cpanel" type="usertools/cpanel"></block>
<block name="slideshow" type="modules" style="raw">slideshow</block>
<block name="sl-gallery" type="modules" style="raw">sl-gallery</block>
<block name="topsl" type="spotlight" main-inner="1">user1,user2,user3</block>
<block name="topsl3" type="spotlight" main-inner="1">yournewposition</block>
<block name="topsl1" type="header-spotlight" leftwidth="57">user4,user5</block>
<block name="topsl2" type="spotlight" special="left" specialwidth="57" main-inner="1">user12,user13,user14</block>
<block name="headline" type="modules" main-inner="1" style="raw">user6</block>
<block name="map" type="modules" main-inner="1" style="raw">map</block>
<block name="video" type="modules" main-inner="1" style="raw">video</block>
</blocks>
<blocks name="middle" colwidth="21.5">
<block name="right-mass-top">right-mass-top</block>
<block name="content-top">content-top</block>
<block name="content-bottom">content-bot</block>
<block name="right1" style="jarounded">left</block>
<block name="right2">right</block>
</blocks>
<blocks name="bottom" style="xhtml">
<block name="breadcrums" type="navhelper" main-inner="1"></block>
<block name="content-bot1" type="modules">user7</block>
<block name="content-bot2" type="modules" style="raw">user8</block>
<block name="botsl" type="spotlight" special="left" specialwidth="54" main-inner="1">user9,user10,user11</block>
<block name="footer" type="footer" main-inner="1"></block>
</blocks>
</layout>Then go to /templates/ja_community_plus/templateDetails.xml
at the end of the file append this line of code
<position>yournewposition</position>
so it will appear in this mode
<position>user14</position>
<position>user15</position>
<position>footer</position>
<position>syndicate</position>
<position>debug</position>
<position>yournewposition</position>
</positions>Try and let me know if this solution can be helpful for you
October 10, 2011 at 9:25 pm #418336The problem I am running in to is that the JomSocial component has its own layout and the only way to get the registration module without the side panels, is to modify that code.
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by ekaplan1020 13 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum