Notes |
|
(0002344)
|
paulh
|
2010-02-10 13:23
|
|
|
|
(0002351)
|
paulh
|
2010-02-11 20:35
|
|
From some googling and looking at what libjs-prototype installs the way to do this on Debian is to include the javascript from /javascript/
e.g.
<script language="javascript" type="text/javascript"
src="/javascript/prototype/prototype.js"></script>
rather than symlinking or anything like that, this /javascript/ is done via conf.d/javascript-common.conf this means on building the deb all instances of
{$CONFIG['application_webpath']}scripts/prototype/prototype.js
need changing to /javascript/prototype/prototype.js which isn't a biggie
|
|
|
(0002378)
|
paulh
|
2010-02-16 19:40
|
|
Replacing prototype is straight forward as we just replace {$CONFIG['application_webpath']}scripts/prototype/prototype.js unfortunately scriptaculous isn't as easy as we don't directly include this but instead use $pagescripts and htmlheader.inc.php
if (is_array($pagescripts))
{
foreach ($pagescripts AS $pscript)
{
echo "<script src='{$CONFIG['application_webpath']}scripts/{$pscript}' type='text/javascript'></script>\n";
}
unset($pagescripts, $pscript);
}
So we can't just sed this one, |
|
|
(0002720)
|
ivan
|
2010-03-17 14:08
|
|
I've assigned this to me so that I'll remember to change the way pagescripts works, I'll bat it back to you (paulh) once thats done |
|
|
(0003042)
|
ivan
|
2010-04-12 21:12
|
|
In Git 623ebb0 scriptaculous is always included instead of using pagescripts. This should make dependency issues a bit easier? |
|