Fri 08 Jan |
|
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.
Showing a SOBI2 Category 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.
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>
If you have any comments, suggestions or need any help please leave a comment below. Thanks. |
| Last Updated on Wednesday, 10 February 2010 10:51 Read : 8260 times |
























I want to show the field_description in the frontpage.
How do we solve this issue?
Would have to hack it..
Contact me by the contact page..
John (Admin)
I use this plugin to show different categorys on Frontpage and it works just fine. But is it possible to show mre then 3 fields?
I want to display particular categories item when the person select it on sobi2 but how could i do that it only works with single entry.
Yes indeed, it's just a module so you can show any category anywhere.
If you wanted to automate this (if you have a lot of categories) then some further coding would be required.
If so just email me by the contact page.
Cheers
Here's my problem(just an example). I'm using SOBI2 to list my partners. I've got partners(categories) from Restaurants, Cinemas, Cafés. I've got menu items: Main Page, Date, Movies. I wanna list randomly with this module on my Frontpage(Main Page) from all SOBI2 items. On Date menuitem wanna list from Restaurants and Cafés, and on Movie menuitem just wanna list randomly from Cinemas' partners.
Hope u catched what I'm thinking on...
If you just want to show individual items there must be a SOBI module available for that.
If you have particular items you want to show then just make a new cat, put the items in there and then display it...
Is it possible to choose more than one category to select from?
Thant would really great!
Coupon? Don't understand...
Another: Any Coupon code for the new stuf??
Got a huge job on that has to be finished by Tuesday.
Will get the module onto the download page by Wednesday hopefully!