Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use relative asset paths in stylesheets and asset() twig function #126

Merged
merged 1 commit into from
Jan 23, 2015

Conversation

Maff-
Copy link
Contributor

@Maff- Maff- commented Jan 22, 2015

This allows a Kunstmaan protect to be run (tested out) from a non-root web path e.g. http://hostname/projects/kunstmaan-project/web/

There are still some issues with the views in the MediaBundle and MediaPagePartBundle, these use different ways to render the (image) urls in multiple places:

The simplest way of src="{{ image.url }}" will also fail, as kuma_media.url contains a leading slash (e.g. /uploads/media/abcde.png)

Any ideas what would be the best way to tackle this?

Anyway, I still think these changes will allow people to easier start out developing a project with the KunstmaanBundleCMS without setting up vhosts.

This allows a Kunstmaan protect to be run (tested out) from a non-root web path e.g. http://hostname/projects/kunstmaan-project/web/
roderik pushed a commit that referenced this pull request Jan 23, 2015
Use relative asset paths in stylesheets and asset() twig function
@roderik roderik merged commit 1519f4b into Kunstmaan:master Jan 23, 2015
@Maff- Maff- mentioned this pull request Jan 24, 2015
6 tasks
@roderik roderik modified the milestone: Q1 2015 - v3.1 Feb 28, 2015
@roderik roderik modified the milestones: 3.1.0, 3.4.0, 3.0.1 Apr 10, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants