Members: 16,815
Threads: 38,941
Posts: 160,336
Online: 190

Newest Member: oldman


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Development > Component Development

Reply
 
LinkBack Thread Tools Display Modes
Old 22.04.2004, 15:40   #1 (permalink)
Expert Mamber
 
keliix06's Avatar
 
Join Date: Mar 2004
Posts: 202
keliix06 is on a distinguished road
Send a message via MSN to keliix06
Default Creating a quick and easy Mambo component

I wrote a little tutorial on how to create a simple component. You can view it at http://www.mambohut.com

http://www.mambohut.com/content/view/158/2/

It is fairly long, so make sure you have some time available.
keliix06 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 07.10.2004, 17:33   #2 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 22
snarkpit is on a distinguished road
Default Re: Creating a quick and easy Mambo component

That is awesome, I can't wait to check that out, thanks for the hard work Keliix06
__________________
snarkpit
www.vp-originals.com
snarkpit@vp-originals.com
snarkpit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08.10.2004, 08:26   #3 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 2
gvdwest is on a distinguished road
Default Re: Creating a quick and easy Mambo component

Hi

Thanks for the tutorial, it really cleared up some things. Only one problem when i try to install it i get "Another component is already using directory: "/var/www/html/intra/components/com_hello_world/". Any idea what could be wrong.

thanks
gvdwest is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.10.2004, 04:46   #4 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Location: Brisbane, Australia
Posts: 11
zonemen is on a distinguished road
Default Re: Creating a quick and easy Mambo component

It means you have already installed the component (whether it installed sucessfully or had an error, it will still create that directory), so log into your server and delete the /*root*/components/com_hello_world/ directory.
zonemen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.10.2004, 13:02   #5 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Location: Brisbane, Australia
Posts: 11
zonemen is on a distinguished road
Default Re: Creating a quick and easy Mambo component

The admin in this component doesn't work with Mambo 4.5.1, I get:
Quote:
Parse error: parse error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in W:\www\Mambo451\administrator\components\com_hello _world\admin.hello_world.html.php on line 45
Any suggestions?
zonemen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09.11.2004, 22:11   #6 (permalink)
Baby Mamber
 
Join Date: Nov 2004
Location: Guatemala Citiy, Guatemala
Posts: 1
frajonico is on a distinguished road
Default Re: Creating a quick and easy Mambo component

if you open that file and go to line 45 you will see something like this:

<input type="hidden" name="task" value="" />
</form>
<?php } ?>

function showText( $option, &$rows ) {
?>

Change the red line to

<?php }

You will then get another error on line 78 just add the \ to the inner "
so it reads

echo "<img src=\"images/tick.png\" border=\"0\" />";
frajonico is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03.12.2004, 04:21   #7 (permalink)
Baby Mamber
 
Join Date: Dec 2004
Posts: 9
envitony is on a distinguished road
Default Re: Creating a quick and easy Mambo component

I fixed some bug of the source code, please see attchement.
Attached Files
File Type: zip hello_world.zip (6.0 KB, 396 views)
envitony is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 23.02.2005, 05:54   #8 (permalink)
Senior Mamber
 
pocketom's Avatar
 
Join Date: Aug 2004
Location: Germany
Posts: 185
pocketom is on a distinguished road
Send a message via ICQ to pocketom Send a message via MSN to pocketom
Default Re: Creating a quick and easy Mambo component

I've been reading the tutorial with interest, but it seems that im still to stupid to create a simple component.

I want a very simple component as an addon for the great newsletter component letterman 1.1. You can find it here:

The component:
http://mambo-phpshop.net/index.php?o...d=56&Itemid=66

The subsribe module:
http://mambo-phpshop.net/index.php?o...d=55&Itemid=66


Its a very simple, but very handy tools which enables you to create, write and send newsletters directly from the frontend.

It works fine, but I miss something there:

I want to see the number of subscribed emailadresses and a simple ugly list of them. Cant be so difficult or? Tried a lot of things, but cannot get this realised. I have problems with reading the data from the database, my MY-SQL Knowledge is too bad for that, and its my first PHP projekt after HelloWorld .

Perhaps someone of you has better PHP skills than i have, and can try this small exercise. I would be very happy if someone can show me how to do this...

Best Regards
Tom
__________________
LET'S MAMBO NOT SPAMBO


Mambo got emailcloaking!
pocketom is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.11.2006, 11:07   #9 (permalink)
Baby Mamber
 
Join Date: May 2006
Posts: 10
wasim_at_drushti is on a distinguished road
Thumbs up Re: Creating a quick and easy Mambo component

hhmmmm, great tutorial.
wasim_at_drushti is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01.01.2007, 07:21   #10 (permalink)
Baby Mamber
 
aadhunik's Avatar
 
Join Date: Dec 2006
Location: css ajax pear smarty php asp scripts templates forum blog jaspal adhunik software development applic
Posts: 6
aadhunik is on a distinguished road
Default Re: Creating a quick and easy Mambo component

soon I will be releasing my own component
__________________
Jaspal Singh Sutdhar, Aadhunik.com Social Networking Community Portal Web Site Services India
aadhunik is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a quick and easy module keliix06 Module Development 4 29.06.2008 07:20


All times are GMT +2. The time now is 23:01.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.