
|
If you were logged in you would be able to see more operations.
|
|
|
Magnolia
Created: 23/Jul/08 02:01 PM
Updated: 23/Jul/08 02:59 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
3.6.1
|
| Fix Version/s: |
None
|
|
|
Time Tracking:
|
|
Original Estimate:
|
3d
|
|
|
Remaining Estimate:
|
3d
|
|
|
Time Spent:
|
Not Specified
|
|
|
|
| Labels: |
|
| Date of First Response: |
23/Jul/08 02:21 PM
|
Currently the mechanism for importing module specific paragraph collections (js and css files as well) is to define the Helper bean and import it into the head of the template via <jsp:useBean.... If we want to import paragraph collections (js and css files as well) we should make multiple <jsp:useBean.. imports along with the js and css importing for each module. This leads to a lot of problems when we have something like 20 modules (for example I need each paragraph to be a single module so I can vary them into different applications) which would lead in to a mess in the code. I am suggesting to make some kind of mechanism that will gather the paragraph collections (js and css as well) from all modules (if they have it) and use them like one collection. I have an idea how to solve this, but needed a approval that it has not been looked at yet and that nobody has tried anything similar, and also, that this agrees with your perspectives and ideas for the modules.
Best Regards,
Vasko Gjurovski
|
|
Description
|
Currently the mechanism for importing module specific paragraph collections (js and css files as well) is to define the Helper bean and import it into the head of the template via <jsp:useBean.... If we want to import paragraph collections (js and css files as well) we should make multiple <jsp:useBean.. imports along with the js and css importing for each module. This leads to a lot of problems when we have something like 20 modules (for example I need each paragraph to be a single module so I can vary them into different applications) which would lead in to a mess in the code. I am suggesting to make some kind of mechanism that will gather the paragraph collections (js and css as well) from all modules (if they have it) and use them like one collection. I have an idea how to solve this, but needed a approval that it has not been looked at yet and that nobody has tried anything similar, and also, that this agrees with your perspectives and ideas for the modules.
Best Regards,
Vasko Gjurovski |
Show » |
|
The core of the issue is that there is no single silver solution that will satisfy all scenarios. In certain templates or sections of templates, you'll want to only have a limited set of paragraphs, and a different set for other templates. (because authors don't want to have to search for the right paragraph, or because you want to precisely control what can be added where)