Add multi prefix to Add-ons AndyB

Anthony-m

New Member
Hello,

I would like to put the multi prefix on AndyB's add-ons (Quick search and Weekly digest) except I managed to put the right line of code and some not.

For the Quick Search add-on

Default code:
PHP:
<a href="{{ link('threads/', $thread) }}"> {{prefix ('thread', $ thread.prefix_id, 'html', '')}} </a>

Replace with :
PHP:
 <a href="{{ link('threads/', $thread) }}"> {{prefix ('thread', $ thread, 'html', '')}} </a>

It's ok for this part of this code? where should we improve if so what?

Then for the add-on Weekly digest that I galley


I would like to know how it defaults to replace what value so that in the received mail have only the prefix prefix instead of one.

Cordialy
 

Users who are viewing this thread

Back
Top