English > General Questions

jDiction and Phoca Gallery (category)

(1/1)

fildin:
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: --- 1054 Unknown column 'filename' in 'field list' SQL=SELECT `title`,`alias`,`filename`,`description`,`geotitle`,`metakey`,`metadesc` FROM igv4f_phocagallery_categories WHERE `id`='1'
--- End code ---

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:
maybe the new version has no longer this field... could you delete the line from xml.

fildin:
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:
the last
                    <field name="filename" />

fildin:
Great, thank you :)

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

Navigation

[0] Message Index

Go to full version