jDiction Forum

English => Extensions and jDiction => Topic started by: rangan on February 09, 2015, 11:57:21 pm

Title: Freestyle FAQs Lite: XML-File
Post by: rangan on February 09, 2015, 11:57:21 pm
Hi Harald,
I would like to use Freestyle FAQs Lite (http://extensions.joomla.org/extensions/extension/directory-a-documentation/faq/freestyle-faqs) with your extension but I didn't get that.
I guess the <tables> section should be something like this:

Code: [Select]
<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>

But I'm completely lost with the <views> section. Any help is appreciated.
Thank you in advance.
Title: Re: Freestyle FAQs Lite: XML-File
Post by: Harald Leithner on February 10, 2015, 03:04:20 pm
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.
Title: Re: Freestyle FAQs Lite: XML-File
Post by: rangan on February 10, 2015, 05:25:53 pm
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.
Title: Re: Freestyle FAQs Lite: XML-File
Post by: Harald Leithner on February 10, 2015, 06:48:52 pm
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)
Title: Re: Freestyle FAQs Lite: XML-File
Post by: rangan on February 10, 2015, 07:26:09 pm
Send via PM.
Title: Re: Freestyle FAQs Lite: XML-File
Post by: Harald Leithner on February 11, 2015, 01:36:52 pm
I created a xml file for you now it seams to work.
Title: Re: Freestyle FAQs Lite: XML-File
Post by: rangan on February 11, 2015, 04:46:08 pm
Works flawlessly. Big thanks to you.

A tiny thing: (Backend, this FAQ component) During mouseover some language icons disappear (until page reload)
Title: Re: Freestyle FAQs Lite: XML-File
Post by: Harald Leithner on February 11, 2015, 04:58:56 pm
Maybe a problem of jquery