-
AuthorPosts
-
November 24, 2010 at 11:20 pm #156755
Hi, please explain me how can I create a modul position above the main body (below the user positions 6-7) for mod_latestnews.
Thank yoo in advance, best
Mg
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 25, 2010 at 8:51 am #364239now, you open the file: templates/ja_ruby/index.php and find the following code:
[PHP]
<jdoc:include type=”message” />
[/PHP]
replace:
[PHP]
<?php if ($this->countModules(‘content-top’) ) { ?>
<div class=”ja-content-top”>
<jdoc:include type=”modules” name=”content-top” />
</div><?php endif; ?>
<jdoc:include type=”message” />
[/PHP]when done, your site will have a new position : content-top
November 25, 2010 at 6:12 pm #364273Unfortunately not works on this way.
Error message: Parse error: syntax error, unexpected T_ENDIF in /web/marketinggroup/bestelektroszerviz.hu/templates/ja_ruby/index.php on line 193
Any ide?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
November 25, 2010 at 6:38 pm #364277Try changing the endif; with a }
July 21, 2011 at 3:57 pm #402345hello guys … thx for this great forum !
this thread here is genial. i have a simple question …the same moduleposition – but not integrated in den contentbody … especially “rounded” … i means – seperate!
can somebody help me ?Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 22, 2011 at 9:52 am #402508<em>@darkman71 254724 wrote:</em><blockquote>hello guys … thx for this great forum !
this thread here is genial. i have a simple question …the same moduleposition – but not integrated in den contentbody … especially “rounded” … i means – seperate!
can somebody help me ?</blockquote>hi darkman71,
Can you please explain more details the issue ? it is not clear from your describing
July 24, 2011 at 11:48 am #402739Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 25, 2011 at 2:59 am #402797hi darkman71,
I tried myself but did not see the problem as your attach image, be sure you did as following
You open the file: templates/ja_ruby/index.php and find the following code:
[PHP]
<jdoc:include type=”message” />
[/PHP]
replace:
[PHP]
<?php if ($this->countModules(‘content-top’) ) { ?>
<div class=”ja-content-top”>
<jdoc:include type=”modules” name=”content-top” />
</div><?php }; ?>
<jdoc:include type=”message” />
[/PHP]Then assign your the module to the content-top position.
July 25, 2011 at 10:13 pm #402990many thx,
but this is not the part, i would like to have !
its the same anwser like the top… i have added the code style=”rounded” in your text – now it looks funny – but isn’t my dream…. NOW i have a rounded modul inside MY content … i dont want this … i would like to have a new rounded modulposition … OVER my content !!! :(( – without any content-background ! – what’s the catch?
pleeeeasse help !
thx darkSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 26, 2011 at 2:21 am #403003Okay darkman71,if you want to have separate box you can open that index.php file and add this snap of code
[php]
<?php if ($this->countModules(‘content-top’) ) { ?>
<div class=”ja-content-top”>
<jdoc:include type=”modules” name=”content-top” style=”rounded” />
</div><?php }; ?>
[/php]
under this HTML Tag
<div class=”main clearfix”>
then you open the file of templates/ja_ruby/css/template.css adding this css into it
.ja-content-top{
width:66%;
}July 26, 2011 at 12:23 pm #403112dear dathq
THAT ROCKS :):):)
one little problem … the modulposition of the newsflash is higher then the right-modul site (client-testi…). i would like to have it in the same position (green-line) – such as the content in the attachment.
this is last little prob !
thx so much
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
July 27, 2011 at 11:25 am #403309:):):):):) thx, thx, thx soooo much …. you are a GOD :):).)
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 5 voices, and was last updated by darkman71 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum