Search

I'm sorry for my English. In the menu of the Content I have a Projects, the url is of the form /projects. Let's say I create a new project Intranet /projects/intranet (intranet prescribe in hand into the Text Input). Let's assume I need to create a subcategory in the project Intranet and I want the url like - /projects/intranet/1 (that I prescribed in the manual in the field of Text Input). What I need to do for this? Create a new field Select Box in the Section?

Such as for example, to create a sub-category (For Beginners, For Users, For Developers) http://getsymphony.com/learn/articles/beginners/

Help please

If you want to assign a category to each project you could add either a Select Box field or a Select Box Link field to your section. You can find more information on both fields here.

Are you planning to use the category to filter the projects?

Tell me please, what is the difference Select Box and Select Box Link? From the description, I did not understand. I think so, I'm well organized Projects so that you can organize the navigation as there http://getsymphony.com/learn/articles/beginners/ - Learn a category and it has a sub-menu below Guides, Tutorials, Articles, Concepts, FAQ, API. I need some too. How do I unfortunately do not understand. I hope you can help.

The Select Box field allows you to create a select element with a list of predefined values with a comma-separated list of values when you create or modify the field in the section.

The Select Box Link field allows you to create a select element with a list of values defined by a link to a field in another section.

If you use the default workspace as an example, you'll notice that the Articles section contains a Select Box Link field called Categories which is linked to the Title field (see the multiple select box under Values) of the Categories section.

The value that are displayed in the Articles entry in the Categories correspond to the entries in the Categories section.

The Select Box Link creates a foreign key that establishes a relationship between the two sections based on the id value of the entry. So, you could potentially change the string (text) value of the Categories entry and still maintain the same relationships between the sections.

With a Select Box field, you can only change the available values by modifying the field configuration. If any of the values change, you may break any relationships you have created to the original values, because the relationships are based on matching strings only.

Edit: my apologies. I was copying links from my localhost. I updated them to point to the Markup Library HTML for the Symphony default workspace.

bauhouse, thanks for the explanation. Can you tell me the Symphony default workspace in Articles add subsections, such as here http://getsymphony.com/learn/articles/beginners/ - Guides, Tutorials, Articles, Concepts, FAQ, API

What kind of system, where I can't figure out how to make subcategories in a category and display links to the sub-categories on the page. Can not help, in no documentation. The value of a community is sharply reduced, disappointed :-(

@walek,

I’m not sure to have fully understood what you’re trying to achieve here (that’s why it’s a bit difficult to helping you), but if you’re going to filter the projects in a page by means of a certain category, here’s how I’d do it:

  • create a section “Categories”
  • add a Text Input field named “Title” to the section “Categories”
  • create the categories you need in the section “Categories” aka create a new entry for each of the categories
  • add a Select Box Link field named “Category” to the section “Projects” linking to the values of the field “Title” of the section “Categories”
  • select a category for each of the entries in the section “Projects”
  • create a new page named “Projects” which has category as a URL Parameter
  • create a new data source named “Projects” which uses the section “Projects” as a source
  • add a new filter to such a data source which filters the data through the field “Category” (Select Box Link) by means of the URL parameter {$category}
  • attach such a data source to the page “Projects”
  • create a new data source named “Categories” which uses the section “Categories” as a source
  • attach such a data source to the page “Projects”

Now you should have a page “Projects” outputting the XML of the various elements of the entries saved in the section ”Projects” and “Categories”.

You can use the portion of the XML where the titles of your categories are output to create a sub menu to filter the projects. The links of such a sub menu should be something similar to “http://www.nameofyourwebsite.com/projects/category”.

@walek, I also was having a hard time understanding your question. If you are looking for a tutorial that specifically deals with categories and sub-categories, you should look at data source chaining.

If you are looking for a working example, it is old and needs some updating, but the Cities ensemble was built with a complex set of relationships in mind.

Continent: Country: Region: City: Guide: Article

There is a demo of the Cities ensemble. And you can grab the ensemble from GitHub or download it from the Cities ensemble download page. It needs to be updated to the latest version of Symphony, and it is on my todo list, but I have some more urgent work to do first.

@theBigMandarino

I apologize if I wrote is not clear. I'll try again. I have a site http://artwalek.ru/ (in Russian language), I have a portfolio that I want to put on him. I deal with the publication of the articles. But I have a problem with the publication of the portfolio. Let's say I place in the portfolio of their work, but the work can be version. I need to open from the main page of this work, the page works were references to the version of this work. If the example with the site Symphony, it will look something like this http://getsymphony.com/discuss/thread/97745/ - click on the Discuss, opens a page with the message, and under Discuss a submenu with links Forum, Blog, Issues, Twitter.

In my case, if we click on the page http://artwalek.ru/projects/intranet-uralsib/ something on this page should be a reference version, such as: http://artwalek.ru/projects/intranet-uralsib/1/ http://artwalek.ru/projects/intranet-uralsib/2/ etc. How do I realize this?

@walek

sorry for the slow reply: in this period I’m overloaded with work and I was not able to find the time to come back to you before today.

I had a look at your problem and I made a quick and dirty super basic prototype to show you how I would solve it. You can download the ensemble of the prototype I made here.

Keep in mind that the way I structured the sections, data sources and pages of the ensemble is just one potential solution: I’m sure there could be different and even better ones.

The ensemble has just two sections, one named “Projects” and one “Versions”, both of them have a single Text Input field named “Name”. The section “Versions” has a Select Box Link field linking to the field “Name” in the “Projects” one.

I’m sorry for not being able to give you a more detailed step-by-step explanation of how I structured the back end, but I’m really in a rush. I hope exploring the ensemble will be of a help for you in finding a solution.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details