Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× 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

8 years 4 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.

8 years 4 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.

8 years 4 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.

8 years 4 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 :
'.$query->length('a.fulltext').'  AS readmore '
With:
'.$query->length(CONTACT_WS(' ','a.introtext', 'a.fulltext').'  AS readmore '


Best regards,

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

8 years 4 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.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback