Blog Post Detail

Permalink Browser Info Environment
Hello!

Can you please point me to the file in the theme that the blog sidebar is pulling the date from?

I'd like to omit the timestamp from the post details, but keep the date.

Thank you.

1 Attachment

Type: Pre-Sale
Status: Resolved
76West
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi,
For removing the date section,
- Copy `\packages\theme_pixel\blocks\page_list\templates\pixel_blog_sidebar.php` to `\application\blocks\page_list\templates\pixel_blog_sidebar.php` and rename it to something like `pixel_blog_sidebar_2.php`
- then open the newly copied file and add this line somewhere in the top:
$includeDate = false;
76West replied on at Permalink Reply
76West
This may be a related question, but we're also wanting to remove conversations block from and topics from "Main" and remove topics from "Sidebar"

What's the proper approach here?
shahroq replied on at Permalink Reply
shahroq
Hi,
For removing blocks from page types navigate through:
Dashboard: Page Types: Blog Entry: Output: Right Sidebar
and edit the page type. These are the blocks that automatically injected into each page on creation.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.2
Version Installed - 8.5.2
Database Version - 20190925072210

# Database Information
Version: 5.6.47-log
SQL Mode: NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Automatic Email Obfuscator (2.0.1), Google reCAPTCHA (1.0.0), Pixel Theme (2.4.0)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
fpm-fcgi

# PHP Version
7.1.33

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, fileinfo, filter, ftp, gd, hash, iconv, imap, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 100M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.