cotonti.com : I cannot find the <more> / Read More link https://www.cotonti.com Последние сообщения в теме Cotonti en Thu, 09 Oct 2025 04:13:44 -0000 Hodges Okay thanks Twiebie for explaining that to me. Read more = lists and news only.

And thank you to Macik now I understand that the spoiler feature was only implemented for markitup and has not been ported to CKEditor. Looking on the CKEditor website I've found this add-on which is probably what I want. I'll write back if I get it working.

]]>
пт, 25 апр 2014 12:39:14 -0000
Macik #39463 Hodges:

Having tried it, adding hr.more {display:none;} to my style sheet just hides the hr tag (go figure!).

Can someone just simply explain to me, how do I implement a read more... or spoiler feature in cotonti pages (preferably using the ckeditor)?

By default spoiler functionality implemented in Cotonti's Markitup editor.

There is no common inplementation of «read more» for full page view.

]]>
чт, 24 апр 2014 20:46:08 -0000
Twiebie For example in news.tpl:

{PAGE_ROW_TEXT_CUT}
<!-- IF {PAGE_ROW_TEXT_IS_CUT} -->{PAGE_ROW_MORE}<!-- ENDIF -->

Or in a list:

{LIST_ROW_TEXT_CUT}
<!-- IF {LIST_ROW_TEXT_IS_CUT} -->{LIST_ROW_MORE}<!-- ENDIF -->

In CKEditor, click on the 'read more' button. This will add the hr.more line and the text will be cut off there.

]]>
чт, 24 апр 2014 13:18:23 -0000
Hodges Having tried it, adding hr.more {display:none;} to my style sheet just hides the hr tag (go figure!).

Can someone just simply explain to me, how do I implement a read more... or spoiler feature in cotonti pages (preferably using the ckeditor)?

]]>
чт, 24 апр 2014 11:13:21 -0000
Macik Ok. I'm not right  for hr.more {display:none;} But the original question is:

My question is, what was the intended output? I'm assuming it hides the content beyond the hr element (hence me reviving this thread). Secondly, does anyone have the correct code to enable this behaviour?

So other point is right:

  1. This mechanics supposed to be used for truncation (cuting) page text to allow show only main part of pages in page lists (native page list or other like news feed). See tags {PAGE_ROW_TEXT_CUT}
  2. Yes, it's works as «<!--more-->» tag. You can see `cot_cut_more()` function code (page.functions.php line 32-57).
  3. It's only working if page tags are genereated through `cot_generate_pagetags()` function with 3rd parameter > 0 (page.functions.php lines 141-147, 180). So it's not working while displaying full page view as it generated with 0 as third parameter (no cutting supposed).
  4. But it's intend to use {PAGE_ROW_TEXT_CUT} tag where possible (page lists or news feeds).

 

Добавлено 1 минуты спустя:

Fixed my last 2 posts due to some misunderstanding.

]]>
вт, 22 апр 2014 21:05:34 -0000
Kort #39458 Macik:
#39457 Kort:

I'd just add

hr.more {display:none;}

to the styles
 

This is not good for several reasons:

  1. Pages with a news feed or other pages feed cutted with this hack can be oversized and long time to load.
  2. Unneccessary text can be indexed on page.
  3. Search engines not loved huge volume of hidden text on pages.

 

#39455 Hodges:

On the current editor, CKEditor, there exists a button labelled: Insert "Read more" page cut

Clicking it inserts the code: 

<hr class="more" />

Now, as I don't have any specific css pointing to the "more" class a simple horizontal bar is rendered. My question is, what was the intended output? I'm assuming it hides the content beyond the hr element (hence me reviving this thread). Secondly, does anyone have the correct code to enable this behaviour?

This feature intend to use with `page` module. It's aim to point possition in text where it'll be cuted with `cot_cut_more` funciton. Therefor you must use `{PAGE_ROW_TEXT_CUT}` that contains «cut» version of page.  If you look at news plugin templates you can find these tags.

 

 

 

 

Macik: I don't think you understand what you're saying. When hr.more is inserted in the text, it works as a <!--more--> tag. All you have to do is just hide it (unless you want to see it). The page is not cluttered -- try it.

]]>
вт, 22 апр 2014 16:51:35 -0000
Macik #39457 Kort:

I'd just add

hr.more {display:none;}

to the styles
 

[deleted…]

#39455 Hodges:

On the current editor, CKEditor, there exists a button labelled: Insert "Read more" page cut

Clicking it inserts the code: 

<hr class="more" />

Now, as I don't have any specific css pointing to the "more" class a simple horizontal bar is rendered. My question is, what was the intended output? I'm assuming it hides the content beyond the hr element (hence me reviving this thread). Secondly, does anyone have the correct code to enable this behaviour?

As for second question —this feature intend to use with `page` module. It's aim to point possition in text where it'll be cuted with `cot_cut_more` funciton. Therefor you must use `{PAGE_ROW_TEXT_CUT}` tag to use cut text functionallity. 

 

 

 

 

 

]]>
вт, 22 апр 2014 11:43:38 -0000
Kort I'd just add

hr.more {display:none;}

to the styles
 

]]>
пн, 21 апр 2014 20:05:14 -0000
Hodges On the current editor, CKEditor, there exists a button labelled: Insert "Read more" page cut

Clicking it inserts the code: 

<hr class="more" />

Now, as I don't have any specific css pointing to the "more" class a simple horizontal bar is rendered. My question is, what was the intended output? I'm assuming it hides the content beyond the hr element (hence me reviving this thread). Secondly, does anyone have the correct code to enable this behaviour?

Thanks,
Hodges

]]>
чт, 17 апр 2014 12:39:02 -0000
fade2k The [more ] link shortens what is displayed on the news (index page) and once clicked, it goes to the news page which will display the entire article. You place the more tag at the end of the portion of the article you want to have displayed on the homepage/news section and it will display the read more link. This is how you seperate the short and bigger part.

text

the more tag

rest of article

I know this is a bit late, but for future reference its here lol.

]]>
пт, 13 мая 2011 18:56:24 -0000
tobto That is not a spolier [read more].]]> чт, 30 дек 2010 18:16:38 -0000 fade2k
ie: Working with pages]]>
пт, 15 мая 2009 14:42:21 -0000
Kilandor чт, 14 мая 2009 01:18:44 -0000 fade2k
Lets say I have a page thats really long and I wanted to break it up into several pages - shouldn't that show up with paging like in lists?

Is that functionality gone or?

Also I was looking for the same in news except with a read more link. :-/

[edit] Nevermind, I didn't see your post NovoKain. [/edit]

Thanks guys.]]>
ср, 13 мая 2009 15:12:47 -0000
NovoKain [more]]]> ср, 13 мая 2009 15:10:43 -0000 pieter It is not a corehack.


edit: thx NovoKain I typed it but was not aware that it was not showing, so I have put spaces now.]]>
ср, 13 мая 2009 15:08:38 -0000
Kingsley
 [spoiler=read more] ... [/spoiler] 

the read more in the spoiler tag can be changed to whatever you want..]]>
ср, 13 мая 2009 15:04:53 -0000
fade2k tag that one could put into pages to divide the pages up and add a link such as "read more".

I seem to remember getting the news pages to do that as well via a core hack.

Is the option gone, changed or what?]]>
ср, 13 мая 2009 13:58:04 -0000