[cXF] Conversation Button - Opening Custom Message in Overlay Window

xF2 Template Modification [cXF] Conversation Button - Opening Custom Message in Overlay Window

soner

Collaborate
Collaborate
Registered
Joined
Jul 28, 2021
Messages
39
Points
93

Reputation:

soner submitted a new resource:

[cXF] Conversation Button - Opening Custom Message in Overlay Window - [cXF] Conversation Button - Opening Custom Message in Overlay Window

Step 1

/src/addons/BassMan/ConversationButton/_data

We go to this directory and open the template_modifications.xml file located here in an editor.

Code:
<xf:button href="{{ link('conversations/add', '', {'to': $user.username, 'title': $__globals.thread.title}) }}" class="cxf-button button--link">

Code:
<xf:button href="{{ link('conversations/add', '', {'to': $user.username}) }}" class="cxf-button button--link">

We add data-xf-click="overlay" to the end of these codes.

So...

Read more about this resource...
 

Jace

Collaborate
Collaborate
Registered
Joined
Aug 9, 2020
Messages
169
Points
73

Reputation:

u can just edit directly the template modification , not editing manually through the files itsef
 

joostyle

Well-known member
Registered
Joined
Jan 3, 2020
Messages
59
Points
28

Reputation:

working, thanx :)
 
Last edited:

UeCrew

New member
Registered
Joined
Feb 21, 2020
Messages
3
Points
13

Reputation:

Is there any way to add the user and staffmember? So that the PN goes to both?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

Is there any way to add the user and staffmember? So that the PN goes to both?
UeCrewWhich staff-member you mean?
All of them or a randnom one, or the admins?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,514
Points
523

Reputation:

all of them. Unless there is a possibility that only the content moderator from the respective forum is added.
UeCrewI will take a look into it, should be possible
 
Top