Accordion Text & faq object ![en](https://d33s48lcrmbkow.cloudfront.net/1x1.png)
Auteur : Kev G.
Visité 150,
Followers 1,
Partagé 0
Hello, I have just purchased this object (Accordion Text & FAQ object) after struggling with accordions for some time, it seemed to do what I need from viewing the description.
I have found that when inserting formatted HTML there seems to be a limit on the number of lines it will accept. I have tried converting to a 'php' page and using something like -
"<?php include 'code.php'; ?>"
but it doesn't appear to recognise the php tags
Am I doing something wrong, can anyone throw any light on this please.
Thanks, Kev Gray.
Posté le
(It > En) ... if you posted the LINK maybe something could be understood...
... in the meantime try to eliminate the double quotes (") that are seen in your STAMP...
.
ciao
Hello Kev,
Have you tried also to change into the page properties to .PHP to manage correctly PHP code.
Axel
Auteur
Hello Axel, thanks for your reply.
Yes, I often use a 'php' page so it is no problem for me.
I have done a bit of experimenting and found that there seems to be a limit to the amount of code the 'Text' box will allow, it seems to allow about 70 lines of code, after that it is just truncated. There just doesn't seem to be any logic to it.
If I try to add some 'php' code like -
"<?php
include 'code.php' ;
?>"
it throws an error -
Parse error: syntax error, unexpected '>' in /....../htdocs/page-22.php on line 596
so it looks like you can't use any php code at all, which is very frustrating.
Anyone have any more thoughts ??
Auteur
I forgot to post a link to show a testing page -
http://www.slotcarsatleicester.co.uk/page-22.php
Thanks, Kev.
... errore PHP:
...!... http://www.slotcarsatleicester.co.uk/admin/
Parse error: syntax error, unexpected '[' in /freeola/users/2/0/sr2622202/htdocs/res/x5engine.php on line 5282
.
Auteur
I do not understand what you are trying to tell me ???
Hello Kev,
Try this one without inverted commas.
<?php include code.php ;
?>
In one of my FAQ object I have this one (it works)
<center><img src=https://www.mywebsite.fr/cool/images/nrlsunset.jpg></img></center>
I found it by chance![smile](../../script/tinymce/plugins/emoticons/img/smiley-smile.gif)
Axel
(It > En) ... since the error is reported in ADMIN, maybe you are using an obsolete version of PHP, ... so check on your SERVER which PHP version you are using now...
... or maybe you have inserted reserved special characters or some line breaks in the texts processed by PHP...
.
... since you use EXTRA code in PHP, instead of using Accordion TEXT & FAQ, improper for these purposes, ....you could use a simple invention of mine based on my DIV_SINO script method...
... to have an idea of what it would be you can try the articles of this page used by one of our users with my code...
https://osteopathfabio.com/article-download-file-document-exercise.html#imCell_20
.