A Joomla Module to show SOBI2 Category Contents - SOBI2 Show Category - Joomla & VirtueMart Tips & How To's

A Joomla Module to show SOBI2 Category Contents - SOBI2 Show Category items in any module position.

Home Joomla - VirtueMart SOBI2 Show Category Module

Fri

08

Jan

A Joomla Module to show SOBI2 Category Contents - SOBI2 Show Category
  • Joomla 1.5
  • Modules

We needed the ability to show items from particular SOBI2 Categories at the bottom of articles. Here is the result, the SOBI2 Show Category Contents Module.
Now you can show any SOBI2 Category exactly where you want and configure which fields are displayed and style the display as you want it.


SOBI2 Show Category Contents 3


Aircraft -
Zeppelin-Staaken R.VI


Zeppelin-Staaken R.VI  Zeppelin-Staaken R.VI  In September 1914, at the start of World War I, Ferdinand von Zeppelin visualised the concept of a Riesenflugzeug (R) bomber, to be larger than the Gotha G. Using engineers from the Robert Bosch...

Country Germany
Year 1917
Read More...

Aircraft -
Gotha G.V


Gotha G.V  Gotha G.V  The Gotha G.V was a heavy bomber used by the Luftstreitkräfte (Imperial German Air Service) during World War I. The G.V entered service in August 1917. It offered no performance improvement over...

Country Germany
Year 1917
Read More...
SOBI2 Show Category Contents multiple modules
Showing a SOBI2 Category
You can download it here - Download
The price is €10.

Install the module in the normal Joomla way.

Version 1.1
Now the items can be ordered by date, id or hits, ascending or descending.
Title label can be chosen.
Small bug fix for undeclared variables.


You can make multiple copies of the module and even have more than one module on the same page with different styling for each module.
See an example of multiple SOBI2 Show Category Contents modules.

You can choose exactly which SOBI2 fields are displayed, whether their labels are shown and add html to the labels.
A complete list of possibilities is listed below.

SOBI2 Show Category Contents module parameters
  • Module class
  • Number of items to display
  • Display items by date, order or hits
  • Display items ascending or descending
  • SOBI2 Category
  • Itemid for the url links
  • Show Item Title
  • Choose Item Title
  • Show Item Label
  • Title length
  • Show 3 dots after title shortening
  • Show 3 additional fields
  • Show additional fields labels
  • Add html to the labels,
    , : etc
  • Configure the length of the texts
  • Add 3 dots if shortened
  • Show the icon image
  • Show the main image
  • Individual css for each module
  • Individual layout for each module
  • Images linked to Vcards
  • Url parameter to make a Read More etc.


Most of the parameters are self-explanatory only the CSS and Template need a bit further information.

The CSS example given shows you what is needed, the base class of the module is sobi2show_cat plus whatever module class suffix you choose to give it.
You don't need to add the suffix to the class in the text box, this is handled automatically.
The icon and the image have the classes sobiicon and sobiimage respectively.
The css needed is similar to this:
.sobi2show_cat {height:220px;border-bottom:1px solid #666;} 
.sobi2show_cat h4 {margin:0;} 
.sobi2show_cat .sobiicon{margin:0 20px 20px 0;} 
.sobi2show_cat .sobiimage{margin:0 0 0 20px;}

The template is a little more complicated. You can choose to use a standard layout by choosing NOT to use the template.It's Title at the top, icon to the left, image to the right and the texts in-between.

Otherwise you can use the template interface provided.
This uses html and the required placeholders, an example is below.
<br/>
<h4>{title}</h4> 
<span style="float:left;">{icon}</span> <span style="float:right;">{image}</span> {field1}
<br/> <br/> 
{field2label}{field2} 
{field3}<br/> 
<a href="{url}">Read More...</a>





SOBI2 Show Category Contents logo




If you have any comments, suggestions or need any help please leave a comment below.

Thanks.








Last Updated on Wednesday, 02 January 2013 17:16
 
VirtueMart
Your Cart is currently empty.

Paypal Donation

If you use this module on your site please donate a small amount.
Any donation amount appreciated.

Latest Joomla & VirtueMart Tips

See all tips & examples



A Joomla Module to show SOBI2 Category Contents - SOBI2 Show Category|Joomla & VirtueMart Tips & How To's



A Joomla Module to show SOBI2 Category Contents - SOBI2 Show Category items in any module position.


sobi, module, title, cat, image, category, items, css, class, field, add, labels, template, choose, display, icon, fields, example, item, margin, label, use, needed, html, multiple, url, joomla, dots, additional, read, sobiimage, sobiicon, length, modules, texts, exactly, individual, suffix, download, layout


guru

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.