Thanks for the assistance, guys! I didn't realise routing would help solve some of my problems. I thought it was meant to be an alternative to mod_rewrite (which I already have) so didn't look into too much.. but looks like I'll have to do a bit more reading up!
The only outstanding issue I have at the moment is #3: > 3. I see that layouts have placeholders for content and the title.. > but what do I do about menus? In particular, I'd like to be able > highlight the current menu item but obviously not put the markup in > all views. I don't think it's a Javascript/DHTML prob as Chris mentioned. I'll handle the actual highlighting itself.. but I want to know how I can tell what the current page is. I'll give a simple example.. In my Cake layout file I have menu links to 3 pages: "Home", "Links" and "About". Suppose I'm on the "Links" page, I'd want the the "Links" menu item to appear in bold. How would I do this? The way I'm imagining it, I'd have to pass a variable from the view to the layout, telling me i'm on the Links page.. but the layout only handles variables for the title and main content. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
