Hi,
I am in the process of converting an existing PHP site to run in Expression Engine. The existing site is made up of a combination of static content and dynamic content generated from a MySQL database.
The static content has now been converted and I am turning my attention to the database driven content. I thought the easiest option would be to amend the existing php scripts to use the new look and feel, however as the scripts are running outside of EE, I don’t have access to the stylesheet and path functions/variables you have within EE.
I can use the include php command in replace of the EE embed function but seem unable to pass any parameters through. I can hardcode the stylesheet links but as they include version numbers, if I was to update them in EE I would also need to update them in the php scripts
Has anybody taken a similar approach to this before and if so can you provide help with the problems I am having? Or am I completely barking up the wrong tree, and is there a much simpler approach I should be taking?
cheers
Giles