954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

PHP Joomla

Hey guys,
Can someone please take a stab explaining PHP!!! I upload files through dreamweaver and get a huge mess.

How does it work?
What makes it better or worse?

I'm not completely code illiterate, I've worked in c++, java, I know basics in HTML and some actionscript as well. Any help or point in a good direction would help.

Thanks

floresj4
Newbie Poster
4 posts since Apr 2006
Reputation Points: 10
Solved Threads: 0
 

Hi,

How are you using the PHP files in Joomla? Joomla requires your php files to be structured into components, or modules, or plugins...

Are you asking how to use the php files with Joomla, or just php in general?

:)

digital-ether
Nearly a Posting Virtuoso
Moderator
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101
 

Well I'm kinda asking to work specifically with Joomla, but I dont understand how php works
:(

floresj4
Newbie Poster
4 posts since Apr 2006
Reputation Points: 10
Solved Threads: 0
 
Well I'm kinda asking to work specifically with Joomla, but I dont understand how php works :(

Well, I'd recommend you try and figure out php first then delve into Joomla's PHP API.

With PHP, you best resource is none other than http://php.net
You can also download the php documentation, http://www.php.net/docs.php , it covers about everything from installing, to usage and functions reference.

Heres the online view of the docs in English:
http://www.php.net/manual/en/

The getting started section is probably what you're looking for:
http://www.php.net/manual/en/getting-started.php

;)

In joomla you cannot add php through the content editor, or anything like that. (There are some extensions to do this though).

To add a set of php files, the easiest thing to do is create a component. This allows you to add set of php files, whose output will show in the "mainbody" of Joomla.

Heres the developers wiki, take a look at the tutorials.
http://dev.joomla.org/component/option,com_jd-wiki/Itemid,32/

digital-ether
Nearly a Posting Virtuoso
Moderator
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101
 

Thanks for you help! Ill take a shot at those site

floresj4
Newbie Poster
4 posts since Apr 2006
Reputation Points: 10
Solved Threads: 0
 

Here is a list of Joomla extensions that allow you to add PHP directly to the Joomla site:

Joomla PHP Module - http://www.fijiwebdesign.com/products/joomla-php-module.html
Joomla PHP Component - http://www.fijiwebdesign.com/products/joomla-php-pages.html

digital-ether
Nearly a Posting Virtuoso
Moderator
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101
 

thanks because of this thread i can use php code in my joomla site. thank you very much.i hope there are no problems in my installation.

canterorist
Junior Poster in Training
54 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

Hello All
I recomended For you best resource is none other than http://php.net
You can also download the php documentation, http://www.php.net/docs.php , it covers about everything from installing, to usage and functions reference.

jwd.adodis
Light Poster
48 posts since May 2010
Reputation Points: 7
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You