0
Welcome Guest! Login
0 items Join Now

creating j1.5 plugin to display listing in content item

    • guysmiley's Avatar
    • guysmiley
    • Sr. Rocketeer
    • Posts: 160
    • Thanks: 2

    creating j1.5 plugin to display listing in content item

    Posted 17 years 1 month ago
    • Greetings,

      Having posted in 2 forums over at j!, I'm a little disappointed no one has answered. My question is simple:

      Is there a guide (or can someone point me in the right direction by example) to developing a plugin to display text from another field (in my case, an mtree listing) in a content item? Of course, this is for j1.5 ;o)

      gs
    • Chris S's Avatar
    • Chris S
    • Hero Rocketeer
    • Posts: 292
    • Thanks: 0

    Re: creating j1.5 plugin to display listing in content item

    Posted 17 years 1 month ago
    • Well - the Plugin-Structure is very flexible, so I'm quite sure, that it's possible to code such a plugin.
      There's quite a good book available on Joomla-Coding here: www.packtpub.com/Joomla-Extensions/book#indetail
      and you'll also find everything you need to know at the Developer-Network: dev.joomla.org/component/option,com_jd-w...ugins:create_plugin/

      However - do you mean a Module-Position with "another Field"? To embed this, you could simply try {loadposition mymoduleposition} (replace "mymoduleposition" with the moduleposition, your Mod resides in, i.e. user10).
    • guysmiley's Avatar
    • guysmiley
    • Sr. Rocketeer
    • Posts: 160
    • Thanks: 2

    Re: creating j1.5 plugin to display listing in content item

    Posted 17 years 1 month ago
    • Thanks for the reply...

      By 'another field' I meant another field in the database (the field that contains the text from the mosets tree listing).

      Thanks!
    • Chris S's Avatar
    • Chris S
    • Hero Rocketeer
    • Posts: 292
    • Thanks: 0

    Re: creating j1.5 plugin to display listing in content item

    Posted 17 years 1 month ago
    • I see - well, there's no easy way then ;) But writing plugins is not THAT much of a pain anyway...

      Basically the Framework is always the same and you can have a look at mtree's source as reference on how to query the DB.

Time to create page: 0.068 seconds