jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: jDiction and Phoca Gallery (category)  (Read 11215 times)

fildin

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Creative Webdesign
jDiction and Phoca Gallery (category)
« on: September 02, 2014, 07:45:43 pm »

Hi,

thank you for this nice component. Alhougt I noticed today that it deos not translate Phoca's categories (and categorie's description). When I try to translate any Phoca category it alwys ends with this issue:

Code: [Select]
1054 Unknown column 'filename' in 'field list' SQL=SELECT `title`,`alias`,`filename`,`description`,`geotitle`,`metakey`,`metadesc` FROM igv4f_phocagallery_categories WHERE `id`='1'
There is no problem with images, just categories wont translate. Could you take a look please?

Thank you in advance

Fil.

Library Version: 1.2.0   
    JDiction Plugin is enabled
    JDiction Plugin is loaded at position 0 should be 1
    Languagefilter is enabled
    Multiple Plugins have the same loading position (0)
    jDiction Database Driver is selected
    Seam to be good
    Module is enabled
    It seams that there a no common mistakes.

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and Phoca Gallery (category)
« Reply #1 on: September 02, 2014, 07:49:31 pm »

maybe the new version has no longer this field... could you delete the line from xml.
Logged
Joomla! 5.0 Release Manager
Vote at JED

fildin

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Creative Webdesign
Re: jDiction and Phoca Gallery (category)
« Reply #2 on: September 02, 2014, 10:03:58 pm »

What line please?

<?xml version="1.0" encoding="utf-8"?>
<jdiction>
  <component>com_phocagallery</component>
  <sections>
    <section>
      <tables>
        <table>
          <name>#__phocagallery</name>
          <key>id</key>
          <class>JTable?</class>
          <file>?.php</file>
          <cache fullfetch="0" />
        </table>
      </tables>
      <views>
        <view name="phocagalleryimg" list="phocagalleryimgs" layout="edit" default="true">
          <form import="phocagalleryimg.xml">
            <fieldset name="main">
              <field name="title" />
              <field name="alias" filter="jdalias" field="title" export="false" />
                    <field name="filename" />
                    <field name="description" />
                     <field name="geotitle" />
              <field name="metakey" />
              <field name="metadesc" />
            </fieldset>
          </form>
        </view>
      </views>
    </section>
    <section>
      <tables>
        <table>
          <name>#__phocagallery_categories</name>
          <key>id</key>
          <class>JTable?</class>
          <file>?.php</file>
          <cache fullfetch="0" />
        </table>
      </tables>
      <views>
        <view name="phocagalleryc" list="phocagallerycs" layout="edit">
          <form import="phocagalleryc.xml">
            <fieldset name="main">
              <field name="title" />
              <field name="alias" filter="jdalias" field="title" export="false" />
                    <field name="filename" />
                    <field name="description" />
                     <field name="geotitle" />
              <field name="metakey" />
              <field name="metadesc" />
            </fieldset>
          </form>
        </view>
      </views>
    </section>   
  </sections>
</jdiction>

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: jDiction and Phoca Gallery (category)
« Reply #3 on: September 02, 2014, 10:05:37 pm »

the last
                    <field name="filename" />
Logged
Joomla! 5.0 Release Manager
Vote at JED

fildin

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Creative Webdesign
Re: jDiction and Phoca Gallery (category)
« Reply #4 on: September 02, 2014, 10:25:59 pm »

Great, thank you :)

Please move this into the right section of your forum if needed.