This, that and the other (may contain nuts)

Domino Blog Template - Restricting amount of content displayed for each entry on homepage

Steve Castledine  December 19 2006 05:45:00 PM
By default when you create new entries in the blog database, the full entry is displayed on the homepage.

Sometimes it might be preferable to show a small amount of the text and/or have users click a "continue reading" link to read the rest.

Continue Reading functionality


One method we can use is the Contnue Reading functionality. To use this, we have the menu option "Insert/Continue Reading Marker". We position our cursor within our rich text field where we want our "preview" text to end and select "Insert/Continue Reading Marker".

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage
This then inserts a special tag "<$ DXContinueReading $>" at that position which instructs the application to only show the content up to that point on your homepage.

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage
The system then also creates a link to the full article automatically positioned at the start of the rest of the content.

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage
A final thing we can do is to configure the text positioned around the title of the content. So instead of having "Continue Reading" we could have something like "Read More>" instead. To edit this text we goto the configuration document tabs "Formatting/General/Continue Reading" fields "Prefix Text/HTML" and "Post Text/HTML".

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage
Automatic Preview Text


We can also set the system to automatically create the preview text and we have a link to the full document at the end. For this we need to switch a tag around in our "Default Item Template".

From the default blog database this is under "HTML Templates/Item Templates/Default Item":

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage
The tag "$DXItemContent$" places the full content into the web page. We can replace this with "$DXItemDescription$" which then places an automatically created shortened version of your content.

This shortened or "description" text is stored within the tab "Text/HTML/head" and field "Short Description". You can edit this to suit your requirements before saving the document, and then by clicking the "Lock?" setting this will prevent the text from being automatically generated.

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage

"Short Description" settings


There are various settings for the short description, and these also relate to content within your RSS feed. These settings can be found in the configuration document tabs "Syndication etc/RSS Feeds":
Length of Description String This field sets the length of the descrption string when calculated. The default is 200
Remove Formatting from Feed Because this field is used within the RSS field we can remove the formatting if we so choose. The default is for formatting to be removed.
Remove Images from Description This setting will remove any images from within the description field.
Replace Image Tags with If you have chosen to remove images as above then you can replace with some pre defined text such as "Image removed"




Adding a "Read More" Link


If we are using the short description as our content we may also wish then to add an obvious "Read More" link. We do this within our "Default Item Template" as before, and we can use the tag "$DXPermLink$". We place this as follows (I have also added some dots for good measure).


<p><$DXItemDescription$>...
<$DXPermLink$>
</p>


To edit the text used for the link we go to the configuration document tabs "Formatting/General/Permanent Links" field "Permanent Link Title". We also select the setting "Title" (we can use the subject if we wish but would not make sense in this use).

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage

Image:Domino Blog Template - Restricting amount of content displayed for each entry on homepage
Comments

1Pankaj Sharma  12/20/2006 6:06:08 AM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

Dear Steve,

Thanks for providing us so many good tips. Keep it up. I am sure I would be able to make a decent blogging facility for my users.

warm regards,

Pankaj

2Kane Nelson  10/1/2008 7:57:40 AM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

Hey guys just as a metter of interest ?! Does anyone out in the domino blog group know how to do a logout? from a link ? lets say if i wanted to add an "anonymous" link whick would logout the current user so they could post anonymously.

Thanks in advance

K@nedogg

3generic  10/30/2014 11:51:56 AM GMT -6  cheap generic viagra

Hello!

<a href="{ Link } online pharmacy</a> , <a href="{ Link } generic viagra</a> , <a href="{ Link } generic cialis</a> ,

4cialis  4/19/2015 11:03:47 AM GMT -6  cialis

Hello!

<a href="{ Link } ,

5cialis  4/19/2015 4:01:49 PM GMT -6  cheap cialis online

Hello!

<a href="{ Link } cialis online</a> ,

6online  4/22/2015 10:28:04 AM GMT -6  cialis online pharmacy

Hello!

<a href="{ Link } viagra</a> , <a href="{ Link } online pharmacy</a> ,

7generic_viagra  4/23/2015 3:01:32 PM GMT -6  generic viagra

Hello!

<a href="{ Link } viagra</a> , <a href="{ Link } cialis cheap us</a> ,

8for  4/24/2015 1:35:02 PM GMT -6  viagra for women

Hello!

<a href="{ Link } for women</a> , <a href="{ Link } cialis softtabs online</a> ,

9cialis  4/25/2015 5:46:40 AM GMT -6  cialis

Hello!

<a href="{ Link } , <a href="{ Link } ,

10sildenafil  4/27/2015 4:06:21 AM GMT -6  sildenafil

Hello!

<a href="{ Link } , <a href="{ Link } ,

11cialis_pills  4/27/2015 9:03:02 AM GMT -6  cialis pills

Hello!

<a href="{ Link } online pharmacy</a> , <a href="{ Link } pills</a> ,

12purchase_cialis  4/27/2015 11:47:25 AM GMT -6  purchase cialis

Hello!

<a href="{ Link } viagra</a> , <a href="{ Link } cialis</a> ,

13cialis_pills  4/27/2015 11:03:12 PM GMT -6  cialis pills

Hello!

<a href="{ Link } online pharmacy</a> , <a href="{ Link } pills</a> ,

14cialis  4/28/2015 1:40:51 AM GMT -6  generic cialis 20x20

Hello!

<a href="{ Link } online without prescription</a> , <a href="{ Link } cialis 20x20</a> ,

15viagra_kaufen  5/1/2015 1:04:23 AM GMT -6  viagra kaufen

Hello!

{ Link } , , { Link } , ,

16generic  5/2/2015 12:43:29 AM GMT -6  cialis generic tadalafil

Hello!

{ Link } , , { Link } , ,

17cialis  5/7/2015 3:57:26 PM GMT -6  cialis

Hello!

{ Link } , , { Link } , ,

18generic  5/8/2015 3:27:24 AM GMT -6  evolutionfree generic cialis

Hello!

{ Link } , , { Link } , ,

19viagra_dosage  5/8/2015 3:27:28 AM GMT -6  viagra dosage

Hello!

{ Link } , , { Link } , ,

20viagra  5/8/2015 10:04:14 PM GMT -6  generic viagra without prescription

Hello!

{ Link } , , { Link } , ,

21canadian_viagra  5/13/2015 9:19:31 AM GMT -6  canadian viagra

{ Link } , { Link } ,

22cialis_online  5/15/2015 9:23:39 PM GMT -6  cialis online

{ Link } , { Link } ,

23online  5/17/2015 9:34:24 AM GMT -6  viagra online pharmacy

{ Link } , { Link } ,

24pharmacy  5/17/2015 3:09:57 PM GMT -6  online pharmacy viagra

{ Link } , { Link } ,

25canadian_cialis  5/17/2015 8:32:56 PM GMT -6  canadian cialis

{ Link } , { Link } ,

26viagra  5/19/2015 3:03:43 PM GMT -6  viagra

Hello!

{ Link } , , { Link } , ,

27generic_viagra  5/20/2015 6:28:41 PM GMT -6  generic viagra

{ Link } , { Link } ,

28cheap_cialis  5/26/2015 1:54:40 PM GMT -6  cheap cialis

{ Link } , { Link } ,

29viagra_price  5/26/2015 4:07:25 PM GMT -6  viagra price

{ Link } , { Link } ,

30viagra  5/27/2015 4:44:33 AM GMT -6  generic viagra sale

{ Link } , { Link } ,

31bo  6/20/2015 7:42:55 AM GMT -6  cialis bo script

{ Link } , { Link } ,

32tadalafil  6/20/2015 11:45:20 AM GMT -6  tadalafil

{ Link } , { Link } ,

33fast  7/8/2015 12:03:54 PM GMT -6  cialis fast delivery

{ Link } , { Link } ,

34viagra_uk  7/10/2015 10:24:01 AM GMT -6  viagra uk

{ Link } , { Link } ,

35cialis  7/15/2015 9:01:16 PM GMT -6  cialis

{ Link } , { Link } ,

36fast  7/17/2015 9:57:32 AM GMT -6  viagra fast delivery

{ Link } , cialis ,

37delivery  7/17/2015 8:18:43 PM GMT -6  fast delivery cialis

{ Link } , cialis ,

38discount  7/18/2015 9:16:02 AM GMT -6  cialis discount card

{ Link } , cialis ,

39viagra  7/19/2015 6:47:45 AM GMT -6  cheap viagra tablets

{ Link } , cialis ,

40cheap_cialis  7/21/2015 10:01:19 AM GMT -6  cheap cialis

{ Link } , { Link } ,

41buy_cialis  7/23/2015 12:40:50 PM GMT -6  buy cialis

Hello!

{ Link } , , { Link } , ,

42sildenafil  7/23/2015 4:12:51 PM GMT -6  sildenafil

{ Link } , { Link } ,

43generic_cialis  7/24/2015 1:51:43 AM GMT -6  generic cialis

Hello!

{ Link } , , { Link } , ,

44generic_cialis  7/28/2015 5:30:58 PM GMT -6  generic cialis

{ Link } , { Link } ,

45cialis  8/3/2015 1:03:30 PM GMT -6  cialis

{ Link } , { Link } ,

46viagra_price  8/21/2015 6:47:58 AM GMT -6  viagra price

{ Link } , { Link } ,

47viagra_price  8/21/2015 10:56:11 AM GMT -6  viagra price

{ Link } , { Link } ,

48cialis_price  8/21/2015 2:57:49 PM GMT -6  http://cialis8discountprice.com/

{ Link } , { Link } ,

49cialis_price  8/21/2015 7:01:52 PM GMT -6  cialis price

{ Link } , { Link } ,

50cialis_price  8/21/2015 10:52:37 PM GMT -6  cialis price

{ Link } , { Link } ,

51viagra_price  8/22/2015 5:35:15 AM GMT -6  viagra price

{ Link } , { Link } ,

52viagra  8/29/2015 7:45:24 AM GMT -6  buy viagra online safe

{ Link } , { Link } ,

53discount_cialis  9/6/2015 2:58:26 PM GMT -6  discount cialis

Hello!

{ Link } , , { Link } , ,

54viagra  9/23/2015 7:33:33 PM GMT -6  viagra

{ Link } , { Link } ,

55generic_cialis  10/28/2015 3:09:55 PM GMT -6  generic cialis

Hello!

{ Link } , , { Link } , ,

56side  10/29/2015 2:32:58 AM GMT -6  viagra side effects

Hello!

{ Link } , , { Link } , ,

57cialis  10/29/2015 3:47:22 PM GMT -6  cheap cialis india

Hello!

{ Link } , , { Link } , ,

58without  11/11/2015 4:39:17 AM GMT -6  cialis without prescription

{ Link } , { Link } ,

59online  11/11/2015 5:39:14 PM GMT -6  cialis online free sample

{ Link } , { Link } ,

60viagra  11/13/2015 5:51:32 AM GMT -6  buy viagra without prescription

{ Link } , { Link } ,

61prices  11/17/2015 4:25:08 PM GMT -6  lowest prices cialismaximum dosage cialis

{ Link } , { Link } ,

62erection  11/18/2015 2:09:46 PM GMT -6  viagra erection photos

{ Link } , { Link } ,

63by  11/25/2015 4:56:25 PM GMT -6  buy by cialis money order

{ Link } , { Link } ,

64cialis  12/24/2015 8:20:08 AM GMT -6  buy cialis generic

Hello!

{ Link } , , { Link } , ,

65cialis  12/24/2015 4:50:12 PM GMT -6  buy cialis cheap

Hello!

{ Link } , , { Link } , ,

66viagra  12/25/2015 12:34:36 AM GMT -6  buy viagra generic

Hello!

{ Link } , , { Link } , ,

67reda  1/13/2016 11:30:02 PM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

<a href="{ Link } تنظيف بالرياض</a>

<a href="{ Link } تنظيف فلل

بالرياض</a>

68fathiwady  1/24/2016 5:03:18 PM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

{ Link } شركة تنظيف شقق بالرياض

.

{ Link } شركة مكافحة حشرات بالدمام

.

69mouhamed ahmed  6/21/2016 5:16:24 PM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

<a href="https://aladawy.org/%D8%B4%D8%B1%D9%83%D8%A9-%D8%B9%D8%B2%D9%84-%D9%81%D9%88%D9%85-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/"> شركة عزل فوم بالرياض </a>

70home clean  7/26/2016 11:11:22 AM GMT -6  شركة نور الجنة للخدمات المنزلية

home clean

71home clean  7/26/2016 11:11:46 AM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

home clean dammam

72viagra  8/24/2016 6:00:42 AM GMT -6  herbal viagra alternative

Hello!

{ Link } , ,

73شركة عزل فوم بالرياض  10/25/2016 10:18:04 AM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

great post thanx

74شركة مكافحة الفئران بالرياض  12/7/2016 3:56:58 PM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

<a href="{ Link } مكافحة حشرات بالخرج</a>

75شركة مكافحة الفئران بالرياض  12/7/2016 3:58:04 PM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

{ Link }

{ Link }

{ Link }

76قمم التميز  3/21/2017 9:14:35 AM GMT -6  Domino Blog Template - Restricting amount of content displayed for each entry on homepage

نحن نسعى الى تقديم العديد من الخدمات والعروض المميزة لجميع عملاءنا .. تابعنا باستمرار وتعرف على احدث الخدمات والعروض

<a href="https://qmm-eltmayz.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%86%D8%A7%D8%B2%D9%84-%D8%A8%D8%A7%D9%84%D8%AC%D8%A8%D9%8A%D9%84-%D9%88%D8%A7%D9%84%D9%82%D8%B7%D9%8A%D9%81/"> شركة تنظيف بالجبيل</a>

<a href="https://qmm-eltmayz.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%86%D8%A7%D8%B2%D9%84-%D8%A8%D8%A7%D9%84%D8%AC%D8%A8%D9%8A%D9%84-%D9%88%D8%A7%D9%84%D9%82%D8%B7%D9%8A%D9%81/"> شركة تنظيف منازل بالجبيل</a>

<a href="https://qmm-eltmayz.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%86%D8%A7%D8%B2%D9%84-%D8%A8%D8%A7%D9%84%D8%A7%D8%AD%D8%B3%D8%A7%D8%A1-%D9%88%D8%A8%D9%82%D9%8A%D9%82/"> شركة تنظيف بالاحساء</a>

<a href="https://qmm-eltmayz.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%86%D8%A7%D8%B2%D9%84-%D8%A8%D8%A7%D9%84%D8%A7%D8%AD%D8%B3%D8%A7%D8%A1-%D9%88%D8%A8%D9%82%D9%8A%D9%82/"> شركة تنظيف منازل بالاحساء </a>

<a href="https://qmm-eltmayz.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D9%85%D8%AB%D8%A7%D9%84%D9%8A%D8%A9-%D9%84%D9%84%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%88%D8%A7%D9%84%D9%86%D8%B8%D8%A7%D9%81%D8%A9-%D8%B4%D8%B1%D9%83%D8%A9-%D9%82/"> شركة المثالية للتنظيف</a>

<a href="https://qmm-eltmayz.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D9%85%D8%AB%D8%A7%D9%84%D9%8A%D8%A9-%D9%84%D9%84%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%88%D8%A7%D9%84%D9%86%D8%B8%D8%A7%D9%81%D8%A9-%D8%B4%D8%B1%D9%83%D8%A9-%D9%82/"> شركة المثالية لتنظيف المنازل</a>

<a href="https://nile-company.org/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%86%D8%A7%D8%B2%D9%84-%D8%A8%D8%A7%D9%84%D8%AE%D8%A8%D8%B1/"> شركة تنظيف منازل بالدمام</a>

<a href="https://nile-company.org/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%86%D8%A7%D8%B2%D9%84-%D8%A8%D8%A7%D9%84%D8%AE%D8%A8%D8%B1/"> شركة تنظيف منازل بالخبر</a>

77شركة نقل عفش بجازان  9/10/2017 7:09:54 AM GMT -6  شركة نقل عفش بجازان

{ Link } شركة نقل عفش بخميس مشيط

{ Link } شركة نقل عفش بجازان

{ Link } شركة نقل عفش بنجران