Brief and full description, "read more" link
Natashko
Posts: 3366
Reputation: 171

Message # 1 | 2:52 PM
Site News: Brief and full description

Various ways of displaying entries are possible within Site News module. If you check “Show brief version of the text if it is too long box”, only the part of the brief version will be displayed on the page (the part limited by the option “Number of characters for a brief version”) together with “Read more” link. If you click on the link, the page with entry full text will open.

Another option is to use “Entry brief description“ as a field of a new entry form. In this way the content of “Short description” field will be displayed on the main page (of site or module). And when you click on the entry name, the content of “Entry full text” will be displayed.

If you forbid a user group (for example Guests) to Read entries, they will be able to see only the content of Short description on the main page.
If you forbid a user group (for example Guests) to view the main page, they will not be able to see Short description of the entry.

Site News module doesn't have its own main page as other catalog-modules do. That is why the code responsible for outputting news is added to Home page content by default.
If you have messed up with the code when editing it – the news are not going to be displayed.

The code that outputs news:
Code
<?if($ADD_ENTRY_LINK$)?><div align="right" style="padding-bottom:3px;">[ <a href="$ADD_ENTRY_LINK$">Add entry</a> ]</div><?endif?>$LAST_NEWS$


FREQUENTLY ASKED QUESTIONS

Where can I set the number of characters in Short description?
Control panel->Site News->Module settings-> Number of characters for a brief version
The news ends up with ellipsis (dots) in Short description. Can I substitute it with my own character?
Unfortunately, it is not possible.
Is it possible to output only Entry name on Site News page so that the news itself will be located on the other page?
Yes, it is possible. You need to hide Short description. It can be done by editing Appearance of entries template in Control panel->Design->Design management (templates)->Site news
There are big spaces in the text of full description of the entry. How to fix it?
Most probably you used Word to embed the text. It is highly unrecommended. Copy and paste the text into Notepad and then from the Notepad to the website.
Can I use “Entry brief description” option for one news only?
Unfortunately, it is not possible by means of standard system solutions. Scripts might help you.
Is it possible to display news on the main page in the way they are displayed on the Page with entries full text and its comments?
No. Full text can not be displayed on the main page.
Can I display Entry names only?
Yes, it can be done by means of Informers. See more about them here: http://forum.ucoz.com/forum/37-457-2206-16-1206353355
Another option is to edit Appearance of entries template.
What is the maximum number of characters in the “Entry full text”?
40 000 characters.
Where can I change “Read more” in Short description?
Control panel->Substitution of default phrases->Site News
Which part of Style sheet CSS is responsible for changing the color of “Read more” inscription?
Control panel->Design->Design management (CSS)->class entryReadAllLink
How can I substitute “Read more” inscription with an image?
Control panel->Substitution of default phrases->Site News->substitute the text with HTML code of the image, like:
Code
<img src="...">


illuminaut
Posts: 8
Reputation: 0

Message # 2 | 2:52 PM
When you choose to truncate a news/blog entry, it truncates the text regardless of whether or not open html tags have been closed. This can completely mess up the page. For example, the last bit of the message before truncation can end up like "<b>something bo...", never closing the <b> tag and subsequently making everything thereafter bold. Even worse, it could end up like "blah blah <a ...", which could cause even more havoc.

Additionally, there's currently no option to have it display a "More..." link, even though there is an empty div tag that seems like it was supposed to be used for that. I had to enter the link using some pretty ugly JavaScript hacks.

jackass
Posts: 294
Reputation: 10

Message # 3 | 2:52 PM
Hey

All the time in module Site News there was code $BRIEF$, but now I can't find it.

Is it removed?

wink

Daois
Posts: 1
Reputation: 0

Message # 4 | 2:52 PM
Okay guys, this might be a dumb question but, I don't have any major problems with my news system, but is there a way to make it so that each of my news topic can be seen without the words hidden under the "READ MORE" button lol? I mean to let every word show in a topic. And don't tell me to make my topics small lol.
Filip5
Posts: 18
Reputation: 0

Message # 5 | 2:52 PM
Hello,I am looking for script to make blog entries show in brief description, like I have it in download section. I havent got "enable brief description", because my module is customized. Have a look: www.csdtl.ucoz.com
Kron_old
Posts: 117
Reputation: 52

Message # 6 | 2:53 PM
illuminaut, this is not a bug, this is optimization. you can set more symbols for brief description truncating or use the field specially for brief description.
Sunny
Posts: 9296
Reputation: 456

Message # 7 | 2:53 PM
jackass, some codes have been changed after the update, probably this one too.
I'm not active on the forum anymore. Please contact other forum staff.
Animorph
Posts: 2856
Reputation: 189

Message # 8 | 2:53 PM
CP -> Site News -> Module settings -> Show brief version of the text if it is too long: uncheck the box and save
To busy building a passive income online ;)
gadget
Posts: 65
Reputation: 3

Message # 9 | 2:53 PM
Filip5, this is your custom templates and we dont provide any script. But you send details of your problem with screenshots.

Gadget

Happiness comes to those who are moving toward something they want very much to happen. And it almost always involves making someone else happy.

LOL
Gadget
jackass
Posts: 294
Reputation: 10

Message # 10 | 2:53 PM
Thats too bad sad
I would like to use both of them, $MESSAGE$ and $BRIEF$ is there any possibility to get content from Short description: in Site news module Page with entry full text and it's comments?

And if I make a suggestion will someone think about it to add?

shioan
Posts: 7
Reputation: 1

Message # 11 | 2:53 PM
Is there a "Read more..." link in long blog entries? Because if there is, I think mine's missing. sad My entry was cut but the link wasn't there unlike for Site News (I've seen it in my Site News). I don't think I've removed it accidentally when I was tweaking the blog code... Or may be I did?

Anyway, just wanna make sure if there really is. And if so, how do I cure it so it will show up again? Thank you!


Read on @ DreamBelt.

Visit my compendium @ Inclined Horizon.
Animorph
Posts: 2856
Reputation: 189

Message # 12 | 2:53 PM
Filip5, The uCoz support in forum doesn't actually provide help with custom tempaltes and scripts. but you already have a brief description with blogs you only need to check both of the boxes of "Entry brief description"
To busy building a passive income online ;)
Sunny
Posts: 9296
Reputation: 456

Message # 13 | 2:53 PM
shioan, CP -> Substitution of default phrases -> Edit "Read more"
I'm not active on the forum anymore. Please contact other forum staff.
Filip5
Posts: 18
Reputation: 0

Message # 14 | 2:53 PM
Well, so I want to have this table on the block



Instead of this



I havent got the short description option to thick in block module settings...
warezmgl
Posts: 1
Reputation: 0

Message # 15 | 2:53 PM
hey every body
help me! i want READ_MORE link in main page and
Category: Program | Views: | Date Today | Rating: 0.0/0 | Comments (0) | Read more
Search: