Handling URL parameters in a page via PHP?

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
pspmikek

Handling URL parameters in a page via PHP?

Post by pspmikek »

I have a page:

http://cms.calvaryaustin.org/series

that displays a list of things. I'd like:

http://cms.calvaryaustin.org/series/1350

To somehow pass 1350 to the series page (vs. trying to load a page called 1350) so that I can display a specific item.

I would then use PHP to do something different.

I see that the calendar module does this:

http://cms.calvaryaustin.org/calendar/

and

http://cms.calvaryaustin.org/calendar/2006/10/62/

both display the same page with different content.

Is there a way to do this at a user level? Or will I need to create a module?

Thanks
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Handling URL parameters in a page via PHP?

Post by tsw »

yep, you'll need a module.

take a look at

http://wiki.cmsmadesimple.org/index.php ... clean_URLs
Post Reply

Return to “Developers Discussion”