-
AuthorPosts
-
May 27, 2014 at 4:10 pm #198206
how do I insert a position above the main menu to load another module?
thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 27, 2014 at 4:16 pm #536850May 27, 2014 at 8:02 pm #536885The tutorial did not work for ja_puresite in joomla 3.0, what do I do?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 27, 2014 at 8:24 pm #536886<em>@gernot_b 429521 wrote:</em><blockquote>The tutorial did not work for ja_puresite in joomla 3.0, what do I do?</blockquote>
With which part did you experience difficulty? … The tutorial was updated for J3.x based templates.
May 27, 2014 at 8:38 pm #536891the path of the folder does not exist, I found the files in other locations, but the changes did not work…
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 28, 2014 at 9:09 am #536943<em>@gernot_b 429465 wrote:</em><blockquote>how do I insert a position above the main menu to load another module?
thanks</blockquote>
You can try this way to add new position above main menu:
Open the templates/ja_puresite/blocks/header.php file
Change
<?php
/**
* $JA#COPYRIGHT$
*/// No direct access
defined('_JEXEC') or die;
?>
To
<?php
/**
* $JA#COPYRIGHT$
*/// No direct access
defined('_JEXEC') or die;
?>
<?php if($this->countModules('newposition')) : ?>
<div id="ja-newposition span12">
<jdoc:include type="modules" name="newposition" />
</div>
<?php endif;?>Once done to clear cache from admin area.
May 28, 2014 at 2:06 pm #536968Thanks, it worked! and the css?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 28, 2014 at 3:19 pm #536974You need to write the CSS rules for the “ja-newposition” you created.
You can put the new CSS rules within your /templates/ja_puresite/css/template.css file,
or you can create a custom.css file within file path /templates/ja_puresite/cssMay 28, 2014 at 3:58 pm #536978sorry, but I tried in template.css and custom.css as:
# ja-newposition {}
.newposition {}
# ja-newposition. newposition {}and did not work at all … what did I do wrong?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 30, 2014 at 8:30 am #537192<em>@gernot_b 429648 wrote:</em><blockquote>sorry, but I tried in template.css and custom.css as:
# ja-newposition {}
.newposition {}
# ja-newposition. newposition {}and did not work at all … what did I do wrong?</blockquote>
Please provide the url of the site you’re working on so that I can check and help you out.
May 31, 2014 at 2:51 pm #537300Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 2, 2014 at 7:40 am #537367<em>@gernot_b 430084 wrote:</em><blockquote>http://fleurycoimbra.com.br/</blockquote>
Because in the custom html module with newposition position is using table tag and you can try to use this way to fix it.
Open the module and change
<table style="height: 25px; width: 421px; background-image: url('/images/bgtopmneu.png');" align="right">
To
<table style="height: 100%; width: 100%; background-image: url('/images/bgtopmneu.png');" align="right">
Once done, try to clear cache from admin area.
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by Ninja Lead 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum