I'm stumped. I've tried your suggestion all sorts of different ways - with no luck - although I think I'm getting closer to the real problem.
The site I'm converting is really very simple, a fan club type site for my daughter's lacrosse team
mylaxteam.org. It makes use of "self links" a lot, and this is the part I can't get to work in CMSms. For instance, the GAMES page (schedule.php) shows a list of all games and, when the user clicks on a specific game in that list, it displays that game's details on a new page (showgame.php). The part I'm having trouble with is getting CMSms to figure out
when a game has been selected so it then knows to go to the game details page.
In the original site (php version), the trigger was the following code at the end of the schedule.php file:
Code: Select all
if (isset($_GET["game_id"])) {
header("Location: showgame.php?game_id=".$_GET["game_id"]);
exit;
}
As soon as a game on the list was clicked, the game_id got set and we headed on over to the game details page...except that's the part I can't get to work in the CMSms site. A lot of smarty errors, php errors, and if I ever get past the errors, I always end up on the home page. Grrr...
So, 2 questions:
1. What do I put into the content of the SCHEDULE page that is the equivalent of the above "If isset..." php code?
2. I'm not a php guru. I did this lacrosse site after a self-taught crash course in php, heavy borrowing of published code and snippets, and a lot of trial-and-error. Do I now need to take another crash course in Smarty, too, if I want to do anything beyond basic stuff in CMSms?
Thanks for your help, and sorry if my frustration is starting to show. If you would like to see the original site, you'll need a password, so let me know and I'll email you one.