Passing parameters for article content via url

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
pseps
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Sep 05, 2007 6:00 pm

Passing parameters for article content via url

Post by pseps » Thu Sep 13, 2007 11:21 am

Hi,
I am new to Joomla and am quite impressed. I am trying to migrate to Joomla a php site, where I frequently generate pages where content is based on parameters passed via the url (e.g. company_profile.php?name=IBM) and data is pulled from a database to generate the company profile.
From what I have learned so far, it is possible to include php code in the body of an article (e.g. by using the includePHP plugin), but I haven't yet found a way of passing parameters via a hyperlink.
Ideally I would like to have a list of companies with hyperlinks that point to their profiles.
Would any one have a suggestion how this can be done, or guide me to material that I could read?
Thanks,
Max

User avatar
ianmac
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 237
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Passing parameters for article content via url

Post by ianmac » Thu Sep 13, 2007 3:25 pm

Help test my Component XML Generator Tool!
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1997/Itemid,35/
All feedback appreciated!

pseps
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Sep 05, 2007 6:00 pm

Re: Passing parameters for article content via url

Post by pseps » Thu Sep 13, 2007 3:53 pm

Thank you!
Will try to make sense of it...
Last edited by pseps on Thu Sep 13, 2007 3:58 pm, edited 1 time in total.


Post Reply