forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: mackit on May 30, 2005, 07:46:49 pm

Title: Last album and category help.
Post by: mackit on May 30, 2005, 07:46:49 pm
Im not sure if this is help but is for me. I am new to the whole coppermine thing.  I searched for 2 things, but my topic doesn't come up in the search.
you probably get these questions all the time but:

first question

How can I change my last additions section from last uploaded pictures to last uploaded album?
(would this include any downloading or mysql addition o changes)

second question

When I create a subcategory, instead of appearing inside the parent subcategory it appears out side with the rest of the parent category, do you know how I can change this to make that subcategory appear in side the parent category? if you need a screencap let me know!
Title: Re: Last album and category help.
Post by: Joachim Müller on May 31, 2005, 06:03:00 am
first question
We have a "one question per thread" policy on this forum that you agreed to respect when joining.

How can I change my last additions section from last uploaded pictures to last uploaded album?
(would this include any downloading or mysql addition o changes)
http://coppermine.sourceforge.net/manual.php#changing

When I create a subcategory, instead of appearing inside the parent subcategory it appears out side with the rest of the parent category, do you know how I can change this to make that subcategory appear in side the parent category? if you need a screencap let me know!
I have no idea what you mean. Post a link.
Title: Re: Last album and category help.
Post by: nitro2k01 on June 28, 2006, 08:42:30 am
When I create a subcategory, instead of appearing inside the parent subcategory it appears out side with the rest of the parent category, do you know how I can change this to make that subcategory appear in side the parent category? if you need a screencap let me know!
Okay I understand what you means because i posted a similar post.
If you comment this line in index.php in ur coppermine than subcategories' wont appear but the problem is it wont add up the subcategory's albums and pictures in parent category.

Add "//" without quote to this- no more subcategories:
Code: [Select]
if ($level < $CONFIG['subcat_level']) get_subcat_data($subcat['cid'], $cat_data, $album_set_array, $level+1, $ident . "<img src=\"" . $CPG_M_DIR . "/images/spacer.gif\" width=\"20\" height=\"1\">");
also check my post here:
http://forum.coppermine-gallery.net/index.php?topic=33210.0