Please login or register.

Login with username, password and session length
Advanced search  

News:

Anzeige:

SOBI2 Featured Listings Plugin
Featured Listings
SOBI2 Radius Distance Search Plugin
Radius Distance Search
SOBI2 Import & Backup Plugin
SOBI2 Import & Backup
SOBI2 Search Module
Search Module
SOBI Donation/Spende
Pages: [1] 2   Go Down

Author Topic: Individual advertisements on category pages  (Read 4346 times)

0 Members and 1 Guest are viewing this topic.

arjun

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 5

  • Reviews:

    What is it?

Individual advertisements on category pages
« on: 08. March 2007, 09:25:49 »
I would be a good feature to have specific advertisements to show up in the main banner for specific categories in SOBI2
 Any suggestions on how to link the joomla default banner component and SOBI 2 to achieve this functionality.

I would assign a banner module to a a specific SOBI2 page selecting from the list of "menus" on the right side{Administrator>>Modules>>Banner}.
Logged
Country: India India |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile
Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Trinity

  • SOBI Team
  • Development
  • SOBI Hero
  • *
  • Thanx from users: 507
  • Offline Offline
  • Posts: 6860

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #1 on: 13. March 2007, 23:14:43 »
You can add your advertisement in the category description of a category.
Logged
Get started fast - SOBI2 Import and Backup Plugin
Import & export entries, import & export categories, save your configuration
Back-up & restore your SOBI2 data - keep your data safe, and portable.

Get more info here: http://www.sigsiu.net/addons/import_and_backup_plugin.html
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW

arjun

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 5

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #2 on: 15. March 2007, 19:31:54 »
Can that be html and can it include an image or swf
Logged
Country: India India |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Katy

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 20

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #3 on: 15. July 2009, 13:16:08 »
Hello!

I am also interesting in this feature. I have included my banner, but I would like to show it after my subcategories listing in this main categorie.
Now, I use standard_advance2 template. 

I am looking forward to hearing from you soon.

Sincerely

« Last Edit: 30. July 2009, 08:22:54 by Katy »
Logged
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

urbanlives

  • Quality & Testing
  • SOBI Hero
  • *
  • Thanx from users: 120
  • Offline Offline
  • Posts: 830

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #4 on: 15. July 2009, 16:12:37 »
With the new version of Sobi it is integrated with the Joomla Menu system so you can generate ItemID's on all categories.  The process is a touch labour intensive but you can use any off the shelf bannermanager (even the built in groups to one) that can assign banner groups to menu id's.

Process is:
Go into menu manager and create a new menu (you don't need to display this menu but it needs to be setup).
Now in this new menu create a Sobi entry for every category you want to add banners to.
Now you can assign the banner groups to the menu item you need according to ItemID.  These carry through all of Sobi (category listings in component, sobi tree menu module etc.) which is why you don't need to actually use the menu you created.  These itemID's stick so if you set them at one level of the category tree they will continue to be displayed on sub categories (unless assigned in a menu) and detail views of the entries.

Only place it isn't assigned in detail views for the corresponding category is from a search but you could assign a banner group to a search menu link.

Hope that helps.
Greg
Logged
Country: Canada Canada |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Katy

  • SOBI Newbie
  • *
  • Thanx from users: 0
  • Offline Offline
  • Posts: 20

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #5 on: 16. July 2009, 09:42:12 »
Dear Greg!

Thank you very much for your answer, but it was not really that what I need.
I would like to show my banner not over my subcategory listing but under the listing of subcategories, if I open a category.

Sincerely
Logged
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

urbanlives

  • Quality & Testing
  • SOBI Hero
  • *
  • Thanx from users: 120
  • Offline Offline
  • Posts: 830

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #6 on: 16. July 2009, 13:58:59 »
Hi Again:

Actually the solution you are looking for would still be along those lines.  You would just need to add a module position to Sobi between the Sub Category listing and the Entries themselves.  It would be a very minor Hack (around 1 line in 2 files).  Only question is where exactly do you want the position created as that space is occupied by the linkages for the featured listing plugin.

So do you want it located above or below where featured listings would be?

Greg
« Last Edit: 16. July 2009, 14:01:08 by urbanlives »
Logged
Country: Canada Canada |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

aboututila

  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 241
  • Offline Offline
  • Posts: 1896

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #7 on: 16. July 2009, 15:35:52 »
I would be a good feature to have specific advertisements to show up in the main banner for specific categories in SOBI2

A new version of the module Simple Featured Entries allows you to display selected Sobi2 entries belonging to user-specified categories. It does not use the Joomla Banner component, but you could publish it in the Banner module position to achieve a similar effect.

The new version of module Simple Featured Entries is current released for testing. It is for Joomla 1.5.x only. Feedback indicates it should be available as a stable release very soon. No unresolved problems have been reported with the test release v2.0.2

I hope this helps - Mark
Logged
Country: Honduras Honduras |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

urbanlives

  • Quality & Testing
  • SOBI Hero
  • *
  • Thanx from users: 120
  • Offline Offline
  • Posts: 830

  • Reviews:

    What is it?

Re: Individual advertisements on category pages
« Reply #8 on: 16. July 2009, 20:21:56 »
Ok I added another function to Sobi to allow embedding modules in the code.  Posted it here http://www.sigsiu.net/forum/index.php/topic,18098.0.html.

If you want to add a module position after the Category listing you would need to modify the following line to
/components/com_sobi2/frontend.class.php

Line 1243:
      return $this->catList;

Change to
      return $this->catList.sobi2InsertMod("sobicat1");

Replace sobicat1 with whatever module position you define.

This would work well with Simple Featured Entries as well since it allows you to embed the module.

Greg

Logged
Country: Canada Canada |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile

Robert_Vining

  • SOBI Team
  • Moderator
  • SOBI Hero
  • *
  • Thanx from users: 90
  • Offline Offline
  • Posts: 1130

  • Reviews:

    What is it?

  • I'm All Jacked Up On Mountain Dew and Sobi2!
Re: Individual advertisements on category pages
« Reply #9 on: 17. July 2009, 20:32:36 »
I'm not sure I understand why you would need to hack the core code in the first place.

Anyone can add a module position to a standard joomla template and set the module to only show in the specific categories using the menuID and the module manager as described above. You would simply add a module position below the com_content Then there is no core code to be hacked and both joomla and sobi2 can be updated as new releases are published without hacking the code all the time.

Simply find this line of code in your joomla template:

<jdoc:include type="component" />

And add this line of code below it:

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

And this line of code to your templatesDetails.xml file along with the other positions in that file:

<position>sobi2_banner</position>

And go to your module manager and set the banner module to that postion, and select the proper sobi2 category where you want he banner to show up. Rinse and repeat as necessary for what banners you want to show where if you need specific ones in each category.
Logged
Robert Vining
www.robertswebdesign.com - Joomla and Sobi2 Specialist
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown |  View Profile WWW
Pages: [1] 2   Go Up
« previous next »
 

Page created in 0.227 seconds with 27 queries.

Partner Sites: Joomla Web Design  |  Yagendoo Templates  |  LayDev - Joomla Templates  |  Joomla Downloads  |  CyberTyper.ch  |  Codingfish  |  Akeeba Backup  |  FLEXIcontent  |  templates4ALL  |  Joomla! InSecurity