web design, England, Britain, UK, belgium
 

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

A Joomla Module to show SOBI2 Category Descriptions on any page in conjunction with the SOBI2 items - SOBI2 Show Category Descriptions

Home Joomla VirtueMart Tips A Joomla Module to show SOBI2 Category Descriptions - SOBI2 Show Category Descriptions

Mon

03

May

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

We needed the ability to show the decriptions from each SOBI2 Categories of each item. Here is the result, the SOBI2 Show Category Descriptions Module.
Now you can show any SOBI2 Category Description exactly where you want and configure which fields are displayed and style the display as you want it.


SOBI2 Show Category Descriptions module
This has lots of possibilities to utilise the SOBI2 descriptions to provide more information for your visitors.
One we have done is for a Hotel directory where the SOBI2 Show Category Descriptions Module is used to show appropriate Country or City information.
See here. The Berlin info on the lower right is the SOBI2 Show Category Descriptions Module.
You can download it here - Download
The price is €10.

Install the module in the normal Joomla way.

See an example of the SOBI2 Show Category Descriptions module.

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 Descriptions module parameters
  • Module class
  • Show Description Titles
  • Show Description Titles Label
  • Title length
  • Show 3 dots after title shortening
  • Show short description and/or description fields
  • Show short description and/or description fields labels
  • Add html to the labels, , : etc
  • Configure the length of the short description and/or description fields
  • Add 3 dots if shortened
  • Show the icon image
  • Show the main image
  • Choose defaulr Category Item for SOBI Root or non-SOBI page
  • Images linked to Category


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_desc 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_desc {height:220px;border-bottom:1px solid #666;} 
.sobi2show_cat_desc h4 {margin:0;}
.sobi2show_cat_desc .sobiicon{margin:0 20px 20px 0;}
.sobi2show_cat_desc .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 Description logo

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

Thanks.








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



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



A Joomla Module to show SOBI2 Category Descriptions on any page in conjunction with the SOBI2 items - SOBI2 Show Category Descriptions


sobi, description, module, category, fields, descriptions, image, desc, cat, labels, add, class, title, template, choose, field, icon, margin, html, use, example, short, css, needed, information, dots, displayed, sobiimage, configure, length, exactly, label, item, titles, download, suffix, right, joomla, sobiicon, possibilities

|

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.