Removing page title and 'posted by admin'

Permalink 2 users found helpful
Hi guys I'm a Joomla specialist and thought I'd try Concrete5 out. I'm about 3 hours in and already have my site built! Amazing.

One small issue is I'm unable to remove the words:

Home
Published by Admin

from the main column in blog layout on the homepage. See attached.

How can I remove this? I can't find any settings to turn it off. And my template only works how I want it in Blog layout, so I can't switch styles.

If there's no setting, where is the PHP file that controls this? I tried removing the code from concrete/page_types/blog_entry.php and that did nothing.

Thanks!

1 Attachment

 
12345j replied on at Permalink Reply
12345j
it looks like you're using a marketplace theme so that would be in root/packages/theme_name/themes/theme_name and open up blog.php. the code is in there. if its a default theme its in root/concrete/themes
guythomas replied on at Permalink Reply
guythomas
I'm going to make an assumption here that you are using the default theme. If so, here is how you would do it.

Copy the entire concrete/themes/default directory to themes/default.

Within that new directory open the blog_entry.php file and remove the following:

<div class="pageSection">
            <h1><?php  echo $c->getCollectionName(); ?></h1>
            <p class="meta"><?php  echo t('Posted by')?> <?php  echo $c->getVersionObject()->getVersionAuthorUserName(); ?> on <?php  echo $c->getCollectionDatePublic('F j, Y'); ?></p>      
         </div>


That should take care of everything.

Where you went wrong was in editing the concrete/page_types/blog_entry.php file. This is that pages controller, you needed to edit the "view".

If you are not using the "default" theme, all of the above applies, just find the blog_entry.php file within your themes directory.

-Guy
johnlewisdesign replied on at Permalink Reply
Great stuff - one more thing - I'm using the free Column Cruiser theme. Do I still need to move the files (I get it, like a template override in Joomla), or can I edit it in place?

Thanks so much for your speedy help guys - awesomeness. Loving C5 already!
12345j replied on at Permalink Reply
12345j
you can edit in place.
johnlewisdesign replied on at Permalink Best Answer Reply
Great - all done. FYI that didn't work in my theme so I removed the code in concrete/single_pages/blog_entry.php instead. But this info totally got me there, thanks so much! John
wjduncan replied on at Permalink Reply
ok i'm going to show my ignorance here but what was said to correct this issue is kinda greek to me. I need to remove the "Home post by admin" from my site as well and I have to idea where to go to even start getting this corrected, can some help please?