Author Topic: Unable to show collapsed content.  (Read 6181 times)

Offline Fabrice

  • User
  • *
  • Posts: 2
    • View Profile
Unable to show collapsed content.
« on: April 16, 2012, 10:29:22 AM »
Hi,

I have a issue with content collapsing.

When I go to Edit page, I do not have at all the "Initially show all content on this page collapsed?" checkbox.

While looking for a workaroud, as I saw in previous topic, I set to "1" all colomns "contentcollapsed", but contents are still not collapsed :-/

I attached a screenshot where you can see that the checkbox does not appears. Note that on demo.knowledgeroot.org, the checkbox appears and works fine.

In source code, I do not find the following line:
Code: [Select]
<tr><td colspan="2"><input dojoType="dijit.form.CheckBox" type="checkbox" id="contentcollapsed" name="contentcollapsed" ><label for="contentcollapsed">&nbsp;&nbsp;Initially show all content on this page collapsed?</label></td></tr>
Technical information:
Red Hat Enterprise Linux Server release 6.2
httpd-2.2.15-15.el6.i686
mysql-5.1.52-1.el6_0.1.i686
php-5.3.3-3.el6_2.6.i686

Thanks for your help,
BR,


Offline admin

  • Administrator
  • User
  • *****
  • Posts: 694
    • View Profile
    • http://www.lordlamer.de
Re: Unable to show collapsed content.
« Reply #1 on: April 16, 2012, 09:27:17 PM »
Hi,

ok. Sounds like the same strange problem.
I will do my best to reproduce ist.

regards,
Frank

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 694
    • View Profile
    • http://www.lordlamer.de
Re: Unable to show collapsed content.
« Reply #2 on: April 18, 2012, 08:14:10 PM »
Hi,

could you paste your config?

Is the value for collapsecontent in section content true?

regards,
Frank

Offline Fabrice

  • User
  • *
  • Posts: 2
    • View Profile
Re: Unable to show collapsed content.
« Reply #3 on: April 19, 2012, 07:32:08 AM »
Hi Frank,

I set collapsecontent to 1 and it works : all contents are collapsed and the checkbox appears. :-)

If I turn back collapsecontent to "0" and then "", content is not collapsed and checkbox does not appears.

Thanks for your assistance !!
Best Regards,


Here is my conf, but I do not think that's necessary anymore ;-):

Code: [Select]
[base]
version = "1.0.3"
title = "KB INET"
cryptkey = "yourcryptkeyhere"
base_path = "/path to knowledgeroot/"
base_url = "https://url of knowledgeroot/"
charset = "UTF-8"
locale = "fr_FR"
showlogo = "1"
theme = "green"

[admin]
loginhash = "hash"
base_path = "/path to knowledgeroot/admin/"

[upload]
url_suffix = "upload/"
path = "uploads/"
maxfilesize = ""

[output]
compression = ""
level = "6"

[db]
adapter = "mysql"
params.host = "localhost"
params.username = "loginmysql"
params.password = "passmysql"
params.dbname = "bddmysql"
encoding = ""
schema = ""
profiler = "1"
pconnect = ""

[session]
handle = "1"
lifetime = "60"
check_browser = "1"
check_ip = "1"
only_cookies = "1"

[login]
delay = "5"
max = "50"

[email]
notification = ""
html = "1"

[cache]
options.caching = ""
options.lifetime = "7200"
options.automatic_serialization = "1"
path = "cache/"

[log]
adapter = "file"
level = ""
file = "log/knowledgeroot.log"

[translation]
adapter = "gettext"
folder = "system/language/"

[development]
runtime = ""
toolbar = ""
sqldebug = ""

[tree]
expandall = "0"
type = "static"
ajax = "1"
edittooltiptext = "1"
order = ""
showcounter = "1"
defaultlayout = ""
defaultlayoutarray = ""
symlink = "1"

[content]
showtitle = "1"
showtitledetails = ""
collapsecontent = ""
statusbar = "1"
autosave = "1"
autosaveevery = "30"

[menu]
context = "1"
dragdrop = "1"
type = "static"
showsourceforgelogo = ""

[misc]
defaultpage = ""
recursivdelete = "2"
pagealias.use = ""
pagealias.static = "1"
pagealias.rights = "2"
langdropdown = "1"
download.static = ""
subinheritrightsonmove = ""
showpagebottomnavi = ""

[javascript]
cdn = ""
cdn_url = "http://ajax.googleapis.com/ajax/libs/dojo/1.6.1/dojo/dojo.xd.js"
cdn_css_base_url = "http://ajax.googleapis.com/ajax/libs/dojo/1.6.1/"