Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
Delete some lines from blog-plugin
Avatar
dw_userguy #1
Member for a month · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Delete some lines from blog-plugin
Hi,

I would like to mask out some content. For my site I use the blog plugin [1]. Below every entry the plugin generates and shows some metainfo which I dont need. There are two options now: a) unmask the line and the grey line or b) delete both (uncomment from code).

Would anybody please tell me, in which file I find the two lines? Thank you very much!

dw_userguy


[1] https://www.dokuwiki.org/plugin:blog
Avatar
dw_userguy #2
Member for a month · 4 posts
Group memberships: Members
Show profile · Link to this post
I forgot to attach a screenshot in my previous post. So here it is now.
The author has attached one file to this post:
dokuwiki.png 16 kBytes
You have no permission to open this file.
Avatar
LarsDW223 #3
Member since Sep 2014 · 427 posts · Location: Paderborn
Group memberships: Members
Show profile · Link to this post
What information do you want to hide exactly? Please keep in mind that you can also add some flags from the pagelist plugin. E.g. adding &nodate&nouser will suppress the date and the username.

Complete example line:

{{blog>myblog&readmore&length=10000&nodate&nouser}}
Avatar
dw_userguy #4
Member for a month · 4 posts
Group memberships: Members
Show profile · Link to this post
Lars, viiielen herzlichen Dank! Many thanks! That did the trick! I have added {{blog>?20&nodate&nouser}} and the entries have disappeared.

Now I just need to hide the horizontal rule. ;-)

Okay, I managed to erase it.

1. Create a userstyle.css in /dokuwiki/conf/
2. In order to erase the line from within the blog-plugin, add

.level1 {border:0 !important;}

BTW if you want to hide / erase the line below the title of your entries, add

h1 { border:0 !important;}
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-19, 16:16:54 (UTC +02:00)