[playSMS Theming] How to add stylesheet and other resources in added pages?

Hi,

I’m trying to add a custom welcome page to my playSMS installation using the trick shown here : http://playsms.org/2013/12/05/modify-welcome-page/#more-372. I chose method 3 as suggested by @anton

The problem is that my custom page contains HTML code with resources (stylesheets and others) actually in the same folder as the page_welcome.php file and I can’t get them loaded doing a simple call like <link rel="stylesheet" href="css/animate.css">. I get a 404 not found for the resources and then the rendering is not as wished. Please, how can I do that ?

Best,

Edouard

the file css file location should be relative to the index.php location

anton

1 Like