Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Leaves Pepper Configuration

cric
Minted
Posted on Jul 07, '08 at 03:13 pm

Hi At the moment I have 2 domains I want to track. They each have its own mint installation. I thought I could use the Leaves Pepper to have an overview of both installations. But I have problems configuring the Leaves Pepper. Can someone explain it to me?

  1. Under which of the two domains should I drop the folder “m”?
  2. How can I add more than 1 mint installation in the config file?

Or isn’t Leaves not the right thing I am looking for at all?

Shaun Inman
Mint/Pepper Developer
Posted on Jul 07, '08 at 03:27 pm

Leaves is exactly what you’re looking for. It doesn’t matter which domain you drop it in, but which ever one you choose is where you’ll go to view your Leaves.

The default Leaves config/db.php file contains the following code:

$Mints[] = array // defaults to the current Mint installation
(
    'url'       => $Mint->cfg['installFull'],
    'display'   => $Mint->cfg['siteDisplay'],
    'email'     => $Mint->cfg['email'],
    'password'  => $Mint->cfg['password']
);

Which you should copy and change to something like this:

$Mints[] = array
(
    'url'       => 'http://yourotherdomain.com/mint/',
    'display'   => 'Your Other Domains Name',
    'email'     => 'login-email@yourotherdomain.com',
    'password'  => 'login-password-for-your-other-domain'
);
cric
Minted
Posted on Jul 07, '08 at 03:39 pm

Thanks a lot. I didn’t understand the first Mints array entry. Now it works. Except GeoMint. It tells me that the Google API is the wrong one (already used) but when I go to the Preferences, everything is OK. When I open the mint sites in their own window, there is no problem. So, I have to assume that GeoMint does not work with leaves. Or am I wrong?

cric
Minted
Posted on Jul 07, '08 at 03:41 pm

Hm, forget the last post: It seemed that the browser forwarded me to the subdomain and not the domain. This was the problem.

cric
Minted
Posted on Jul 07, '08 at 03:45 pm

OK, I type faster than I think and experiment: My domain gets translated to the subdomain (e.g. mydomain.com -> my.domain.com). When I click on the Leaves frame and open it in a new window, I can see the wrong URL. Any ideas why Leaves uses the subdomain and not the domain?

Shaun Inman
Mint/Pepper Developer
Posted on Jul 08, '08 at 08:31 am

Does your server issue redirect from the subdomain? Leaves will follow any redirects the server sends.

I am trying to get leaves working, but sadly, it isn’t taking. You can view my leaves online at http://statistics.rexanni.com/m Here is my mints.php file:

$Mints[] = array // defaults to the current Mint installation
(
    'url'       => $Mint->cfg['installFull'],
    'display'   => $Mint->cfg['siteDisplay'],
    'email'     => $Mint->cfg['email'],
    'password'  => $Mint->cfg['password']
);

$Mints[] = array
(
    'url'       => 'http://statistics.jessicasideways.com/',
    'display'   => 'JessicaSideways.com',
    'email'     => 'you@yourotherdomain.com',
    'password'  => 'very1234sercret'
);
Shaun Inman
Mint/Pepper Developer
Posted on Jul 25, '08 at 08:56 am

What do you mean by “isn’t taking?” Are you seeing an error? Are you not logged in (you must be logged into the Mint installation that is hosting Leaves in order to view your Leaves.)

I mean that when I visit my Monumint page, it shows the Mint install for Rexanni, but not JessicaSideways.com and it seems as if both are configured in the mints.php file.

Shaun Inman
Mint/Pepper Developer
Posted on Jul 28, '08 at 02:13 pm

Is Monumint displaying two “columns”, one of them being empty? Monumint is basically just a frameset that loads the url provided in the mints.php file. You haven’t changed:

define('MAX_FRAMES_DESKTOP', 3); // change to best suit your resolution/needs

(perhaps to just 1), have you?

No, I haven’t. It does not display two columns, just one.

Shaun Inman
Mint/Pepper Developer
Posted on Jul 29, '08 at 11:50 am

Can you copy and email me the source from your Monumint install (from “View Source” in the browser, not the PHP source)?

Certainly. This has been sent for you.

Shaun Inman
Mint/Pepper Developer
Posted on Jul 29, '08 at 01:16 pm

Sorry Jessica, I forgot that the contact form doesn’t accept HTML (you would not believe the amount of contact form spam I get on my sites). Could you send it to mint@ this domain?

Alrighty. Just give me one moment.

You must be logged in to reply. Login above or create an account