Skip to Content Skip to Menu

CB plugin to joomla component wrapper

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 10 months ago #31402 by mikko
Replied by mikko on topic Re:CB plugin to joomla component wrapper
Solved the compatibility issue. Profile book depended on functions defined in comprofiler.php and when the plugin was called outside CB it failed.

I copied some function definitions from comprofiler.php to the module and now it works. Please report if you find any other bugs like this.

The funny thing is that I am not sure whether this should be considered as a mod_cbtabwrapper bug, profile book by, or not a bug at all.

mikko

Attachment mod_cbtabwrapper-5c904f1c58cdf6d9d2f5e71914a845e8.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

  • Flipsider
  • Flipsider
  • OFFLINE
  • Posts: 137
  • Thanks: 0
  • Karma: -82
17 years 10 months ago #31404 by Flipsider
Replied by Flipsider on topic Re:CB plugin to joomla component wrapper
Thank you, it works (ugly css though, might have to add custom css to it. )

You might want to consider adding Module Class Suffix to the module, just add it above </params> in xml file:
[code:1] <param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (table.moduletable), this allows individual module styling" />[/code:1]

Gave a small how to, as you said it was your first module? :side:

De-Karma me... if you dare...
CB Xbox Gamercard Plugin (Gone] - CB Xbox Gamercard Module (Gone)

Please Log in or Create an account to join the conversation.

  • mikko
  • mikko
  • OFFLINE
  • Posts: 703
  • Thanks: 0
  • Karma: 115
17 years 10 months ago #31405 by mikko
Replied by mikko on topic Re:CB plugin to joomla component wrapper
Ok. Here is version with this fix.

mikko

Attachment mod_cbtabwrapper-752e920b9d03eab6e62765c6a3ee5ef2.zip not found

Attachments:

Please Log in or Create an account to join the conversation.

  • pointri
  • pointri
  • OFFLINE
  • Posts: 118
  • Thanks: 0
  • Karma: 27
17 years 10 months ago #31406 by pointri
Replied by pointri on topic Re:CB plugin to joomla component wrapper
Mikko,

As far as I understand, creating an extension parameter that draws its options from an XML SQL instruction isn't currently a core feature, but the core developers have implemented it for Joomla 1.5. I was happy to hear about it, because it'll make integrations a much easier task.

dev.joomla.org/component/option,com_jd-wp/Itemid,33/p,253/

Joomlapolitan zealot and a somewhat stealthy, rather passive CB3PD developer.
www.constructionlounge.com Construction Lounge: Online resource and networking portal for the construction and remodeling industries.

Please Log in or Create an account to join the conversation.

  • leo9
  • leo9
  • OFFLINE
  • Posts: 2
  • Thanks: 0
  • Karma: 0
17 years 10 months ago #31420 by leo9
Replied by leo9 on topic Re:CB plugin to joomla component wrapper
mikko wrote:

leo9 wrote:

This is brilliant!! I have a question. I would like to have more than one. Is there anyway I can install a few more of these modules for different positions of my site?


The copy button in module management does this. So yes, you can have several copies.

mikko


LOVELY! B)

Please Log in or Create an account to join the conversation.

  • mediaguru
  • mediaguru
  • OFFLINE
  • Posts: 365
  • Thanks: 1
  • Karma: 70
17 years 10 months ago #31432 by mediaguru
Replied by mediaguru on topic Re:CB plugin to joomla component wrapper
Got it working now! I found the ID# from the database. I also downloaded the latest version just in case. It works with my karma plugin so it now displays the logged in user's karma in a module on the home page... COOL!

CB/Joomla golf site: www.thegolfspace.com
Geek/joomla site: www.tkserver.com

Check out my Joomla/CB projects:

* LIKE thumbs up system for "liking" content items
* Karma - CB user rating system
* Golf Score Tracker
* Jitter - status update system. "What's on your mind?"
* CB Author Plug - Shows CB author link and avatar in content items. J1.5 compatible and very customizable!

Found on my web site or in the Joomlapolis Directory !

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum