sacy icon indicating copy to clipboard operation
sacy copied to clipboard

Sacy not working

Open rrolla opened this issue 11 years ago • 2 comments

Hello, I compile sacy with:

php build.php -c -j

then i copy from build directory: block.asset_compile.php file to smarty plugins directory

then add to my bootstrap file:

define('ASSET_COMPILE_OUTPUT_DIR', APP_ROOT.'/public/cache/sacy');
define('ASSET_COMPILE_URL_ROOT', XPN_CMS_ROOT.'cache/sacy');

then i in template add:

{asset_compile}
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/bootstrap/dist/css/bootstrap.css"/>
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/bootstrap/dist/css/bootstrap-theme.css"/>
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/bootstrap-social/bootstrap-social.css"/>
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/bootstrap-social/assets/css/font-awesome.css"/>
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/pnotify-old/oxygen/icons.css"/>
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/pnotify-old/jquery.pnotify.default.css"/>
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/pnotify-old/jquery.pnotify.default.icons.css"/>
    <link rel="stylesheet" type="text/css" href="{$base_url}assets/jquery-opentip/css/opentip-xpn-cms.css"/>
{/asset_compile}

then i load webpage, but nothing minimized and so on, i also add ?debug_toggle=1 or 2 or 3 but nothing happens :(

How to properly debug, where is my error?

Thanks.

rrolla avatar Jun 26 '14 12:06 rrolla

There is some news about this, in my linux hosting Sacy working fine, in windows wamp not, that must be some server configuration problem.

rrolla avatar Jun 27 '14 14:06 rrolla

Had a similar problem with sacy not working for css, although it worked flawlessly for js files. After some stumbling, I found that if the link tag is "malformatted" : e.g. not closed by /> , the smarty plugin doesn't work. After changing this, it works now. Just my 2 cents. :)

yanko-ivanov avatar Apr 15 '15 13:04 yanko-ivanov