- Posts: 41
- Thank you received: 0
site/view/members/tmpl/default.xml where is in the GUI?
- Luis Daniel Lucio Quiroz
- Topic Author
- Offline
- Senior Member
-
Less
More
7 years 4 months ago #112499
by Luis Daniel Lucio Quiroz
site/view/members/tmpl/default.xml where is in the GUI? was created by Luis Daniel Lucio Quiroz
as I understand, the file site/view/members/tmpl/default.xml is the one that controls the special columns when listing members.
I see the XML definition for parametrization, but I don't find it in the GUI. where is it?
For some clarification, this is the file:
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="Members List">
<message>
Display Members from one selected plan or all subscription plans
</message>
<fields name="request">
<fieldset name="request"
addfieldpath="/administrator/components/com_osmembership/model/fields">
<field name="id" type="osmplan" size="3" default="0" label="Select Plan" description="Select plan which you want to display members. If you don't select a plan, members from all plans will be displayed" />
</fieldset>
</fields>
<fields name="params">
<fieldset name="basic">
<field name="show_link_to_detail" type="list" label="Show link to member detail page" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_membership_id" type="list" label="Show Membership ID" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_avatar" type="list" label="Show Profile Avatar" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_plan" type="list" label="Show Plan Column" default="1">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_subscription_date" type="list" label="Show Subscription Date Column" default="1">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_subscription_end_date" type="list" label="Show Subscription End Date" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="subscription_status" type="list" label="Subscription Status" default="">
<option value="">All</option>
<option value="0">Pending</option>
<option value="1">Active</option>
<option value="2">Expired</option>
</field>
<field name="sort_by" type="list" label="Sort By" default="tbl.created_date">
<option value="first_name">First Name</option>
<option value="last_name">Last Name</option>
<option value="organization">Organization</option>
<option value="address">Address</option>
<option value="address2">Address2</option>
<option value="city">City</option>
<option value="state">State</option>
<option value="zip">Zip</option>
<option value="country">Country</option>
<option value="phone">Phone</option>
<option value="fax">Fax</option>
<option value="email">Email</option>
<option value="tbl.created_date">Register Date</option>
<option value="tbl.membership_id">Membership ID</option>
</field>
<field name="sort_direction" type="list" label="Sort Direction" default="DESC">
<option value="ASC">ASC</option>
<option value="DESC">DESC</option>
</field>
</fieldset>
</fields>
</layout>
</metadata>
I see the XML definition for parametrization, but I don't find it in the GUI. where is it?
For some clarification, this is the file:
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="Members List">
<message>
Display Members from one selected plan or all subscription plans
</message>
<fields name="request">
<fieldset name="request"
addfieldpath="/administrator/components/com_osmembership/model/fields">
<field name="id" type="osmplan" size="3" default="0" label="Select Plan" description="Select plan which you want to display members. If you don't select a plan, members from all plans will be displayed" />
</fieldset>
</fields>
<fields name="params">
<fieldset name="basic">
<field name="show_link_to_detail" type="list" label="Show link to member detail page" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_membership_id" type="list" label="Show Membership ID" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_avatar" type="list" label="Show Profile Avatar" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_plan" type="list" label="Show Plan Column" default="1">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_subscription_date" type="list" label="Show Subscription Date Column" default="1">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="show_subscription_end_date" type="list" label="Show Subscription End Date" default="0">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="subscription_status" type="list" label="Subscription Status" default="">
<option value="">All</option>
<option value="0">Pending</option>
<option value="1">Active</option>
<option value="2">Expired</option>
</field>
<field name="sort_by" type="list" label="Sort By" default="tbl.created_date">
<option value="first_name">First Name</option>
<option value="last_name">Last Name</option>
<option value="organization">Organization</option>
<option value="address">Address</option>
<option value="address2">Address2</option>
<option value="city">City</option>
<option value="state">State</option>
<option value="zip">Zip</option>
<option value="country">Country</option>
<option value="phone">Phone</option>
<option value="fax">Fax</option>
<option value="email">Email</option>
<option value="tbl.created_date">Register Date</option>
<option value="tbl.membership_id">Membership ID</option>
</field>
<field name="sort_direction" type="list" label="Sort Direction" default="DESC">
<option value="ASC">ASC</option>
<option value="DESC">DESC</option>
</field>
</fieldset>
</fields>
</layout>
</metadata>
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
7 years 4 months ago #112500
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic site/view/members/tmpl/default.xml where is in the GUI?
Hi
It's controlled in menu parameters. So create a menu item to link to that menu options then you can control these parameters via GUI
Regards,
Tuan
It's controlled in menu parameters. So create a menu item to link to that menu options then you can control these parameters via GUI
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Luis Daniel Lucio Quiroz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 0
7 years 4 months ago #112501
by Luis Daniel Lucio Quiroz
Replied by Luis Daniel Lucio Quiroz on topic site/view/members/tmpl/default.xml where is in the GUI?
Yes, you are right. I found that.
Now, I realized I was using the listing as a module included in an article. If you see, there are not customize options. is it a way not to list some columns using it as a module? (talking about plan, member since, avatar columns)
Now, I realized I was using the listing as a module included in an article. If you see, there are not customize options. is it a way not to list some columns using it as a module? (talking about plan, member since, avatar columns)
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
7 years 4 months ago #112505
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic site/view/members/tmpl/default.xml where is in the GUI?
What module you are using to display that list? Is it Membership Pro View module
membershipprodoc.joomservices.com/advanc...splay-view-in-module
? If so, you can create a menu item as I said, configure it to use right parameters. Then in the Query String parameter of the module, add Itemid=ID_OF_THE_MENU_ITEM above
Then it should work
Tuan
Then it should work
Tuan
Please Log in or Create an account to join the conversation.
- Luis Daniel Lucio Quiroz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 0
7 years 4 months ago #112509
by Luis Daniel Lucio Quiroz
Replied by Luis Daniel Lucio Quiroz on topic site/view/members/tmpl/default.xml where is in the GUI?
Not working, look
katapulta.network/index.php?option=com_c...1&Itemid=138&lang=en
Itemid 138 is an article menu. That article has the {module } key within. It is pointing to a Membership View module. The module has string id=1&itemId=174. I can confirm itemId 174 is a hidden menu and its type is member list with show avatar/plan off.
However, it is still showing them. Am I missing something or s this a bug?
I am using Joomla 3.8.7 and latest membership Pro published as today.
katapulta.network/index.php?option=com_c...1&Itemid=138&lang=en
Itemid 138 is an article menu. That article has the {module } key within. It is pointing to a Membership View module. The module has string id=1&itemId=174. I can confirm itemId 174 is a hidden menu and its type is member list with show avatar/plan off.
However, it is still showing them. Am I missing something or s this a bug?
I am using Joomla 3.8.7 and latest membership Pro published as today.
Please Log in or Create an account to join the conversation.
- Luis Daniel Lucio Quiroz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 0
7 years 4 months ago #112510
by Luis Daniel Lucio Quiroz
Replied by Luis Daniel Lucio Quiroz on topic site/view/members/tmpl/default.xml where is in the GUI?
Found a workaround
katapulta.network/index.php?option=com_c...1&Itemid=174&lang=en
vs
katapulta.network/index.php?option=com_c...1&Itemid=138&lang=en
it seems the itemid from the URL overwrites the setting from the string. Please advise.
katapulta.network/index.php?option=com_c...1&Itemid=174&lang=en
vs
katapulta.network/index.php?option=com_c...1&Itemid=138&lang=en
it seems the itemid from the URL overwrites the setting from the string. Please advise.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
7 years 4 months ago #112511
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic site/view/members/tmpl/default.xml where is in the GUI?
Hi
I have to check code again but Yes, I think the Itemid from URL takes higher priority than Itemid setting in Query String parameter in the module
So I think you will need to use this workaround for now
Tuan
I have to check code again but Yes, I think the Itemid from URL takes higher priority than Itemid setting in Query String parameter in the module
So I think you will need to use this workaround for now
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.