-
AuthorPosts
-
March 16, 2011 at 3:59 pm #161538
I wish to create a news headlines module located at the top of the page, above the main menu items. May you please help me implement this solution?
Thanks in advance!
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 16, 2011 at 6:05 pm #381713<em>@osemollie 228110 wrote:</em><blockquote>I wish to create a news headlines module located at the top of the page, above the main menu items. May you please help me implement this solution?
Thanks in advance!</blockquote>
Hi,
You do following steps:
– Add this code into <joomla url>templatesja_ravecsstemplate.css file
/* Headlines Module ---*/
.ja-healineswrap { float: left; overflow: hidden; width: 380px; }.ja-healineswrap em {
color: #999;
display: block;
float: left;
font-style: normal;
font-weight: bold;
padding: 0 5px 0 10px;
}.ja-headlines { float: left; height: 26px; }
.ja-headlines a { color: #000; padding: 1px 5px; text-transform: none; }
.ja-headlines a:hover, .ja-headlines a:active, .ja-headlines a:focus { background: #000; color: #fff; text-decoration: none; }
.ja-headlines .separator { color: #999; }
/* Top Bar ---*/
#ja-topbar { height: 26px; position: absolute; top: 0; z-index: 11; }#ja-topbar .main {
border-bottom: 1px solid #ccc;
color: #999;
font: 92%/26px Arial, sans-serif;
}
– Open <joomla url>templatesja_ravetemplateDetails.xml file, add this code
<position>headlines</position>
before
</positions>
– Create <joomla url>templatesja_teline_ivblockstopbar.php file with content
<?php
/*
# ------------------------------------------------------------------------
# JA Teline IV
# ------------------------------------------------------------------------
# Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com - http://www.joomlancers.com
# This file may not be redistributed in whole or significant part.
# ------------------------------------------------------------------------
*/
?><?php if($this->countModules('headlines')) : ?>
<jdoc:include type="modules" name="headlines" />
<?php endif; ?>
– Edit JA_Rave – Default template, choose layout tab–>edit default layout. Add this code
<block name="topbar" type="topbar"></block>
before
<block name="mainnav" type="mainnav"></block>
– Install & publish JA News Sticker Module. Set it’s position is headlines
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by osemollie 13 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum