• Free Domain Names with Yearly hosting

You are here: Home Joomla Joomla Forums

spacer
Welcome, Guest
Please Login or Register.    Lost Password?

Tables in Blog/Cat?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Tables in Blog/Cat?
#73
Tables in Blog/Cat? 3 Years, 11 Months ago Karma: 0  
Greetings,

I am trying to get the Mambot to work for my category display and can't seem to get it to work. I simply have a category with several articles and I want every other intro text table to alter colors, possible?

Thanks.
spmckee (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#75
Re:Tables in Blog/Cat? 3 Years, 11 Months ago Karma: 14  
Hi,

Unfortunately Joomla does not run mambots (generally) anywhere but inside articles (content). Which unfortunately means categories and sections are not able to use this mambot.

However it is possible to hack the core files within Joomla (not really recommended as it can break your site - and always make a back up first!). I have already provided an example of it working on my test site which you can see here:

Nicer Tables in Category view

If you are interested in modifying Joomla you can read this thread as it covers the topic on the files I modified to get the test site to work.

Hope this helps, if you have any more questions don't hesitate to ask

Cheers
SimpleByDesign (Admin)
Moderator
Posts: 435
graph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1977-09-21
The administrator has disabled public write access.
 
#107
Re:Tables in Blog/Cat? 3 Years, 11 Months ago Karma: 0  
Thank you for your reply!

To help simplify things, this link shows exactly what I am trying to accomplish. Will your core hack (along with the mod of course) accomplish this? inshorefan.com/docktalk.asp

Thanks again!
spmckee (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#108
Re:Tables in Blog/Cat? 3 Years, 11 Months ago Karma: 14  
Hi,

Unfortunately not, the type of menu item you will most likely use will be either:

Blog - Content Category (Example)
Blog - Content Section (Example)

Both of these use multiple tables for the content, for example:

Code:


<table class="contentpaneopen">
 <tr>
  <td class="contentheading" width="100%">
   Heading
  </td>
 </tr>
</table>
<table class="contentpaneopen">
 <tr>
  <td valign="top" colspan="2">
   Content
  </td>
 </tr>
</table>
<span class="article_seperator"> </span>



And then just repeat the process for each blog/content item. Where as the mambot requires the information to all be in one table, it'll only work on the 'Table - Content Categoy' (Example) menu option.

It is most likely possible though to manually hack the core files that display these and place a alternating CSS colour/reference as they are displayed.

Kind Regards
SimpleByDesign (Admin)
Moderator
Posts: 435
graph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1977-09-21
The administrator has disabled public write access.
 
#109
Re:Tables in Blog/Cat? 3 Years, 11 Months ago Karma: 0  
Good to know. Thanks again.
spmckee (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Copyright © Simple By Design Limited