product-hunt-clone icon indicating copy to clipboard operation
product-hunt-clone copied to clipboard

Linking Style Sheets

Open robertwintersronaldson opened this issue 10 years ago • 6 comments

Hi,

I cant seem to link the style sheets. I currently cant pull in any css/js etc. Any idea how I can fix this?

Rob

robertwintersronaldson avatar Jan 09 '15 13:01 robertwintersronaldson

What I would like to know is if you could tell me what areas to change in the config file to allow it to run on my localhost.

Thanks!!

robertwintersronaldson avatar Jan 09 '15 13:01 robertwintersronaldson

Hi Robert, maybe fix with this attention: only works on root directory of domain or subdomain, if you want install on subfolder you must change Routes.yml and Resources paths of Config.php

albertogcatalan avatar Jan 09 '15 14:01 albertogcatalan

Dear Alberto,

Sorry for asking too, but I changed the Routes.yml file, as well as the resources paths from config.php, adding /myfolder . But when I click on "PH Clone" it redirects me to the root of my server, as well as for the Twitter auth redirecting me to /root/auth instead of /root/myfolder/auth. Any idea why and how I could correct this ? If you have more instructions on what to change and how to change to install somewhere else than on root directory I'd be happy to hear from you.

Also wanted to thank you for putting this online, it is great :+1:

marwann avatar Feb 18 '15 13:02 marwann

Uhm...try to change the htaccess to your folder

albertogcatalan avatar Feb 18 '15 14:02 albertogcatalan

Thanks, Alberto :+1:

I'll give it a try and give you updates here in case you want to update the readme file for further instructions about how to install on a subfolder.

marwann avatar Feb 18 '15 16:02 marwann

Perfect marwann, thanks!

albertogcatalan avatar Feb 18 '15 17:02 albertogcatalan