coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: patrick181 on June 01, 2007, 07:18:53 PM

Title: Home page setup
Post by: patrick181 on June 01, 2007, 07:18:53 PM
I would like all the users main thumbnail link to their galleries show up on the home page. Not under many sub-menus. I liked how the page looks when you set up albums with no categories. However I could not figure out how to assign the albums to individual registered users. I know there are many topics on this, Ive read most of them, none worked.

I assume I need to change the "Content of the main page"           breadcrumb/catlist/alblist/lastup,2/

I do not know what command syntax to add to that line. Is there a list of commands somwhere iv'e missed?

Thanks
Title: Re: Home page setup
Post by: Joachim Müller on June 02, 2007, 11:19:50 AM
Default Home Category to User Groups (http://forum.coppermine-gallery.net/index.php?topic=4958.0)
Title: Re: Home page setup
Post by: patrick181 on June 04, 2007, 03:53:25 AM
Thanks but I just killed it.  I backed up the original index.php

define('IN_COPPERMINE', true);

if (isset($_GET['file'])) {
    // Scrub: Remove '..' and leftover '//' from filename
    $f

Replaced with:

define('IN_COPPERMINE', true);

if (isset($_GET['cat'])) {
        $cat = (int)$_GET['cat'];
    } else {
        $cat = USER_GAL_CAT;
    }


Now getting:

Parse error: parse error, unexpected $ in /home/buderfly/public_html/coppermine1/index.php on line 39

Even if I replace the backed up file.