Want to get extra button with icon near download button XFRM

Pokschubin

Well-known member
Registered
Joined
Dec 13, 2018
Messages
50
Points
63

Reputation:

Example:

HTML:
<div class="block-outer">
    <div class="block-outer-opposite">
        <a href="#" target="_blank" style="float:left;"><i class="far fa-user"></i>  <font color="orange"><b>Text</b></font></a>
    </div>
</div>
 

Roland

Well-known member
Registered
Joined
Sep 19, 2022
Messages
89
Points
8

Reputation:

Example:

HTML:
<div class="block-outer">
    <div class="block-outer-opposite">
        <a href="#" target="_blank" style="float:left;"><i class="far fa-user"></i>  <font color="orange"><b>Text</b></font></a>
    </div>
</div>
Pokschubinwhere to add?
 
View previous replies…

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

but not working i actived Debug mode enabled and still when i do not change anything
Rolandto add
$config['development']['enabled'] = true;
on config.php for use this fuction.
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

i was using addon for debug mod enable/disable could be that issue? will check
Roland
2022-11-27_16-01-34.png


2022-11-27_16-01-09.png
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

if i erase space

Line 174: Template tags are not well formed. Tag if was found when expecting macro. - Template modifications: public:xfrm_resource_wrapper_macros
Rolandok u wrong code

replace not have $0

222.png
 

Roland

Well-known member
Registered
Joined
Sep 19, 2022
Messages
89
Points
8

Reputation:

<xf:button href="blabla" target="_blank"
rel="noopener"
class="button--cta"
icon="redirect">{{ phrase (' pharase ('ExtraButtons') }}</xf:button>

$0


<xf:if is="$resource.canReleaseUpdate()">
 
Top