Does anyone know an easy way to remove the posted by admin which shows up on a blog entry?

I have looked at several threads and none of them have a solution which helps me!

I tried to add CSS style of - .posted-by {display:none;} but this does not change it everywhere and just leaves a post with no name.

Is there an easy way to remove this or perhaps change the name from ADMIN to another name?


View Replies:
mhawke replied on at Permalink Reply
You can always change the name of the 'admin' to 'mellemel' so it will say 'Posted by mellemel'

One problem with the way the Blog works is that it changes the 'Posted by' name to the last person who put the page in Edit Mode and then saved the page even though the content didn't change. If you want to make sure the username of the original author remains you will have to add these lines somewhere on the blop_entry.php file before the $username gets output and change the reference to $username to $origAuthorName in the line that spits out the name of the author.

$db = Loader::db();
$origAuthorName = $db->GetOne("SELECT uName FROM CollectionVersions cv INNER JOIN Users u ON cv.cvAuthorUID = u.uID WHERE cv.cID = ? and cv.cvID=1", $c->getCollectionID());

If you'd like, post your bolg_entry.php file here and I'll throw those lines in it for you. To attach your PHP file to this forum, you must rename it to 'blog_entry.txt'
core77 replied on at Permalink Reply
In your theme's folder there is a template for the blog entries called blog_entry.php.

There you can remove the paragraph with that information. In greek_yogurt theme it's line 58 to
mellemel replied on at Permalink Reply
How do I find .php files? In edit page type Blog Entry there is no code.
I have no idea where this is to change the code.

Please let me know. Thank you very much!
mellemel replied on at Permalink Reply
How do I find .php files?
core77 replied on at Permalink Reply
You should have FTP access to your server. Then you can see all the files, the concrete5 core and your templates.

Also check this: