Hi,
I'm not new to Joomla but can't seem to find a solution. I'm using v1.0.12
I want to be able to use the wrapper to include some custom php. On one page I want to capture the user ID from the login session as well as write new session variables (sort preference, show/hide preference etc). When the user goes to another page I want to capture these session variables and use them to control how I display content.
I don't want to create modules/components for my custom php.
Can anyone help? I'll gladly pay for code that works.
Also not exactly sure what you want to do with the user information, but you might want to check out mosguest and mosmember in the extendsions menu item under joomla. these allow you to show content to either a member or a guest.
Thanks All, (Donna, I'll give your suggestion a go later)
A bit of background - I'm planning a site that needs to capure each 'individual user' who logs in and displays only their data retrieved from custom tables. Then, as they navigate pages they will be able to set preferences for their current session eg. the order in which their data is sorted, certain filters etc. Rather than write this info to a table and read each time I'd like to use session variables to write them once and capture them as I need them on any subsequent page.
I'm hoping to be able to capture these preferences via a form and write them away as session variables available accross any page.
I'm familiar with other aspects of php and Joomla so have no problem connecting to database tables etc. It's just this one thing - writing and reading session data (including new variables) - that I have a problem with.