Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The way you're trying to load a gallery entry is not valid. Loading is done with ->load( ID_HERE ). "gallery" is also an array. It may have more than 1 media id if they uploaded more than 1 at time of posting. I explained below how to access it as an array through API.So following your advices I wrote the following but cannot get the link and my drophscat is set to 0 instead of 50
You don't call ->set for a load. You'd just call ->load( EVENT_ID_HERE ). You really need to be using an IDE like phpstorm and have your Joomla root as the project. We've phpdoc for basically everything, which you can't see without an IDE.Also can I use your classes to retrieve an existing item like :
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.