jDiction Forum
English => Extensions and jDiction => Topic started by: d4rkbl4de on February 18, 2014, 07:34:45 pm
-
Hi,
I've been trying to add a translation field for the alternative read more text for articles in Joomla 3 but to no avail. How would that work?
Thanks.
-
I'm not sure where the alternative read more text is.
-
In your article, go to Options and near the bottom, there is a Read More Text. :) It changes your Read more text.
-
change the content.xml file in libraries/jdiction/tables.
add
<fields name="attribs">
<fieldset name="basic">
<field name="alternative_readmore" />
</fieldset>
</fields>
before
</form>
-
I'm trying to do the XML for JEvents. I'm a little bit confused on that one too. Mind helping? :)
JEvents 3.1.17
Also, thanks a lot for the help!
-
thx for your detonation, if you like you can get an invoice, I have to pay the tax anyway.
do you have a joomfish or falang xml file?
-
This is the FaLang XML for JEvents
<?xml version="1.0" ?>
<falang type="contentelement">
<name>JEvents</name>
<author>Stéphane Bouey</author>
<copyright>www.faboba.com</copyright>
<version>1.0</version>
<description>Definition for JEvents Component</description>
<reference>
<table name="jevents_vevdetail">
<field type="referenceid" name="evdet_id" translate="0">ID</field>
<field type="titletext" name="summary" translate="1">Summary</field>
<field type="htmltext" name="description" translate="1">Description</field>
<field type="text" name="location" translate="1">Location</field>
<field type="text" name="url" translate="1">URL</field>
<field type="text" name="organizer" translate="1">Organizer</field>
<field type="text" name="contact" translate="1">Contact</field>
<field type="text" name="extra_info" translate="1">Extra</field>
</table>
</reference>
</falang>
And sure for the invoice :)
-
<?xml version="1.0" encoding="utf-8"?>
<jdiction>
<component>com_jevents</component>
<sections>
<section>
<tables>
<table>
<name>#__jevents_vevdetail</name>
<key>evdet_id</key>
<cache fullfetch="0" />
</table>
</tables>
<views>
<view name="EDITVIEW?" list="LISTVIEW?" layout="edit" default="true">
<form import="phocagalleryimg.xml">
<fieldset name="main">
<field name="summary" />
<field name="description" />
<field name="location" />
<field name="url" />
<field name="organizer" />
<field name="contact" />
<field name="extra_info" />
</fieldset>
</form>
</view>
</views>
</section>
</sections>
</jdiction>
please tell me the name of the "list" and the "edit" view.
for the invoice please send me all needed information as pm, thx.
-
When I do echo JRequest::getVar('edit'); and echo JRequest::getVar('list');, nothing appears, like they are empty.
You can send the invoice at the PayPal address. :)
-
$_REQUEST['view'] is the correct one ;-)
-
var_dump($_REQUEST['view']); says NULL. Wait, am I supposed to do that in the admin or the frontend? Cuz I was doing it in the frontend.
Tried that in the backend, still said NULL.
-
So I created a new version with some modifications to jdiction to support 3rd party components better.
You need the attached version (please test) and the new xml file for jevents.
-
I put the XML file inside administrator/components/com_jevents right? :) just to make sure i'm doing it right.
-
yes
btw. if you have a stackexchange account (of if you have none create one ;-), please support http://area51.stackexchange.com/proposals/58842/joomla
-
I uninstalled jDiction (I put the database back to MSQLi and disabled everything before uninstalling). Everything went well. I installed the new version you gave me, everything went well. But when I clicked on jDiction to check the check page, it gave me this error : Fatal error: Class 'jDiction' not found in /home/tonile/public_html/v3/administrator/components/com_jdiction/views/translations/view.html.php on line 45
-
is the plugin activated?
Also you could simple upgrade jdiction.
-
I tried upgrading, didn't find any changes that's why I tried uninstalling. :)
I noticed another thing. When translating in K2 (I found the XML in the forum), it seems to filter all tags and only keep the text. For example : <a src="index.php">link</a><br/>text becomes link text
-
you found the wrong verision ;-)
is jevents working?
-
Unsure about JEvents. Not sure where the translation button should be. Can't find it. O_O
-
See attachments.
-
I installed the new version of jDiction over the old one.
I put the jDiction.xml inside administrator/components/com_jevents
PHP Version : 5.3.27
MySQL Version : 5.1.72-cll
Joomla : 3.2.2
component_com_jevents : 3.1.17
Check page
Version
Library Version: 1.0.2-git.810ccb2
Joomla Version 3.2.2 is ok.
Plugin
JDiction Plugin is enabled
Languagefilter is enabled
Multiple Plugins have the same loading position (0)
Database
jDiction Database Driver is selected
Language
Seam to be good
Module
Module is enabled
Still don't see the translate button inside my events.
-
jdiction.xml is lowercase or?
-
omg I uploaded the wrong jdiction.xml
attached should be the correct one.