-
AuthorPosts
-
February 12, 2012 at 12:04 am #173823
Hi
I have a single module that is appearing on the page twice. I have created some new positions on the page for it to show in.
Go to http://www.alreporter.com and scroll down to the bottom. Interview Archive appears in black where it is supposed to. Interview Archive in white appears below it in a position after user 6.
Thanks Susan
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 12, 2012 at 8:54 am #438044Hi
Check your layout because you have two user25/29 positions, seems that you have a duplicated copy of a spotlight block
Regards
February 13, 2012 at 12:25 am #438140Good to hear from you Pavit. I only reference it once in the code. Here is the code from the default template
<?xml version=”1.0″ encoding=”utf-8″?>
<layout name=”desktop”>
<!–Extra css load for this layout–>
<stylesheets>
</stylesheets>
<blocks name=”top” style=”xhtml”>
<block type=”modules” style=”raw” >top1</block>
<block name=”absolute” type=”modules” style=”raw”>absolute</block>
<block name=”header” type=”header”></block>
<block name=”topmegamenu” type=”topmega”></block>
<block name=”mainnav” type=”mainnav”></block>
<block name=”topbar” type=”topbar”></block>
<block name=”cpanel” type=”usertools/cpanel”></block>
<block name=”slideshow” type=”modules” style=”raw”>slideshow</block>
<block name=”topsl3″ type=”spotlight”>user20,user21,user22,user23,user24</block>
<block name=”topsl1″ type=”spotlight” special=”left” specialwidth=”66″>sl1-l,sl1-r</block>
<block name=”topsl2″ type=”spotlight”>user1,user2,user3,user4,user5</block>
</blocks>
<blocks name=”middle” main-inner=”1″ colwidth=”17″>
<block name=”content-top” style=”raw”>content-top</block>
<block name=”content-bottom” style=”raw”>content-bot</block>
<block name=”content-mass-top” style=”raw” type=”tabs”>ja-news-1,ja-news-2,ja-news-3</block>
<block name=”content-mass-bottom”>content-mass-bot</block>
<block name=”right-mass-top”>col-mass-top</block>
<block name=”right-mass-bottom”>col-mass-bot</block>
<block name=”inset1″>left</block>
<block name=”right1″>right1</block>
<block name=”right2″>right2</block>
</blocks>
<blocks name=”bottom” style=”xhtml”>
<block name=”botsl2″ type=”spotlight”>user25,user26,user27,user28,user29</block>
<block name=”botsl1″ type=”spotlight”>user6,user7,user8,user9,user10</block>
<block name=”botsl2″ type=”spotlight” special=”left” specialwidth=”66″>user11,user12</block>
<block name=”footer” type=”footer” main-inner=”1″></block>
</blocks>
</layout>pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 13, 2012 at 6:43 am #438159Hi
From here your layout seems to be correct, apparently the reason must be found in other setting
could you send me via PM your super user account ? so i will check better on your backend
Thanks
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
February 13, 2012 at 5:28 pm #438223Hi
<?xml version="1.0" encoding="utf-8"?>
<layout name="desktop">
<!--Extra css load for this layout-->
<stylesheets>
</stylesheets>
<blocks name="top" style="xhtml">
<block type="modules" style="raw" >top1</block>
<block name="absolute" type="modules" style="raw">absolute</block>
<block name="header" type="header"></block>
<block name="topmegamenu" type="topmega"></block>
<block name="mainnav" type="mainnav"></block>
<block name="topbar" type="topbar"></block>
<block name="cpanel" type="usertools/cpanel"></block>
<block name="slideshow" type="modules" style="raw">slideshow</block>
<block name="topsl3" type="spotlight">user20,user21,user22,user23,user2 4</block>
<block name="topsl1" type="spotlight" special="left" specialwidth="66">sl1-l,sl1-r</block>
<block name="topsl2" type="spotlight">user1,user2,user3,user4,user5</block>
</blocks>
<blocks name="middle" main-inner="1" colwidth="17">
<block name="content-top" style="raw">content-top</block>
<block name="content-bottom" style="raw">content-bot</block>
<block name="content-mass-top" style="raw" type="tabs">ja-news-1,ja-news-2,ja-news-3</block>
<block name="content-mass-bottom">content-mass-bot</block>
<block name="right-mass-top">col-mass-top</block>
<block name="right-mass-bottom">col-mass-bot</block>
<block name="inset1">left</block>
<block name="right1">right1</block>
<block name="right2">right2</block>
</blocks>
<blocks name="bottom" style="xhtml">
<block name="botsl2" type="spotlight">user25,user26,user27,user28,user2 9</block>
<block name="botsl1" type="spotlight">user6,user7,user8,user9,user10</block>
<block name="botsl2" type="spotlight" special="left" specialwidth="66">user11,user12</block>
<block name="footer" type="footer" main-inner="1"></block>
</blocks>
</layout>As you can see in the RED marked block you cannot have 2 block with the same name, you need to delete 1 block and set the user25/29 positions in your TemplateDetail.xml file
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by sbbritt 12 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum