Phoca in combination with Falang

Phoca Download - download manager
Peet010
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 25 Jun 2012, 19:05

Phoca in combination with Falang

Post by Peet010 »

Is there a possibility to use the translation component, Falang with Phoca download? In the default language the files are showen but not in any other language. Anyone with the same issue?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca in combination with Falang

Post by Jan »

Hi, unfortunatelly I don't know Falang so I cannot say if there are plugins for this :-(
If you find Phoca extensions useful, please support the project
Steenko
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 25 Jul 2012, 10:25

Re: Phoca in combination with Falang

Post by Steenko »

Hi, it is really easy to create your own Falang plugin - it's just a little xml file which you can install directly through Falang component: Falang->Content Elements->Install - here you can upload your xml file and that's it.

I have attached my own Phoca gallery Categories plugin for Falang - just open the file and you will see how simple is to create your own version for Phoca download.

If is it still too complicated for you I could create Phoca download plugins for you.

Cheers!

Code: Select all

<?xml version="1.0" ?>
<falang type="contentelement">
  <name>Phocagallery categories</name>
  <author>Steenko</author>
  <version>1.0.0</version>
  <description>Phoccagallery categories</description>
  <copyright>Steenko</copyright>
  <reference>
  	<table name="phocagallery_categories">
  		<field type="referenceid" name="id" translate="0">ID</field>
  		<field type="titletext" name="title" translate="1">Title</field>
  		<field type="htmltext" name="description" translate="1">Description</field>

  		<field type="checked_out_by" name="checked_out" translate="0">Check out by</field>
  		<field type="checked_out_date" name="checked_out_time" translate="0">Check out date</field>

  	</table>
  	<component>
  		<form>com_modules#modules#cid#task#!edit#client#!1</form>
  	</component>
  </reference>
    <translationfilters>
  	  <keyword>title</keyword>
  	  <published>published</published>
  	  <module>access</module>
    </translationfilters>

</falang>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca in combination with Falang

Post by Jan »

Hi, yes will be great, then I will publish them on download site (let me know with which version they will be working)

Thank you very much, Jan
If you find Phoca extensions useful, please support the project
beuvema
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 17 Aug 2012, 13:43

Re: Phoca in combination with Falang

Post by beuvema »

Hi guys,
any update on the falang / phocamaps xml?

regards Beuvema
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca in combination with Falang

Post by Jan »

no news there :-(
If you find Phoca extensions useful, please support the project
fsatta
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 18 Sep 2012, 16:54

Re: Phoca in combination with Falang

Post by fsatta »

Steenko wrote:Hi, it is really easy to create your own Falang plugin - it's just a little xml file which you can install directly through Falang component: Falang->Content Elements->Install - here you can upload your xml file and that's it.

I have attached my own Phoca gallery Categories plugin for Falang - just open the file and you will see how simple is to create your own version for Phoca download.

If is it still too complicated for you I could create Phoca download plugins for you.

Cheers!

Code: Select all

<?xml version="1.0" ?>
<falang type="contentelement">
  <name>Phocagallery categories</name>
  <author>Steenko</author>
  <version>1.0.0</version>
  <description>Phoccagallery categories</description>
  <copyright>Steenko</copyright>
  <reference>
  	<table name="phocagallery_categories">
  		<field type="referenceid" name="id" translate="0">ID</field>
  		<field type="titletext" name="title" translate="1">Title</field>
  		<field type="htmltext" name="description" translate="1">Description</field>

  		<field type="checked_out_by" name="checked_out" translate="0">Check out by</field>
  		<field type="checked_out_date" name="checked_out_time" translate="0">Check out date</field>

  	</table>
  	<component>
  		<form>com_modules#modules#cid#task#!edit#client#!1</form>
  	</component>
  </reference>
    <translationfilters>
  	  <keyword>title</keyword>
  	  <published>published</published>
  	  <module>access</module>
    </translationfilters>

</falang>
Hi I have installed the XML file and everything seemed to work fine but as I tried to edit a category I had this error message

Fatal error: Call to a member function getTable() on a non-object in /www/www.trechotel.it/www/administrator/comp ... Object.php on line 778

Can you help?
Thank you very much
Fede
iamalive
Phoca Enthusiast
Phoca Enthusiast
Posts: 55
Joined: 07 Dec 2007, 15:52
Contact:

Re: Phoca in combination with Falang

Post by iamalive »

Hi
I worked on the content elements on this with the Falang Developer and its available on the Falang site:
http://www.faboba.com/en/composants/fal ... ent/2.html

Regards
David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48587
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca in combination with Falang

Post by Jan »

Hi, thank you for the links.

Jan
If you find Phoca extensions useful, please support the project
marioliveira
Phoca Member
Phoca Member
Posts: 16
Joined: 11 Mar 2009, 13:02

Re: Phoca in combination with Falang

Post by marioliveira »

David, I downloaded the extension for Phoca Download at the Falang site, but when trying to install it the message displayed says there is no installation xml file on the package, so installation is not done. Can you help?

The xml file on the package is as follows:

Code: Select all

<?xml version="1.0" ?>
<falang type="contentelement">
  <name>Phoca Download : File</name>
  <author>Stéphane Bouey</author>
  <copyright>www.faboba.com</copyright>
  <version>2.1.6</version>
  <description>Definition Phoca Download files</description>
  <reference>
  	<table name="phocadownload">
  		<field type="referenceid" name="id" translate="0">ID</field>
  		<field type="titletext" name="title" translate="1">Title</field>
  		<field type="text" name="alias"  length="50" maxlength="255" translate="1" posthandler="filterTitle">Alias</field>
  		<field type="text" name="author" length="50" maxlength="255" translate="1">Author</field>
  		<field type="text" name="author_email" length="50" maxlength="255" translate="1">Author Email</field>
  		<field type="text" name="author_url" length="50" maxlength="255" translate="1">Author URL</field>
  		<field type="text" name="license" length="50" maxlength="255" translate="1">License</field>
  		<field type="text" name="license_url" length="50" maxlength="255" translate="1">License URL</field>
  		<field type="text" name="link_external" length="50" maxlength="255" translate="1">External Link</field>
  		<field type="htmltext" name="description" translate="1">Description</field>
  	</table>
  </reference>
  <translationfilters>
  	  <keyword>title</keyword>
  </translationfilters>  	  
</falang>
Thanks for any hint!
Post Reply