Search

If I'm not mistaken the Reference Link has the values saved in the DOM, so the autocomplete isn't actually posting to anything, it's just filtering the values in the DOM (which is limited to the 'Show x most recent' setting)

The problem is that I cannot select a Relation which is self-referencing.

Referencing the same entry, or within the same section?

Referencing the same section.

With the core Selectbox Link Field, I am able to filter the main navigation pages, which have no parent, by testing for a NULL value. Datasource filtering: check for empty fields

sql: NULL

I tried replacing the Selectbox Link Field with a Subsection Manager field, which worked well until I wanted to filter the field by NULL. Because it seems to filter only on comma separated field IDs, I can't seem to be able to filter out only the main navigation pages.

If it really is then maybe we should borrow some of the code for the SSM. I have crashed my browser a few times because it is really, really slow..

That should no longer happen in the tabs branch.

@bauhouse

Is there any chance that this field could allow self-referential relationships?

Of course. But it's kind of strange. I'll create a separate branch and you should give it a try.

Hello,

I have one selectbox with Item1 and Item2 If a user chooses Item1 then the second selectbox schould display item 1.1 and 1.2. If a user chooses Item2 then the second selectbox should display item 2.1 and Item 2.2

What's the best way of achieve this with this extension.

Roelof

I suggest you read the README and give it a try.

I read it but it's talking about 3 boxes and I need 2. Or is countries no box and I misunderstood the readme.

Roelof

Countries is a section. It's all working like a selectbox link field.
See also here: http://getsymphony.com/learn/concepts/view/field-types/

Oke,

So it's now like this :

Page : Blog Which contains a DS with : selectbox named Category.

Must now be :

Page : Blog Section : Categories (which I will pull all he categories like Zwangerschap) Section : Category ( will have the contents of Categories so I can choose) Section : Subcategory.( will have the contents of levensjaar x which depends on the choice of Category)

Do I understand this right ?

Roelof

@roelof, I've had a read of the readme and I would say you have the correct understanding.

Hello,

This is working I think. I have made the sections Category, Categorie and Subcategory. But now I wonder how I can use it when I want to use it on my Blog section so the user can choose.

Roelof

Can you show us how the sections look like? Print screen, write some text ... I need to see Category, Categorie, Subcategory and Blog sections.

Section Category:

textinput.

Section Categorie :

textinput

Select Box link Combo : Parent :Empty Values : Category Relation : Empty

Subcategorie :

Textinput

Select box link Combo : Parent : Empty Values : Categories Relation : Empty

Blog :

Text input Date Field Text area

Roelof

Ok, good. Please post the names of the fields as well:

Section Category
textinput : Title(or whatever)

Section Category. Textinput : Categories

Section : Categorie Textinput : Categorie2

Selectbox : Label : Categorie Values : Category

Section Subcategory Textinput : Subcategorie

Select Box Combo Link: Label : Subcategorie2 Parent : Subcategorie2 Values : Categories Relation : Categorie

Roelof

Ok, first thing: what are you trying to achieve? I understood from a previous post that you have:

List 1:
- item 1
- item 2
- item 3

and

List 2:
- item 1.1
- item 1.2
- item 1.3
- item 2.1
- item 2.2

and you want to chain the selectoboxes so when someone selects item 1 in List 1, only item 1.1, item 1.2 and item 1.3 in List 2 will be available?

SBL = Select Box Link
SBLC = Select Box Link Combo

You need this:

List 1 will be Section Categories
1. Text input
- name : Title

List 2 will be Section Subcategories
1. Text input
- name : Title
2. Select Box Link (SBL#1)
- name : Categorie
- values : Categories->Title

Section Blogs
1. Text input
- name : Title
2. Select Box Link (SBL#2) :
- name : Categorie
- values : Categories->Title
SAVE the Section first. Next field needs SBL#2's ID from Database.
3. Select Box Link Combo (SBLC#1)
- name : Subcategory
- parent : Blogs->Categorie (SBL#2)
- values : Subcategories->Title
- relation : Subcategories->Categorie (SBL#1)

Hello,

Something is not right here. When I do to this page : http://symphony-2.tamarawobben.nl/symphony/publish/subcategorie/ I see a error.

As far as I know I did all the steps exactly as you said.

Roelof

I can't see the error because I'm not logged in.

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