Our members can have access to our premium podcasts. Thus, I'd like to add a members only area. Since the members will use zencart to purchase their memberships, I wanted to place the code under the store.
The members area needs to have dynamic pages that display a list of the latest premium podcasts taken from the database. Thus, these changes don't seem like a candidate for ezpages?
I think that it would possible to create these pages by cloning an existing includes/modules/pages directory such as account_history and then modifying the files in that directory, adding the new pages to filenames.php, anything else? However, I'm not sure how to handle the MODIFY code such as at the end of the pages there's the line:
$zco_notifier->notify('NOTIFY_HEADER_END_CHECKOUT_SUCCESS');
I can add the line for my new module:
$zco_notifier->notify('NOTIFY_HEADER_END_MEMBERS');
but where do I add the code to tell it what to do when that page is finished?
Also, I'd like to add a _SESSION variable of when the membership expires when the user logs in. Do zen developers forsee any problems of adding _SESSION variables (as long as they don't conflict with existing _SESSION variables)?
Is there a better way of doing what I want to do?
Thanks,
jdl



