Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 Next > End >>
Re:CB Helloworld Plugin (part 2)
Date: 2006/11/07 16:41 By: nant Status: Admin  
Karma: 467  
Admin

Posts: 6234
graph
jmedina wrote:
I tried that!

It's not as simple as just adding the code after the return variable. There is all kinds of escapes involved.

I usually don’t post in the forum until I have exhausted my resources.

I read the API documentation about URLs and it said something about using a getParm variable, but to he honest that document is just over my head a bit. Can you give me an example of displaying a link in a plug-in.

In other words can you post the code, where I can just copy and paste it into the hello world 2 plug-in and get a link? I think I can take it from there.


Try this:

Code:

  "<a href=\"http://www.joomlapolis.com\">Joomlapolis</a>"



just before the line

Code:

 "</div>\n";



in the example.
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Helloworld Plugin (part 2)
Date: 2006/11/07 19:26 By: kmchen Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 12
graphgraph
Thanks Nick for your quick answer that permitted me to progress.

I need a little help more. I put the fields to 1 in the xml file and now I have my tab appearing in the backend with fields I create by hand in the same backend.
But the outputs of my getDisplayTab method appear correctly in frontend but not at all in the backend.
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Helloworld Plugin (part 2)
Date: 2006/11/07 20:12 By: nant Status: Admin  
Karma: 467  
Admin

Posts: 6234
graph
kmchen wrote:
Thanks Nick for your quick answer that permitted me to progress.

I need a little help more. I put the fields to 1 in the xml file and now I have my tab appearing in the backend with fields I create by hand in the same backend.
But the outputs of my getDisplayTab method appear correctly in frontend but not at all in the backend.


That's correct the getDisplayTab function handles non-edit mode display and backend viewing is in edit mode.

You need to use the getEditTab function also explained in the API document.
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Helloworld Plugin (part 2)
Date: 2006/11/08 17:32 By: jmedina Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 15
graphgraph
Thanks Nick ! That helped me get what I needed. I now have a link on my profiles to a zoom search for the user.

Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Helloworld Plugin (part 2)
Date: 2006/11/08 21:37 By: nant Status: Admin  
Karma: 467  
Admin

Posts: 6234
graph
2 jmedina:

I am glad the tutorials helped - why dont you post the plugin in the 3PD forum for others to benefit?
Nick A.
CB Core Team Member
Support CB Development and Get Detailed Documentation
Developer of Nant's Gallery plugin
CB Gallery Extensions Listing, Rate CB Gallery on Extensions Site
Developer of CB AutoWelcome Plugin
CB AutoWelcome Extensions Listing,Rate CB AutoWelcome on Extensions Site
People ignoring your call for help? Read this!
FAQ you
Joomlapolis Extensions Directory (new)- check it out!
Click here to see the profile of this user The administrator has disabled public write access.

Re:CB Helloworld Plugin (part 2)
Date: 2006/11/08 22:18 By: jmedina Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 15
graphgraph
I am planning on it. I just need to clean it up so that it is not my site specific. I also have to package it
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login