Hi,
i make my first steps with silverstripe by migrating a "hand-made"-website. Now I have some questions:
(1) table prefix
My webhoster supports only 1 mysql database. So I need for futher the table prefix. Does anybody know if and when the table prefixes come (to hack the MySQLDatabase.php is not nice)?
(2) including external php-scripts
At the moment I'm using different php-scripts (gallery, guestbook, wordpress blog, access to google calendar). Mostly i do a php-include to the scripts and ref the css-files in the accordingly template file. What is the best way to use these scripts in ss? (To set the $Layout variable would not be bad, but how?)
Where is the best place for the css-files, which I only need in one file?
(3) including javascript-code
In some pages I'm using a little slideshow script, to show some pictures. For the script I have to ref some javascript-files and have to insert some special div-tags (which are replaced by the javascript). Can I do this in ss?
(4) Global php-functions
At the moment I have some php-functions, which I need at all place of the website (f.e. get the date of the latest wordpress-entry).
How can I do this in ss (central class, ...)?
regards
Jan