What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Support Resolved How to make this tab is expanded?

itommy

New Member
Hello,

When I click on creating a new resource then its showing this

tabcollapsed.png

I want tab Sell your product is expanded like this

tabexpanded.png

so users can easily to tick and choose to sell their services/resource.

How can I change this to make that tab is expanded?

Thanks
 

Clement

Freaky Coder
Staff member
Hi,

You would need to edit the xfa_rmmp_xfrm_resource_edit template and remove that code:
{{ ($resource.xfa_rmmp_type != 'none' || !$category.xfa_rmmp_types.free) ? 'is-active' : '' }}
 

itommy

New Member
Hi,

You would need to edit the xfa_rmmp_xfrm_resource_edit template and remove that code:
{{ ($resource.xfa_rmmp_type != 'none' || !$category.xfa_rmmp_types.free) ? 'is-active' : '' }}
I remove that line in

<span class="collapseTrigger collapseTrigger--block {{ ($resource.xfa_rmmp_type != 'none' || !$category.xfa_rmmp_types.free) ? 'is-active' : '' }}" data-xf-click="toggle" data-target="< :up:next">

to become

<span class="collapseTrigger collapseTrigger--block" data-xf-click="toggle" data-target="< :up:next">

but it didn't work or the tab is not expanded.

Can you re-check this?
 

Clement

Freaky Coder
Staff member
Ah sorry it should look like:
<span class="collapseTrigger collapseTrigger--block is-active" data-xf-click="toggle" data-target="< :up:next">
 

Clement

Freaky Coder
Staff member
You also need to replace
<div class="block-body block-body--collapsible {{ ($resource.isForSaleInMarketplace() || !$category.xfa_rmmp_types.free) ? 'is-active' : '' }}">

By:
<div class="block-body block-body--collapsible is-active">
 

itommy

New Member
You also need to replace
<div class="block-body block-body--collapsible {{ ($resource.isForSaleInMarketplace() || !$category.xfa_rmmp_types.free) ? 'is-active' : '' }}">

By:
<div class="block-body block-body--collapsible is-active">
Thanks
It works!
 
Top