-
AuthorPosts
-
April 22, 2008 at 7:09 am #127780
Hi, congratulation for Teline II. It’s a really great job!
But I think, that one banner position is not enogh for a good news portal.
I suggest that you should take another (collapsible) banner position under the logo, as wide as the whole page. Like on these pages: http://www.origo.hu and http://www.hvg.hu.Thanks,
cstibi from HungaryApril 22, 2008 at 12:21 pm #246400Hi JA guys! Is this possible in the stable release?
teetide Friendteetide
- Join date:
- December 2007
- Posts:
- 256
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 19
- Thanked:
- 6 times in 1 posts
April 22, 2008 at 1:38 pm #246406I second this motion.
ruigato Friendruigato
- Join date:
- January 2006
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 48
- Thanked:
- 1 times in 1 posts
April 22, 2008 at 2:02 pm #246408ialso think you should put some more module positions..
Personaly i dont use JA_news in the other hand i have componets like mtree, forum and would like more positions for modules.
Cb integration in the highslide login would be great also.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 22, 2008 at 2:19 pm #246409What is preventing you from adding such a banner position on your own?
April 22, 2008 at 4:53 pm #246443<em>@tcraw1010 49937 wrote:</em><blockquote>What is preventing you from adding such a banner position on your own?</blockquote>
Because I don’t know how to do this collapsible module (for banner) position
cstibiApril 23, 2008 at 5:32 am #246515Please somebody help me, what (and where) have to write in template index.php and template.css files!
April 30, 2008 at 12:14 am #247319This is good question. somebody can help cstibi and me?
mayhesla Friendmayhesla
- Join date:
- April 2008
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 26
- Thanked:
- 5 times in 1 posts
April 30, 2008 at 9:30 am #247351<blockquote>What is preventing you from adding such a banner position on your own?
__________________
TOMA template is only a starting point . . . The magic is in what you do with it from there. </blockquote>
hmmm – ever though abouth why people register and buy templates at this site?
Maybe it’s because stuff like this aint easy for them 🙂
BANNER ABOVE ja-news POSITION:
———————————————————-
Find the following line in index.php:
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id="ja-pathway">
<jdoc:include type="module" name="breadcrumbs" />
</div>
<?php endif ; ?>Add this below:
<?php if($this->countModules('advert1')) : ?>
<!-- BEGIN: BANNER -->
<div id="top-banner">
<jdoc:include type="modules" name="advert1" />
</div>
<!-- END: BANNER -->
<?php endif; ?>OPEN UP YOUR template.css FILE and ad this at the bttom (or where u want)
#top-banner {
margin: 0;
padding: 10px 0;
text-align: center;
overflow: hidden;
width: 100%;
border-top: 1px solid #CCCCCC;
}
open up your templateDetails.xml file and add this under “positions”:
<position>advert1</position>
the above will put a banner centered on the top of the page and above the news modules.
There could be donne a lot more to the positioning of the banner,,,depending of wich module you use to display it. I for instance have this to controll the banneritem in the banner modules so it fits my needs:
div#top-banner .banneritem {
width: 477px;
border-right: 1px solid #CCCCCC;
}Now in the end you will need to think out something your selve, but this at least should get u started 🙂
Hope it helps
meApril 30, 2008 at 9:37 am #247353Thank you very much!
But my question was: the collapsible banner position above the logo, at the bottom of page, like on this page:
http://www.origo.huIf I want a banner position under the news, I publish the another banner module in the same ja-news positon, and set the correct module order.
But what have to write in codes, to put in under the logo?April 30, 2008 at 9:40 am #247355I’m sorry. I just thinked “above the logo” but I wroted “under the logo” in my first post…
But what is difference in your code?TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
April 30, 2008 at 4:47 pm #247381<em>@mayhesla 51187 wrote:</em><blockquote>hmmm – ever though about why people register and buy templates at this site? Maybe it’s because stuff like this aint easy for them :)[/quote]
Buying a nice shiny new car is great … but if you can’t drive it, it isn’t going to get you anywhere.
If one is going to work with website development based on Joomla websites – as opposed to hiring someone to do it for you – then one needs to learn the basics of working within the Joomla template file structures … and the basics include learning basic CSS design principles and basic modification of php code within the index.php file (i.e. adding module positions and adding/creating the relative css rules/class for it).
In this particular case . . . someone was wanting another collapsible banner position in their template. The released template does not have an additional collapsible banner position. The solution …. the user(s) who want the position can and should simply add it themselves. Hence, the question becomes – “how can I add an additional collapsible banner position in my template” . . . . for which the answer was very aptly provided by you. 🙂
mayhesla Friendmayhesla
- Join date:
- April 2008
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 26
- Thanked:
- 5 times in 1 posts
May 1, 2008 at 1:45 am #247416ok – i surrender lol 😉
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 1, 2008 at 2:31 am #247418There’s no I won, you lose . . . just voicing my opinion on the matter.
I tend to be a bit outspoken. 😉
May 1, 2008 at 10:53 pm #247511Can you post this code for jateline v.1.1?
<em>@mayhesla 51187 wrote:</em><blockquote>hmmm – ever though abouth why people register and buy templates at this site?
Maybe it’s because stuff like this aint easy for them 🙂
BANNER ABOVE ja-news POSITION:
———————————————————-
Find the following line in index.php:<?php if(!$tmpTools->isFrontPage()) : ?>
<div id="ja-pathway">
<jdoc:include type="module" name="breadcrumbs" />
</div>
<?php endif ; ?>Add this below:
<?php if($this->countModules('advert1')) : ?>
<!-- BEGIN: BANNER -->
<div id="top-banner">
<jdoc:include type="modules" name="advert1" />
</div>
<!-- END: BANNER -->
<?php endif; ?>OPEN UP YOUR template.css FILE and ad this at the bttom (or where u want)
#top-banner {
margin: 0;
padding: 10px 0;
text-align: center;
overflow: hidden;
width: 100%;
border-top: 1px solid #CCCCCC;
}
open up your templateDetails.xml file and add this under “positions”:
<position>advert1</position>
the above will put a banner centered on the top of the page and above the news modules.
There could be donne a lot more to the positioning of the banner,,,depending of wich module you use to display it. I for instance have this to controll the banneritem in the banner modules so it fits my needs:
div#top-banner .banneritem {
width: 477px;
border-right: 1px solid #CCCCCC;
}Now in the end you will need to think out something your selve, but this at least should get u started 🙂
Hope it helps
me</blockquote> -
AuthorPosts
This topic contains 19 replies, has 9 voices, and was last updated by cstibi 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum