English > Extensions and jDiction

Freestyle FAQs Lite: XML-File

(1/2) > >>

rangan:
Hi Harald,
I would like to use Freestyle FAQs Lite with your extension but I didn't get that.
I guess the <tables> section should be something like this:


--- Code: --- <table>
          <name>#__fsf_faq_cat</name>
          <key>id</key>
          <class>TableFaqcat</class>
          <file>faqcat.php</file>
          <cache fullfetch="0" />
          <exportfilter/>
        </table>

<table>
          <name>#__fsf_faq_faq</name>
          <key>id</key>
          <class>TableFaq</class>
          <file>faq.php</file>
          <cache fullfetch="0" />
          <exportfilter/>
        </table>

--- End code ---

But I'm completely lost with the <views> section. Any help is appreciated.
Thank you in advance.

Harald Leithner:
Basicly the table part is the easiest because the only property used at the moment is the table name ;-)

Did you read the specification?
http://forum.jdiction.org/index.php/topic,600.0.html

The most imporant part is in the view section, but its pretty good explained in the specification if you have problems to find the needed information comeback and I will try to help you.

rangan:
I've read the XML specification but I'm stuck. This is what I get so far (exemplary):

listing URL:
 administrator/index.php?option=com_fsf&view=faqcats

editing URL (no layout parameter):
 /administrator/index.php?option=com_fsf&controller=faqcat&task=edit&cid[]=1

should be in jdiction.xml (?):
 <view name="edit" list="faqcats" key="cid" layout="default">

I didn't found the  /administrator/components/com_fsf/models/forms/ folder.
Where I get the corresponding fieldset, fields and field tags?

Thank you.

Harald Leithner:
So this will be a bit more complex, do you have a development system where you can give me access ftp and usersuper access (phpmyadmin would good but maybe not needed)

rangan:
Send via PM.

Navigation

[0] Message Index

[#] Next page

Go to full version