0

I have a small problem with croogo CMS application while accessing of css and image files in app/Views/Themed/mythemename/webroot folder

   <?php  echo $this->Html->css(array('style'));?>

this gives me a css reference link in view-source

<link rel="stylesheet" type="text/css" href="/croogo/theme/mythemename/css/style.css" />

but when i click on this link(/croogo/theme/mythemename/css/style.css) it gives me that the url i'm trying to access is not found on the server

Anil kumar
  • 4,107
  • 1
  • 21
  • 36

2 Answers2

0

This happened to me when I made a stupid mistake by misplacing the ending of a html tag.

Took ages to fix ;)

Check if your website is valid.

http://validator.w3.org/#validate_by_input

Igor L.
  • 3,159
  • 7
  • 40
  • 61
0

it was done by adding json file i.e. app/View/Themed/MyThemeName/webroot/theme.json file. , please check the documentation here

Anil kumar
  • 4,107
  • 1
  • 21
  • 36