WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

#1 27.10.2019 01:19:11

losttrip
Member

Details page with only Long Content instead of both Short and Long

By default the NWI overview page shows the Short content, and "read more" link to the Details page if there is Long Content.
The Details page shows the Short Content followed by the Long Content.  [CONTENT] seems to automatically combine both Short and Long Content.

I only want the Long Content displayed on the Details page.  That way you can use the Short Content to serve as separate "tease" text which links to the full article, which is what is entered in the Long Content.

edit: I have implemented  bugfix release 0.1.2  - https://forum.wbce.org/viewtopic.php?pid=28178#p28178
With this version, if there is no Long text, but there is a Gallery, then the "Read More" link appears with the post on Overview page.  In this case, the Details page shows the Short text and the Gallery.  I do not want to lose this functionality of showing the Short Content on the Details page IF there is no Long Content.  I hope that makes sense.

Last edited by losttrip (27.10.2019 01:26:45)

Offline

#2 27.10.2019 06:10:55

florian
Administrator

Re: Details page with only Long Content instead of both Short and Long

Just use the placeholder [CONTENT_LONG]  instead of [CONTENT] .

Online

#3 27.10.2019 14:49:14

losttrip
Member

Re: Details page with only Long Content instead of both Short and Long

Where should I make this replacement?

I tried it here in the Post Settings / Post Content:
3d016a266825b50548e5b0c66f5d9196.png

and the result on the Details page is just the placeholder text:
[CONTENT _LONG]

Last edited by losttrip (27.10.2019 14:49:59)

Offline

#4 27.10.2019 14:51:28

florian
Administrator

Re: Details page with only Long Content instead of both Short and Long

Use [CONTENT_LONG]  without space before _LONG

Online

#5 27.10.2019 15:01:44

losttrip
Member

Re: Details page with only Long Content instead of both Short and Long

I do not have a space, I have - [CONTENT_LONG]

[CONTENT_LONG]

Result on page:
d5e8494c0a31ce223d81935d4c85cc15.png

Last edited by losttrip (27.10.2019 15:05:47)

Offline

#6 27.10.2019 15:14:39

florian
Administrator

Re: Details page with only Long Content instead of both Short and Long

I see. The NWI version 4.0.1 which is included in WBCE 1.4.0 has the CONTENT_LONG feature, the 4.0.0 release on Github does not.
Just download the attached view.php and replace the existing /modules/news_img/view.php with that one. Then it will hopefully work as expected.

Online

#7 27.10.2019 16:12:47

losttrip
Member

Re: Details page with only Long Content instead of both Short and Long

Thank you, it now functions as expected.

Offline

Board footer

Powered by FluxBB

up