Jump to content

Retrieve and update content before rendering on frontend


Recommended Posts

Hello 👋 So I’ve got this module written by myself, it does numerous things on the backend. Now I need to work with the frontend, but I don’t know if what I’m trying to do is even possible. 🤷‍♂️

Would like to retrieve html content before it’s being rendered, pass it through a function, modify the content and return a new output to render. And I mean content from like other modules (it should happen while user visits a page). Need this to write a specific filter and it has to happen on the server side… otherwise I probably would be using javascript in the browser…

so… is it possible? Hope you guys get my point.

thank you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...