Q2A Market - Support

We are here to provide you support for Q2A Market premium and free products. If you have any issue in installation, option settings or any bug you found. Please create a ticket. We would try to get back to you as soon as possible.

Advance Featured Questions : truncated sentences ...

I've seen that the "Content characters lenght" option literally truncates the sentences.
So if I have at the end of the featured question a sentence like :

Does anyone know where I can find them ?

it is truncated (with my settings) to :

Does anyo

that is not aesthetically very nice to see in my opinion :-)
I'd suggest in next version to append some "dots" or something similar to show to the user that the sentence has been truncated and continues...

So to visually have this result (or something similar) :

Does anyo.......

If you don't offend :-), to better explain what I mean, I send you the snippet of code (widget page, lines 414 and 491) that I tried and works :-)

                $lenBefore = strlen($var);
                $limit_cont = substr($var, 0, $cont_length);
                $lenAfter = strlen($limit_cont);
                if ($lenBefore > $lenAfter){
                    $limit_cont = $limit_cont.'.........';
                }
opened on Nov 23 in Advanced Feature Questions
edited Nov 25

1 Answer

 
Best answer

Thanks for sharing. Will add in new udpates

answered Nov 25
selected Nov 30