Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question [Solved] "Read more" link in annoncement

More
16 years 11 months ago - 16 years 11 months ago #17455 by tramber91
Hi,

Something strange,
In annoncement, I fill only the short text, but in annoncement view, with my text, I've got the link "Read more"
when I click on it, I've only the title of the annoncement (normal because nothing in long text)
I work with Kunena 1.0.10 patch lavsteph (french)
It was not the case with Kunena 1.0.9

any idea ?

thanks
Last edit: 16 years 11 months ago by tramber91.

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

More
16 years 11 months ago - 16 years 11 months ago #17831 by xillibit
Hello,

when you click on the read more on an announcement with a short and an long text, it's not display the first part of the text. Have right ?
When you click, on read more this display only the long text.
I don't know if it's a bug.

I have made a modification in the file /components/com_kunena/template/default/plugin/announcement.php for display the short text and long text, when you click on read more.

File Attachment:

File Name: announcement.zip
File Size:3.77 KB

I don't provide support by PM, because this can be useful for someone else.
Last edit: 16 years 11 months ago by xillibit.

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

More
16 years 11 months ago #17881 by tramber91
Hi xilibit,

sorry for my poor english, I'm a french guy.
many thanks but It is no realy what I need

I want only to show annoncement without read more text
I fill only short text and nothing in long text
in previous version, it was what I need
Fill only short text => annoncement without "read more"
Fill short and long text => annoncement with "read more" link to long text

In current version, when I fill only short text (and let long text empty) I've got annoncement with "read more" link to nothing :silly:

to read you

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

More
16 years 11 months ago #17884 by Lintzy
tramber91, you are right, I recognized the same. But I really don't know, if it was not the same in 1.0.9, I never paid attention to it.

Hmmm, perhaps it would help to diff the file ( I guess announcement.php) from 1.0.9 and 1.0.10

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

More
16 years 11 months ago #17984 by Matias
It hasn't been changed between 1.0.9 and 1.0.10.. But it's a "bug".

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

More
16 years 11 months ago - 16 years 11 months ago #18001 by xillibit
I have modified like you desire, this file is to put in components/com_kunena/tempalte/default/plugin/announcement :

File Attachment:

File Name: announcementbox.zip
File Size:1.69 KB


When you save an announcement with no long text, it's not empty there is a only caracter, I test if the long text is different to 1 for display the link read more, but I think when the announcement is saved in the database and if the long text is empty, it must set to null.

I don't provide support by PM, because this can be useful for someone else.
Last edit: 16 years 11 months ago by xillibit.

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

Time to create page: 0.249 seconds