-
AuthorPosts
-
August 21, 2007 at 6:38 pm #122224
Very important. I want to use the ja_news modul in Magei. How can i do this.
My site is http://www.dopoco.de
The newsflash i already installed and it seems to work.
Thx.
kallan Friendkallan
- Join date:
- August 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 22
- Thanked:
- 35 times in 1 posts
August 22, 2007 at 12:28 am #227761Hi Tulli,
Have you installed the ja_news module?
Have you published the module?What is it exactly that you want to know?
– how to create a custom position
– how to edit the template file
– how to install the moduleKiwidesign
August 24, 2007 at 5:12 am #227995Yes. i installes it and i published it but what do ihave to do with the css.
After Installation the text of the modul says:
– Add Module CSS
– Add CSS to HeaderWhat does this mean?
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 24, 2007 at 7:31 am #228010You can search for this line in index.php:
<link href="<?php echo $ja_template_path;?>/css/template_css.css" rel="stylesheet" type="text/css" />
And add this below:
<link href="<?php echo $ja_template_path;?>/css/ja-news.css" rel="stylesheet" type="text/css" />
Download the ja-teline template and unzip it, find the file called:
ja-news.css
in the css folder and add that one to the mageia css folderAugust 24, 2007 at 9:04 am #228018Ok all done and understood.
Which code do i have to place and where 4 the ja-news module position.
This is the code i found in ja_teline<blockquote><?php mosMainBody(); ?>
<?php } ?>
<?php if (( mosCountModules(‘ja-news’))&& ($option == ‘com_frontpage’ )) { ?>
<div id=”ja-newswrap”>
<?php mosLoadModules ( “ja-news”, -1 ); ?>
</div>
<?php } ?></blockquote>The modul position itself is clear how to make. In the template manager.
If i use teline i have to do some changes in the main menu like edititin the home item(Intro set to 0 and leading also to 0.
Which changes are to do in Magei ?Thx till here
TulliMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 24, 2007 at 12:04 pm #228044You need to setup the menu as on teline
August 24, 2007 at 5:33 pm #228077All done.
For the modul ja_news i copied the code out of the teline template and paste it into the index of mageia.<blockquote><?php if (( mosCountModules(‘ja-news’))&& ($option == ‘com_frontpage’ )) { ?>
<div id=”ja-newswrap”>
<?php mosLoadModules ( “ja-news”, -1 ); ?>
</div>
<?php } ?></blockquote>The result u can see here – http://www.dopoco.de. Its still under construction.
As u can see the example brakes the main content. How can i fix this Problem?And the icons in the header of the fading news arent very nice.
Where can i change them?Thx
Tulli -
AuthorPosts
This topic contains 8 replies, has 3 voices, and was last updated by Menalto 17 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum