Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 19

Newest Member: Kl_broka@rediffmail.com


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 'How Do I' Questions

Reply
 
LinkBack Thread Tools Display Modes
Old 10.04.2004, 12:56   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 6
TheEdge is on a distinguished road
Default How to integrate a custom php script into Mambo

G'Day,

I have some custom PHP that I have written. How do I embed the content produced by this PHP within a Mambo site?

TIA
TheEdge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 10.04.2004, 17:00   #2 (permalink)
Professional Mamber
 
tonyskyday's Avatar
 
Join Date: Apr 2004
Location: Charlottesville, VA USA
Posts: 565
tonyskyday is on a distinguished road
Default Re: [Q] "My" PHP Code Within Mambo

I suppose that depends on what this code does. Does it interact with a database?

Anyway, you basically have 4 options, depending on what you are trying to accomplish: 1) make a mambo component, 2) make a mambo module, 3) use a mambot to add the code to a content item, or 4) hardcode the php into your template index.php file.

What exactly does your script do, and what are you trying to accomplish?

There is some information on making CMTs on mamboserver.com, but it is probably easier just to look at existing CMTs as a guide.

-Tony

Last edited by tonyskyday; 10.04.2004 at 22:37. Reason: fixed a small typo
tonyskyday is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10.04.2004, 21:54   #3 (permalink)
Mamber
 
webracer's Avatar
 
Join Date: Apr 2004
Location: Flanders - Belgium
Posts: 58
webracer is on a distinguished road
Send a message via MSN to webracer
Default Re: How to integrate a custom php script into Mambo

What is your phpcode doing? For phpcode which does return a value (please do not use print or echo commands; but give values back to mambo), you can use our free mambo: mosphp. Download at www.mambobrothers.com
__________________
Webracer
Founding member of mambobrothers.com
"You have the Ideas, We have the Skills"
webracer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.04.2004, 17:15   #4 (permalink)
Baby Mamber
 
afru's Avatar
 
Join Date: Apr 2004
Posts: 24
afru is on a distinguished road
Thumbs up Re: How to integrate a custom php script into Mambo

Quote:
Originally Posted by TheEdge
G'Day,

I have some custom PHP that I have written. How do I embed the content produced by this PHP within a Mambo site?

TIA
Check out this thread. Might be helpful to you.
Useful Links -> Embeding php scripts into mambo content
Afru.
afru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12.04.2004, 17:06   #5 (permalink)
Senior Mamber
 
coke's Avatar
 
Join Date: Apr 2004
Posts: 125
coke is on a distinguished road
Send a message via MSN to coke
Default Re: How to integrate a custom php script into Mambo

try this:

http://www.mambers.com/showthread.php?p=5018#post5018

you don't have to use your script as a component, but call it with a full url include as i say in the bottom of the topic above.
__________________
Como quieres que te quiera si el que quiero que me quiera no me quiere como quiero que me quiera
coke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05.08.2004, 03:10   #6 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 3
peterr is on a distinguished road
Default Re: How to integrate a custom php script into Mambo

Hi,

Quote:
Originally Posted by webracer
What is your phpcode doing? For phpcode which does return a value (please do not use print or echo commands; but give values back to mambo), you can use our free mambo: mosphp. Download at www.mambobrothers.com
I registered on your website yesterday, and still have not received an email confirmation back ? I have also tried, the "I forgot my password", as the system did recognise my username.

Can you please get this fixed.

Peter
peterr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.08.2004, 11:52   #7 (permalink)
Mamber
 
webracer's Avatar
 
Join Date: Apr 2004
Location: Flanders - Belgium
Posts: 58
webracer is on a distinguished road
Send a message via MSN to webracer
Default Re: How to integrate a custom php script into Mambo

i've send you a working userid & password
__________________
Webracer
Founding member of mambobrothers.com
"You have the Ideas, We have the Skills"
webracer 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

BB 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
Mambo Open Source 5.0 Book Series mmx Community Announcements 13 19.09.2005 09:35
Design is kinky ! Ein Mambo Osterei auf grishan.schwabenserver.de grishan Mamboseiten 17 09.07.2005 20:30
Why Mambo is better than PostNuke? Jazzy Community Smalltalk 42 19.11.2004 14:27
mambo vs. phpWebSite CMS reemas Mambo 4.5 General Talk 14 09.05.2004 02:38


All times are GMT +2. The time now is 20:30.

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