Hello. I was referred to this site for a plugin issue.
I'm not a developer, per se; just building my own website. I know next to absolutely nothing of JavaScript, CSS, HTML, etc., except by trial and error while building Joomla website. So, I'm learning...
I'm replying to this post because I'm having a similar problem, but I've been unable to resolve it. Following the J3 tutorials for creating a profile plugin, I created one with two additional fields. I also created a "manifest.xml" file included in the zip for installation.
Issue: The plugin installs "successful", but when I click the plugin in the plugin manager, it says: "The file <name>.xml could not be found." It's there, in discovered/name at least, but not functional. I'm pasting the code below in the hope someone can point out my error(s). I'd appreciate any assistance. Thanks.
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.0" type="plugin" group="user" method="upgrade">
<name>User - VBProfile</name>
<author>VE; Open Source Matters</author>
<creationDate>Jan 2017</creationDate>
<copyright>Copyright (C) 2017 VE, 2005 - 2013 Open Source Matters. All rights reserved.</copyright>
<license>VB!; GNU version 2 or later; see LICENSE.txt</license>
<authorEmail>
ad...@vb-xyz.com</authorEmail>
<authorUrl>
www.vb-xyz.com</authorUrl>
<version>3.0.0</version>
<description>My Very First (Profile) Plugin!</description>
<files>
<filename plugin="vbprofile">vbprofile.php</filename>
<filename>index.html</filename>
<folder>profiles</folder>
</files>
<languages>
<language tag="en-GB">en-GB.plg_user_vbprofile.ini</language>
<language tag="en-GB">en-GB.plg_user_vbprofile.sys.ini</language>
</languages>
<config>
<fields name="vbprofile">
<fieldset name="vbprofile"
label="PLG_USER_VBPROFILE_SLIDER_LABEL">
<field name="gender"
type="radio"
default="0"
label="Please select your gender"
description="Chose either Male or Female"
class="btn-group">
<option value="0">Female</option>
<option value="1">Male</option>
</field>
<!--Special care needs to be taken with saving a checkbox from a form... -->
<input type="hidden" name="jform[newsleaf]" value="0">
<field name="newsleaf"
type="checkbox"
label="Newsleaf Newsletter"
description="Would you like to receive our periodic newletter?"
value="1"/>
</input>
</fieldset>
</fields>
</config>
</extension>