I am trying to get the images to display in my cakephp website. My task is simple to get the website labelled below 1) which is a cakephp website to look like the website labelled 2) which is a freeware website. The layout of website 1) has the cakephp code which just calls in a view for the middle’blue section’
I am getting the paths wrong to display images/js. I am not seeing what I doing wring with loading images and js
I have the same or even a simpler problem. I want to put a logo in default.php for the header. I have put the logo in the folder of default.php, in the img folder, in the webroot folder and tried to access it with absolute / relative paths and the HTML helper. Nothings shows, only white space indicates something does happen. I don’t need to work with JS as far as I am concerned.
I tried the same with the cake_logo.png that is by default in the img folder. Doesn’t show either.
PS for debuggings sake: what is the proper way to retrieve the root folder? In order to confirm where <img src="" is looking?
First it just showed the alt text as a hyperlink. Now it doesn’t show anything (as I removed the alt). I thought it might be due to using bootstrap, but after disabling that, still no result. Still white space though.
As I said I had implemented bootstrap before, and even though I disabled it again, there is still a hint that the layout in general is affected:
The image above is what I have in the right bottom of my page, instead of the red-white cake logo.
If I scroll down I find out there is text and by cntrl A copy pasting I see there is an error hiding:
The request to /debug-kit/toolbar/b92b5c68-706b-4cc0-87fb-837459d485e8 did not apply any authorization checks.
Exactly, so it should not be related to the layout right?
Another thing that changed and did not change back after disabling bootstrap, is that my clickable table elements are bold red (instead of the bold grey default).
I would like to implement bootstrap again though, but I don’t see whether and where it could have affected the default layout functions like the HTML->image , especially since I disabled the bootstrap lines