Monday 27 February 2012 6:57:28 pm - 4 replies
Hello friends,
I want to create folders in my content structure in order to organize my data, but I don't want navigational folders. In other words, when I create a folder in the content structure, someone that visit my website can access to this folder by the following address:
And I don't want that, I just want to create folders to organize data and not to be seen by everyone.
Thank you for your help.
Regards,
Ricardo
Tuesday 28 February 2012 9:56:38 am
Hey Ricardo
I know three options:
1) create your own navigation class (my favorite solution) and use the folders for your organisation
2) create a new class (container) for your administration (and remove by the role Anonymous the right for the view)
3) create a new role content/read for Anonymous, and add the visible nodes
Modified on Tuesday 28 February 2012 9:57:18 am by David Hohl
Monday 05 March 2012 8:39:59 am
Hey Ricardo,
Ok, I will try to describe ![]()
1) First of all - setup/class - create new class example "Navigation".
2) create in your extension -> contentstructuremenu.ini.append.php with
[TreeMenu] ShowClasses[]=navigation
this is for the backend on the left.
3) add in the content structure a navigation node, left click on the node and switch it with your nodeId 2. (it is no really necessary)
4) nice to do: add in your extension -> icon.ini.append.php
[ClassIcons]ClassMap
[navigation]=filesystems/folder.png
5) create in your extension -> menu.ini.append.php
[MenuContentSettings] TopIdentifierList[] TopIdentifierList[]=navigation [MenuSettings] #HideLeftMenuClasses[] HideLeftMenuClasses[]=folder
Well I hope that was all. ![]()
Modified on Monday 05 March 2012 8:58:39 am by David Hohl
Monday 05 March 2012 4:54:08 pm
Thank you again for your help.
This method doesn't resolve the web address problem but it removes the left navigation menu from the page wich help and I can turn around the problem.
It would be perfect if it was possible to hide the folder. I will try to explain the problem again maybe you missunderstood what I really want.
I have the following structure in my content:
Frontpage1 with {Folder 1; Folder 2; etc}
Folder 1 with {object 1; object 2; etc}
The address of my page results as:
www.my_page_name.com/Frontpage1/Folder1/object1
What I want is:
www.my_page_name.com/Frontpage1/object1
without the reference to the folder or the navigation class.
BTW the last part of the code should be:
[MenuSettings] HideLeftMenuClasses[]=navigation
Right? because with folder you are hidding the left menu of the folder class.
Thank you.
You must be logged in to post messages in this topic!