Extension, apply changes directly from index page

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
Registered User
Posts: 110
Joined: Sun Oct 21, 2012 7:46 am
Location: Bruxelles

Extension, apply changes directly from index page

Post by djorlando »

Hello. I need some advices pls. I want to create an extension to have the possibility to change something to each row on forums list ( index page ) and each forum row will have an unique submit form visible only to admin. So basically i won't need an extension url ( am i ? ) ..i mean from what i saw each extension has an url defined inside routing.yml like this one for example:

Code: Select all

    pattern: /rules
    defaults: { _controller: phpbb.boardrules.controller:display }
Which means that the extension will be visible if we visit this page: myurl/rules
But i won't need that since i am on the index page.
Any advice please?
User avatar
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: Extension, apply changes directly from index page

Post by Wolfsblvt »

This is only for controllers, so if you need a new site for your extension.
You don't need that.

What you have to do is write a listener and listen to the event that can modify the code for each forum row on index.
There you can add your code.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
Post Reply

Return to “Extension Writers Discussion”