Welcome, Guest
Please Login or Register.    Lost Password?

BlackBearPro15 Latest News & Popular
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: BlackBearPro15 Latest News & Popular
#3885
BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 0
I want to have the latest new and popular on the home page at the top of content.

Latest News | Popluar
* news 1 * Popular 1
* news 2 * Popular 2

Articles
MikeB
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/12 21:16 By MikeB.
The administrator has disabled public write access.
 
#3886
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 19
Hi MikeB,

Please go in the backend under:

Extensions >> Template Manager >> Select BlackBearPro >> Edit HTML

There search for
Code:

<div id="left">

<jdoc: include type="modules" name="left" style="xhtml" / >

</div>


add behind:


There search for
<div id="left">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>

add behind:

<table class=latestnews>
<tr>
<th><?php if ($this->countModules('user1')) : ?>
<div>
<jdoc:include type="modules" name="user1" style="xhtml" />
</div>
<?php endif; ?>
</th>
<th><?php if ($this->countModules('user2')) : ?>
<div>
<jdoc:include type="modules" name="user2" style="xhtml" />
</div>
<?php endif; ?>
</th>
</tr>
</table>

and save the file.

Then Edit the CSS file from the Template over Edit css >> template.css

Add at for example the end of the file:

table.latestnews {
margin:0px 0px 0px 350px;
}

table.latestnews th {
text-align:left;
}

Then enable the module mod_latestnews at the position "user1" and the module mod_mostread at the position "user2"

You can format it over the css files.

And now, it must work. ;-)

Regards,

hofmar
GermanBear
Moderator
Posts: 441
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 178412056 Gender: Male hofmar123 Carnevale di Venezia Bonn Location: Bonn Birthday: 05/08
Last Edit: 2010/03/15 23:08 By GermanBear.
The administrator has disabled public write access.
 
#3887
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 0
Thanks but I use user1 and user2 as banner placement on my site

www.thecoralvault.com

user1 is the banner in the header and user2 is the banner in the footer.
MikeB
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3888
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 19
Ok, then we must create new modul-position. That´s no Problem.

Here the manual changed to your needs.


Please go in the backend under:

Extensions >> Template Manager >> Select BlackBearPro >> Edit HTML

There search for
Code:

<div id="left">

<jdoc: include type="modules" name="left" style="xhtml" / >

</div>


add behind:


There search for
<div id="left">
<jdoc:include type="modules" name="left" style="xhtml" />
</div>

add behind:

<table class=latestnews>
<tr>
<th><?php if ($this->countModules('user3')) : ?>
<div>
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php endif; ?>
</th>
<th><?php if ($this->countModules('user4')) : ?>
<div>
<jdoc:include type="modules" name="user4" style="xhtml" />
</div>
<?php endif; ?>
</th>
</tr>
</table>

and save the file.

Then Edit the CSS file from the Template over Edit css >> template.css

Add at for example the end of the file:

table.latestnews {
margin:0px 0px 0px 350px;
}

table.latestnews th {
text-align:left;
}

Then enable the module mod_latestnews at the position "user3" and the module mod_mostread at the position "user4"

And now, it must work. ;-)


Regards,

hofmar
GermanBear
Moderator
Posts: 441
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 178412056 Gender: Male hofmar123 Carnevale di Venezia Bonn Location: Bonn Birthday: 05/08
Last Edit: 2010/03/15 23:13 By GermanBear.
The administrator has disabled public write access.
 
#3899
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 0
I followed your instructions and the Latest News and Popular are still not showing. I added the HTML in the right place, I added the CSS and I enabled the two modules
MikeB
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3900
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 19
Have you enabled the modules on position user3 and user4.

Or see you the positions in your properties?

Regards,

GermanBear
GermanBear
Moderator
Posts: 441
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 178412056 Gender: Male hofmar123 Carnevale di Venezia Bonn Location: Bonn Birthday: 05/08
Last Edit: 2010/03/15 20:27 By GermanBear.
The administrator has disabled public write access.
 
#3901
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 19
Hi,

I have found the mistake. When I copied the code, there insert two blanks in the code. I have corrected the manual.

Regards,

GermanBear
GermanBear
Moderator
Posts: 441
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 178412056 Gender: Male hofmar123 Carnevale di Venezia Bonn Location: Bonn Birthday: 05/08
The administrator has disabled public write access.
 
#3902
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 0
That did it. Thanks again for the awesome service and support.
MikeB
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3903
Re:BlackBearPro15 Latest News & Popular 2 Years, 2 Months ago Karma: 19
Now, all the code is corrected and I have insert the positioning.

Regards,

GermanBear
GermanBear
Moderator
Posts: 441
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 178412056 Gender: Male hofmar123 Carnevale di Venezia Bonn Location: Bonn Birthday: 05/08
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Support
 
JOOMLA TEMPLATES Joomla Templates By JoomlaBear