Just a newbie question and I know you're working on other high priority stuff but I did want to understand this. I've in the past used an "asset" folder in my component but lately I have been putting all component assets in the media/com_[component_name] folder.
Is there a reason you decided to go with both and have some stuff in one and other stuff in another. It just seems like having it all in one place would be simpler so that's why I was curious as to why the two locations.
Thanks for the help.
Just a newbie question and I know you're working on other high priority stuff but I did want to understand this. I've in the past used an "asset" folder in my component but lately I have been putting all component assets in the media/com_[component_name] folder.
Is there a reason you decided to go with both and have some stuff in one and other stuff in another. It just seems like having it all in one place would be simpler so that's why I was curious as to why the two locations.
Thanks for the help.
I like using the asset folder for what is private, and the media folder for what is public. Allowing both options is clearly just to give freedom.
I know @Llewellynvdm is all about giving freedom to the developers to be as creative as possible.
The logic here is simple. You decide.
I like using the asset folder for what is private, and the media folder for what is public. Allowing both options is clearly just to give freedom.
I know @Llewellynvdm is all about **giving freedom** to the developers to be as creative as possible.
I use the media folder for what is private and images/com_[component_name] for what is public so users can access it via the media manager. But point taken.
Thanks for the feedback.
Ok, understood,
I was just wondering if we should be following the Joomla! Best Practices: https://docs.joomla.org/Development_Best_Practices
I use the media folder for what is private and images/com_[component_name] for what is public so users can access it via the media manager. But point taken.
Thanks for the feedback.
Yes always follow good practice, but allow freedom!
Public are the things that helps with design front-end stuff /media. Private are things that is needed for the component to work back-end stuff /assets. Dynamic are things the user can change user stuff /images/whatever.
Yes always follow good practice, but allow freedom!
**Public** are the things that helps with design **front-end** stuff _/media_.
**Private** are things that is needed for the component to work **back-end** stuff _/assets_.
**Dynamic** are things the user can change **user** stuff _/images/whatever_.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Just a newbie question and I know you're working on other high priority stuff but I did want to understand this. I've in the past used an "asset" folder in my component but lately I have been putting all component assets in the media/com_[component_name] folder.
Is there a reason you decided to go with both and have some stuff in one and other stuff in another. It just seems like having it all in one place would be simpler so that's why I was curious as to why the two locations.
Thanks for the help.
The logic here is simple. You decide.
I like using the asset folder for what is private, and the media folder for what is public. Allowing both options is clearly just to give freedom.
I know @Llewellynvdm is all about giving freedom to the developers to be as creative as possible.
Ok, understood,
I was just wondering if we should be following the Joomla! Best Practices: https://docs.joomla.org/Development_Best_Practices
I use the media folder for what is private and images/com_[component_name] for what is public so users can access it via the media manager. But point taken.
Thanks for the feedback.
Yes always follow good practice, but allow freedom!
Public are the things that helps with design front-end stuff /media.
Private are things that is needed for the component to work back-end stuff /assets.
Dynamic are things the user can change user stuff /images/whatever.
Hey @kevincam3 please fork JCB 👍 share the joy!