White Label Message

Permalink
Hello,

does anyone know how to remove the "Powered by concrete5" tag at the dashboard?

1 Attachment

primewaydesign
 
76West replied on at Permalink Reply
76West
This is defined in /concrete/themes/dashboard/elements/header.php

In C5 v5.6.0.2, this is on Line 129 of header.php, will be in different locations in different C5 versions, but here is the line you are looking for.

<li id="ccm-white-label-message"><?php echo t('Powered by <a href="%s">concrete5</a>.', CONCRETE5_ORG_URL)?></li>
primewaydesign replied on at Permalink Reply
primewaydesign
Hi,

thanks for your share.

This piece of code modifies the "Powered by concrete5" in the dashboard only.

Is there a way to modify this on logged on status or edit mode?
Steevb replied on at Permalink Reply
Steevb
digitaris replied on at Permalink Reply
digitaris
To expand on this subject and the reply by stressdesign, for version 5.6x the dashboard "Powered by..." message is contained in the file named /concrete/themes/dashboard/elements/header.php. It is best to copy this file into the override folder that uses the same naming convention and folder structure that is found at the same relative folder level as the /concrete folder (not beneath it). You can create the folders if needed. The full override path will be /themes/dashboard/elements/header.php and you should make your edits there. The content in C5 version 5.6.2.1 is found on line 113. Simply search for the "Powered by" string to locate the line that needs to be edited in your version.

For all other pages outside of the dashboard, when logged in to your site, the "Powered by..." message content is found in the file named /concrete/tools/page_controls_menu_js.php. As mentioned above, the best practice is to use the override feature and copy the file to the folder named /tools that is found at the same relative folder level as the /concrete folder. Again, you can create the folder if needed. The full override path will be /tools/page_controls_menu_js.php. The content in C5 version 5.6.2.1 is found on line 75. Simply search for the "Powered by" string to locate the line that needs to be edited in your version.

For the record, there are no data values that need to be adjusted in the database for this change. Additionally, the other White Label options found in this How-To (http://www.concrete5.org/documentation/how-tos/developers/white-labelling/) are useful for changing the logo and other elements, but are not related to the "Powered by..." content changes. Ideally, a future version will add a WHITE_LABEL_POWERED_BY_NAME and WHITE_LABEL_POWERED_BY_URL runtime setting to the mix (a hint to the C5 crew!).

Lastly, make sure you manage future updates to your C5 version by comparing the core files that you copied into the override folders after each update and repeat the process if there are changes you want to leverage to take advantage of future enhancements.

Hope this helps!