[GH-ISSUE #212] Change CSS/JS path to load from #176

Closed
opened 2026-02-25 21:34:21 +03:00 by kerem · 4 comments
Owner

Originally created by @Yamakasi on GitHub (Jul 21, 2017).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/212

Originally assigned to: @jasonmunro on GitHub.

Due some integration issues I need to be able to change the path where all CSS and JS is loaded from.

Can't we make some /static folder and put it in there that would be much easier.

At least looking back to the root would be great!

JS is kinda doable but CSS is a pain.

I hope I can fix this asap :)

Originally created by @Yamakasi on GitHub (Jul 21, 2017). Original GitHub issue: https://github.com/cypht-org/cypht/issues/212 Originally assigned to: @jasonmunro on GitHub. Due some integration issues I need to be able to change the path where all CSS and JS is loaded from. Can't we make some /static folder and put it in there that would be much easier. At least looking back to the root would be great! JS is kinda doable but CSS is a pain. I hope I can fix this asap :)
kerem 2026-02-25 21:34:21 +03:00
Author
Owner

@jasonmunro commented on GitHub (Jul 23, 2017):

This would be a reasonably big change in order to support both production and debug mode. i'm not sure changing this in Cypht makes sense. When the config gen script is run it generates the combined assets and puts them in the site/ dir, which is basically like a static/ dir.

<!-- gh-comment-id:317269200 --> @jasonmunro commented on GitHub (Jul 23, 2017): This would be a reasonably big change in order to support both production and debug mode. i'm not sure changing this in Cypht makes sense. When the config gen script is run it generates the combined assets and puts them in the site/ dir, which is basically like a static/ dir.
Author
Owner

@Yamakasi commented on GitHub (Jul 23, 2017):

OK, this should be site.js then ?

I have bene looking through and i saw what you were doing but was not sure.

<!-- gh-comment-id:317287845 --> @Yamakasi commented on GitHub (Jul 23, 2017): OK, this should be site.js then ? I have bene looking through and i saw what you were doing but was not sure.
Author
Owner

@jasonmunro commented on GitHub (Jul 27, 2017):

site.js is the combined javascript from all the enabled module sets (built with the config gen script), however sometimes modules need to include there own stand alone js/css, and these are put under the site/modules directory by the config gen script.

<!-- gh-comment-id:318433686 --> @jasonmunro commented on GitHub (Jul 27, 2017): site.js is the combined javascript from all the enabled module sets (built with the config gen script), however sometimes modules need to include there own stand alone js/css, and these are put under the site/modules directory by the config gen script.
Author
Owner

@marclaporte commented on GitHub (May 7, 2024):

If someone needs this, please re-open, and explain how you plan to integrate in other apps so we make this generic and future-proof.

<!-- gh-comment-id:2097134982 --> @marclaporte commented on GitHub (May 7, 2024): If someone needs this, please re-open, and explain how you plan to integrate in other apps so we make this generic and future-proof.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#176
No description provided.