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: Freestyle FAQs Lite: XML-File  (Read 27344 times)

rangan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Freestyle FAQs Lite: XML-File
« on: February 09, 2015, 11:57:21 pm »

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: [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.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Freestyle FAQs Lite: XML-File
« Reply #1 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

rangan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Freestyle FAQs Lite: XML-File
« Reply #2 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.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Freestyle FAQs Lite: XML-File
« Reply #3 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)
Logged
Joomla! 5.0 Release Manager
Vote at JED

rangan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Freestyle FAQs Lite: XML-File
« Reply #4 on: February 10, 2015, 07:26:09 pm »

Send via PM.
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Freestyle FAQs Lite: XML-File
« Reply #5 on: February 11, 2015, 01:36:52 pm »

I created a xml file for you now it seams to work.
Logged
Joomla! 5.0 Release Manager
Vote at JED

rangan

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Freestyle FAQs Lite: XML-File
« Reply #6 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)
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Freestyle FAQs Lite: XML-File
« Reply #7 on: February 11, 2015, 04:58:56 pm »

Maybe a problem of jquery
Logged
Joomla! 5.0 Release Manager
Vote at JED