Override pixel theme members directory and profile

Permalink Browser Info Environment
Hi.

Is it possible to override pixel theme's members directory and profile views?

If not, is it possible to disable them and use the core versions?

Thanks.

Type: Pre-Sale
Status: Resolved
simonchilton
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi Simon,
These pages are like other pages and can use other themes that are available, including Elemental.
Sitemap > open the 'Members' node > right click on `Directory` > Design & Type.
simonchilton replied on at Permalink Reply
simonchilton
Hi. I don't want to apply a different theme.

I actually want to override the directory.php file located at /packages/theme_pixel⁩/⁨themes/pixel/members⁩.

Thanks
Simon.
shahroq replied on at Permalink Reply
shahroq
As I once read in the core documentation, any file in a packaged theme should be possible to override in "/application/themes/...".
https://documentation.concrete5.org/tutorials/override-almost-any-co...
(Path Based Examples: Themes)
But the last time I checked, by creating even an empty folder in there (applications/themes/pixel), the c5 tries to fetch all assets out of the new folder. In this case, the proper behavior, and what you intend to do, should be check only for the files that are put in the new folder.
Anyway, I suggest that you ask this question in the general forum. Maybe someone in the community could come with a workaround.
simonchilton replied on at Permalink Reply
simonchilton
Ah OK, I see the problem! I wondered why it wasn't working as expected.

I can override the concrete5 core members single pages - is there a way to tell pixel to use those instead of the theme versions?
shahroq replied on at Permalink Reply
shahroq
You can change these pages's theme, then check whether overriding those templates works or not.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
Automatic Email Obfuscator (2.0.1), ExchangeCore reCAPTCHA (1.1.1), Grand Gallery (1.2.5), HTML+PHP Code Block (1.0.2), Pixel Theme (2.3.0)

# concrete5 Overrides
blocks/calendar_event/templates/thumbnail.php, blocks/calendar_event/templates, blocks/calendar_event, blocks/image_slider/templates/inline.php, blocks/image_slider/templates, blocks/image_slider, blocks/event_list/templates/thumbnail.php, blocks/event_list/templates, blocks/event_list, blocks/content/templates/event_post/view.php, blocks/content/templates/event_post/view.css, blocks/content/templates/event_post, blocks/content/templates, blocks/content, blocks/feature/templates/pixel_side_icon_cs.php, blocks/feature/templates, blocks/feature, controllers/single_page/members/directory.php, controllers/single_page/members, controllers/single_page, mail/user_registered_approval_complete.php, single_pages/register.php

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

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.1.31

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

# PHP Settings
max_execution_time - 240
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 1000
memory_limit - 512M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
xdebug.max_nesting_level - 256
xdebug.max_stack_frames - -1
xdebug.var_display_max_children - 128
xdebug.var_display_max_data - 512
xdebug.var_display_max_depth - 3

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0

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.