-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathjooag_shariff.xml
72 lines (69 loc) · 3.28 KB
/
jooag_shariff.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.3" type="plugin" method="upgrade" group="content">
<name>JooAg Shariff</name>
<author>Ufuk Avcu</author>
<creationDate>13.11.2014</creationDate>
<copyright>Copyright (C) 2009 - 2015 Joomla Agency. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.joomla-agentur.de</authorUrl>
<version>3.x.0 Alpha</version>
<description>
A small Plugin to share Social Links!
<![CDATA[
<h4>Attention:</h4>
<p><b>Share Counter:</b><br/>
It's really important for the counter to use the url only with www or non-www.</p>
<ol>
<li>Rename the htaccess.txt in your joomla root folder to .htaccess</li>
<li>Add following lines in the end of the .htaccess file</li>
<code>RewriteBase /</code></br>
<code>RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]</code></br>
<code>RewriteRule ^(.*)$ http://%1/$1 [R=301,L]</code>
or
<code>RewriteCond %{HTTP_HOST} !^www\.</code></br>
<code>RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]</code>
<li>At least you need to open this plugin and save it again!</li>
</code>
</ol>
</p>
]]>
</description>
<files>
<folder>backend</folder>
<folder>fields</folder>
<folder>assets</folder>
<filename plugin="jooag_shariff">jooag_shariff.php</filename>
</files>
<config>
<fields name="params">
<fieldset name="basic" addfieldpath="/plugins/content/jooag_shariff/fields">
<field name="position" label="Position" type="list" default="0" description="Select the position from the social buttons.">
<option value="0">Content Top</option>
<option value="1">Content Bottom</option>
<option value="2">Only in Module</option>
</field>
<field type="spacer" name="myspacer" showon="position:2" label="Add a new Custom Module and use {shariff} in the Editor field ans set the Modul Option 'Content Prepare' to yes!" />
<field name="orientation" label="Orienation" type="list" default="default" description="Select the orienatation!">
<option value="default">Horizontal</option>
<option value="vertical">Vertical</option>
</field>
<field name="theme" label="Theme" type="list" default="default" description="Select a theme!">
<option value="default">Standard</option>
<option value="grey">Grey</option>
<option value="white">White</option>
</field>
<field name="services" label="Services" multiple="true" type="list" default="twitter,facebook,googleplus,info">
<option value="twitter">Twitter</option>
<option value="facebook">Facebook</option>
<option value="googleplus">Google+</option>
<option value="xing">Xing</option>
<option value="linkedin">LinkedIn</option>
<option value="mail">Mail</option>
</field>
<field name="info" type="modal_article" default="" label="Select an article" description="You can choose a info page for your visitors" />
<field name="showbycategory" showon="restrict:2" type="category" multiple="true" extension="com_content" label="Restrict to a category" description="If no category selected, the buttons appear in every category. If one or more categories are selected, the buttons appear only in this categories!" />
</fieldset>
</fields>
</config>
</extension>