Frequently Asked Questions using Joomla content articles. iFAQ (former MooFAQ) is a FAQ Component for Joomla!™ which uses jQuery and Bootstrap to load Joomla Articles in Accordion format.

Product Page | Documentation Page

how to Add a button link to article

More
9 years 2 months ago #20756 by paul88543
Thanks for the information!!

I tried it. there's some missing in the code

'.$query->length(CONTACT_WS(' ','a.introtext', 'a.fulltext').' AS readmore '

'.$query->length(CONTACT_WS(' ','a.introtext', 'a.fulltext')).' AS readmore '


After correct the code, I got blank page in front, and finally I figured out the problem!!

Replace the following code

'.$query->length('a.fulltext').' AS readmore '


To

.$query->length('a.introtext').' AS readmore '


And everything just work!!

I don't know why but It works

Thanks for the help again!

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #20750 by support
Dear Paul,

First of all set the Show readmore option to Show in the Component Options under the Articles tab.

Edit the file /components/com_ifaq/models/articles.php
Replace :
Code:
'.$query->length('a.fulltext').' AS readmore '
With:
Code:
'.$query->length(CONTACT_WS(' ','a.introtext', 'a.fulltext').' AS readmore '


Best regards,

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #20749 by paul88543
Dear ideal team
I just using the account which is used to buy the FAQ component to contact you by "FeedBack".
please check whether you receive the mail and Very appreciate for the help ;)

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #20747 by support
Dear Paul,

Yes, the readmore is the easier and best way to do it.

Can you please contact us from the same user account you've used to purchase iFAQ? There's no subscription linked to your user account. Support is only provided for subscribed users.

Best regards,

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #20746 by paul88543
Hello ideal team

I just using IFAQ, it's great !! Functioned wll !!
but I want to add a button allow user click to view the article, could you tell me which php I have to edit.

I knew the easier way is to add readmore in each article, but I want it be set up by backend global setting and it seems not functioned for now

thanks for the help

Please Log in or Create an account to join the conversation.

Time to create page: 0.269 seconds

Our Partners

For your web hosting needs we recommend Hostinger. Save 20% on any plan using this link.