[resolved]lire la suite invisible

More
12 years 11 months ago - 12 years 9 months ago #21001 by tonnick
Hello !

Il m'est impossible de faire apparaitre le bouton lire la suite en affichage par defaut :/

J'utilise le template par defaut de felxicontent, la derniere version et j'ai bien activé "lire la suite" dans la categorie contenant l'article. manquerait-il encore qq chose ?

J'ai vu qu'il y avait des modifs a faire sur certains fichiers :
plugins/content/pagebreak.php et plugins/content/uberpagebreak.php

Je n'ai pas le second. est ce que le pb peut venir de la ?

le pb en live : www.origin-gi.com/preprod/index . ... 19&lang=en

toute aide sera la bienvenue ! merci à vous ! (super composant, mis a part ce petit pb, d'ailleurs ;) )
Last edit: 12 years 9 months ago by tonnick.

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

More
12 years 11 months ago #21002 by ggppdk
Which FLEXIcontent version you have?

Also in all FLEXIcontent versions the read-more will not be displayed unless the item contains a read-more, and thus it is split into intro-text and full-text


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 11 months ago #21012 by tonnick
version : FLEXIcontent version 1.5.4 stable (r558)
and yes I put "read more" code in my description article after second word but not displayed in category :

Lorem ipsum
<hr id="system-readmore" />
dolor sit amet, consectetur adipiscing elit. Curabitur ...

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

More
12 years 11 months ago #21016 by ggppdk
The read more for categories is:
-- set in Global parameters
-- then it is overrided by category parameters

The readmore will appear if there is no "blank characters" after the readmore ,
(i see that you have such characters)

Is it all articles or just one ???

If it all items of category then :
-- maybe your flexicontent template has been altered
-- maybe you have not setup the category to display it

Go inside your category_items.php of the template you use and do this, just before:
<?php if ($this->params->get('show_readmore', 1) && (strlen(trim($items[$i]->fulltext)) >= 1) ) : ?>
put:
Code:
<?php echo "Read more value is ".$this->params->get('show_readmore', 1). " <br />"; ?> <?php echo "Item has text after read more ". (strlen(trim($items[$i]->fulltext)) >= 1) . " <br />"; ?>


If it is one item
-- maybe you have an item with similar title
-- maybe some plugin is replacing the text of the article (e.g. joomfish test by disabling the jfrouter and jfdatabase plugins)


Also you could backup and try installing v1.5.6 RC1a:
code.google.com/p/flexicontent/downloads/list


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 11 months ago #21018 by tonnick
please find the following answers to your questions :

The read more for categories is:
-- set in Global parameters >> already done
-- then it is overrided by category parameters >> done too

The readmore will appear if there is no "blank characters" after the readmore ,
(i see that you have such characters)

>> As you can see in text I paste from sourcecode of article, there is no blank character after the readmore


Is it all articles or just one ??? ALL

If it all items of category then :
-- maybe your flexicontent template has been altered >> this is the original one and I didn't change it

-- maybe you have not setup the category to display it
>> as previsouly said, yes it is

Go inside your category_items.php of the template you use and do this, just before:
<?php if ($this->params->get('show_readmore', 1) && (strlen(trim($items[$i]->fulltext)) >= 1) ) : ?>

if you speak about /components/com_flexicontent/templates/default/category_items.php, there is no such code.

is the version you suggest contain this code as I'm using the FLEXIcontent version 1.5.4 stable (r558) ?


put:

Code: Select all
<?php echo "Read more value is ".$this->params->get('show_readmore', 1). " <br />"; ?>
<?php echo "Item has text after read more ". (strlen(trim($items[$i]->fulltext)) >= 1) . " <br />"; ?>


If it is one item
-- maybe you have an item with similar title
-- maybe some plugin is replacing the text of the article (e.g. joomfish test by disabling the jfrouter and jfdatabase plugins)


Also you could backup and try installing v1.5.6 RC1a:
code.google.com/p/flexicontent/downloads/list

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

More
12 years 11 months ago #21019 by ggppdk
The code you about read more exists in the category_items of the blog template but not in the default template, there we just have links, which template are you using?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.414 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline