White Labelling

Permalink 1 user found helpful
White Labelling used to go in config/site.php, through 5.7b. Now there is nor site.php in the config folder. Where does it go now?

TIA

 
okapi replied on at Permalink Reply
okapi
/application/config/generated_overrides/conrete.php

Remove background images:

'white_label' => array(
        'background_image' => 'none'
    ),


Hide news overlay:
'external' => array(
        'news_overlay' => false,
        'news' => false
    ),


Hope, this was what you were searching for.
garyb10 replied on at Permalink Reply
Thanks, That is what I was looking for. I noticed they changed the names. Is there a place in the docs I can find the rest of the old name replacements like

define('ENABLE_MARKETPLACE_SUPPORT', false);
define('ENABLE_INTELLIGENT_SEARCH_HELP', false);
define('ENABLE_INTELLIGENT_SEARCH_MARKETPLACE', false);


I do like them being put in an array now.
goesredy replied on at Permalink Reply
goesredy
Create a file called
concrete.php
in
/application/config
with the following contents:
<?php
return array(
    'marketplace'       => array(
        'enabled'            => false
    ),
    'external'              => array(
        'intelligent_search_help' => false,
        'news_overlay'            => false,
        'news'                    => false
    )
);
webpresso replied on at Permalink Reply
webpresso
Does anyone know if I can set a custom background image instead of 'none'?

This would be great!
MrKDilkington replied on at Permalink Reply
MrKDilkington
@innotix

In the upcoming 5.7.5 release of concrete5, custom login page background images can be set.

This How-To describes the process:
https://www.concrete5.org/documentation/how-tos/designers/how-to-set...
76West replied on at Permalink Reply
76West
We're working through some of these white label configurations, but we're not seeing results even after clearing site cache with C5 5.7.5.4. Here's what we're picking up with from the how-to

'white_label' => array(
         'background_url' => true
         ),
         'urls' => array(
             'background_url' => 'http://www.stressdesign.com/files/5914/5347/5661/000-366_Join.me.png'
         ),
         'external' => array(
            'intelligent_search_help' => false,
                 'news_overlay' => false,
                 'news' => false
          ),
         return array(
         'marketplace' => array(
         'enabled' => false
         ),


There must be something else to do but I'm not seeing it. I appreciate your insight.
okapi replied on at Permalink Reply
okapi
@stressdesign

The arrays should be wrapped with

<?php
return array(
// here go your desired arrays
);

and no comma after the last bracket of the last array.
But may you know that anyway.

My concrete.php for instance looks like that:

<?php
return array(
    'white_label' => array(
        'background_image' => 'none',
    ),
    'external' => array(
        'intelligent_search_help' => true,
        'news_overlay' => false,
        'news' => false,
    )
);

In your code "return array" is not on top, but somewhere in between.
76West replied on at Permalink Reply
76West
@okapi, great. this is just the trouble we were having. couldn't see through it from here.

We're still seeing addons show up in search even though

),
         'marketplace' => array(
         'enabled' => false,
         )


Is set.

Is there a list of arrays published somewhere? I know there was a white label list for C5 5.5, but not seeing one for 5.7

The next thing we want to do is change the "name" of the CMS to be our client name.
fhinojosa replied on at Permalink Reply
Just wanted to add/answer @stressdesign ( or anyone else out there).

The full array is actualy in your files, at /concrete/config/concrete.php or here is the link to the github repo :

https://github.com/concrete5/concrete5/blob/develop/web/concrete/con...

The file we add at the application/config is overidding options found at this file so it should contain all the options. It has great comments that make it easy to undestand what it is your doing/changing.

Thanks
76West replied on at Permalink Reply
76West
@fhinojosa

Thanks!