mariovaldez.net

MV.net forums
It is currently 14 Jul 2016, 00:42

All times are UTC - 7 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
PostPosted: 15 Sep 2003, 00:28 
My cm modules is 0.6.0b10,PHProject is 4.0.4
Linux System is RedHat9.0(kernel 2.4.20-8), GD is 1.8,
DBMS is mysql and PHP is 4.2.2
As soon as enter cm modules,it will list all sub
directories in "root" directory and cann't distinguish their
revalution.For example,my directories is:
root-->a-->b-->c
|
|
--->d-->e-->f
|
|
-->g

The cm will display them as follow form:

Start->
a
b
c
d
e
f
g

So, I feel it is inconvenience.I want it only display
top sub-directories as tree-list form, and when I need, It will
expanded by click immediately.
How to do it? Thanks very much.


Report this post
Top
  
Reply with quote  
 Post subject: Show only root
PostPosted: 15 Sep 2003, 07:22 
Go into cm_config_inc.php

Change these values to zero as indicated below:
Code:
    // Max number of documents to list in homepage.
    $cm_home_maxleafs = 0;
    // Min number of documents to list in homepage.
    $cm_home_minleafs = 0;



Report this post
Top
  
Reply with quote  
PostPosted: 06 Oct 2003, 02:37 
User avatar

Joined: 06 Mar 2003, 03:21
Posts: 447
Location: Monterrey, NL, Mexico
Hi,

(Thanks Mark for answering this question).

Please note that this will only work for version 0.6.0b9 and higher. Before that, the cm_home_maxleafs and cm_home_minleafs support was broken.


Regards,

Mario A. Valdez-Ramirez.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 08 Oct 2003, 13:28 

Joined: 08 Oct 2003, 13:20
Posts: 13
Curious, this fix didn't work for me. My values were already set to 0 and I'm still seeing the subs and sub subs, etc.

I'm using version 0.6.0b10 of CM.

JAB*


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: 08 Oct 2003, 13:32 

Joined: 08 Oct 2003, 13:20
Posts: 13
Sorry, #SHORTINDEX# as opposed to #INDEX# took care of it. Works fine.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group