paulmason411
Posts: 127
|
Posted: 03/25/2009, 7:34 PM |
|
I have two problems when using includes as they aren't updated dynamically.
Problem A:
1 - I have a page called index
2 - I include the page menu
3 - I then move the menu.ccp into a folder called 'includes' .
4 - I go to index and the include page is still referencing the menu.ccp instead of includes/menu.ccp
Problem B:
1- I copy the index page from problem A into a new folder called 'admin'
2 - The new page has an include with the reference pointing to menu.cpp where it should be ../includes/menu.ccp
I noticed when you rename a file or move a file codecharge asks if you would like to update the links, I click yes and it doesn't seem to update the include links.
Can someone test my problems, and see if there is a solution? Otherwise I think this should be a new feature in the next release. Thanks.
_________________
http://paulmason.name - Web Development Blog
|
|
|
paulmason411
Posts: 127
|
Posted: 03/26/2009, 8:40 PM |
|
Can I get some feedback. Thanks
_________________
http://paulmason.name - Web Development Blog
|
|
|
melvyn
Posts: 333
|
Posted: 03/26/2009, 10:36 PM |
|
That's an erratic bug in CCS. Yes should take note in this.
It doesn't update the links to the included javascript. (I mean: whenyou create a page index.ccs it generate index.php, index_events.php and index_events.js; if you rename index for main.ccs the link index_events.js will remain witohut change).
_________________
Melvyn Perez
Puro Codigo
http://purocodigo.com |
|
|
|