thedevdojo / chatter

Chatter is a Simple Laravel Forum Package
https://devdojo.com/forums
MIT License
898 stars 294 forks source link

links,css,js not working #212

Open irfanullahshakir opened 6 years ago

irfanullahshakir commented 6 years ago

The problem is that the created links are incomplete and miss my project name in url.created url is http://localhost:82/forums/discussion/introductions/hello-everyone-this-is-my-introduction , while required is http://localhost:82/my-project/forums/discussion/introductions/hello-everyone-this-is-my-introduction.Second thing is that css and js yield() is also creating wrong stylesheet relation <link href="http://localhost:82/realestate/vendor/devdojo/chatter/assets/css/chatter.css" rel="stylesheet"> and javascript source.

<script src="http://localhost:82/realestate/vendor/devdojo/chatter/assets/vendor/spectrum/spectrum.js"></script>
<script src="http://localhost:82/realestate/vendor/devdojo/chatter/assets/js/chatter.js"></script>

screenshot

DionRo commented 6 years ago

Im experiencing the same issue and I cant resolve it somehow... Also created an issue. But see that you are waiting for a long time now too.. screenshot_1

0x13ens commented 5 years ago

can we get an update on this please?

abhijeet9920 commented 5 years ago

can we get an update on this please?

@thedevdojo I'm also facing the same issue. Please tell us whether we are missing any step or configuration

goodmuyis commented 2 years ago

Since you are working localhost creating a virtualHost to hold a domain will do OR use htaccess redirect

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)$ http://localhost:82/my-project/public/$1 [L,NE,R=301]
</IfModule>