Jump to content

Recommended Posts

Posted

Hi all,

Let's say I've got something like this:

Vehicles
•	Airplane	(vehicle-template)
•	Aircraft	(vehicle_synonym-template)
•	Bus		(vehicle-template)
•	Plane		(vehicle_synonym-template)
•	Train		(vehicle-template)

vehicle-template 
•	title (text)	 = 	Airplane

vehicle_synonym-template 
•	title (text) 	= 	Plane
•	vehicle (page)	= 	Airplane

What I want to do now; is creating a new field (type: page reference) called 'synonyms'.

I want to add this field to the vehicle-template, so that I can - when editing - immediately see all the existing synonyms for this vehicle.

That means when editing the 'Airplage' page, it's showing me a list of 2 synonyms:

  • Aircraft
  • Plane

So I chose the "select multiple", and I've been messing around with the selectors...but no success for now.

 

Can someone help me?

 

Greetings

Gert

 

Posted

There are a couple of topics kind of about this question with working solutions:

But there are other ways.

  1. Put page reference field on vehicle-template template and add synonyms from there.
  2. Create a separate category for vehicle groups and reference category pages from both vehicle-template and vehicle_synonym-template (do you really need 2 of them?)
  3. Add a RuntimeMarkup with some easy-to-write php finding and showing the pages you want to back-reference.
  • Like 1
Posted

Hej,

there is also this topic about synonyms, I put my few cents there already:
Actually I believe whatever you plan is covered there ...

also I am not entirely sure where you are stuck.

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...