Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Patreon Lukazuki Posted October 24 Posted October 24 When it comes to making custom apps in IC5 my mind goes straight to the hook system where I encountered some inconveniences. In IC5 the hook system is supposedly equivalent to IPS4 plugins. The current beta version of the IC hook feature offers four types: before inside-start inside-end after those types of hooks are implemented by specifying hook targets in templates like (data-ips-hook="footer"). Although this method is straightforward to use it comes with restrictions, for third party developers aiming to develop applications or themes. This results, in a scenario where the IPS team decides what can and cannot be edited. That should be left up to the individual who develops an application. This limitation could potentially stifle the innovation of third party developers whose input enriches the IPS products. I have simple questions, what if: I want to edit a template that is not listed when I create app? I want to replace the entire template with my own? I want to add a template to a place that is not marked by IPS? In comparison, the IPS4 provides 9 hook types: add_before add_inside_start add_inside_end add_after add_class remove_class add_attribute remove_attribute replace Developers have freedom to customize applications and templates, with these types since they are not limited by hook targets. Many developers, on the platform may share the sentiment that the IC5 hook system is quite simplistic and requires additional improvements. Would you kindly provide some details about your intentions to expand the variety of hook types and targets available in IC5? Improving this functionality might improve the platform's ability to create better templates and apps. I am grateful for your attention. I expect to see more advancements with the IC5 and eagerly await your response. onlyME, SoloInter and Adriano Faria 3
DawPi Posted October 24 Posted October 24 Hello, it was discussed a lot my friend. Read this entry first: https://invisioncommunity.com/developers/devblog/blog/ic5-introduction-to-listeners-r8/ Best regards and good luck! IC5 isn’t as bad as it might seem at first. 😉 Joel R 1
Recommended Posts