Index

  1. Home
  2. Docs
  3. Index
  4. Data Publisher
  5. Master detail publication

Master detail publication

It is possible to combine two publications to create a master|detail page. This gives you more flexibility for both, the master and the detail publication.

The master publication shows the table with a dynamic hyperlink to the detail page. When the users clicks on the dynamic hyperlink the bike id is used to show the detail publication.

Demo

BrandBrand TypeColorShow Bike Details
BrandBrand TypeColorShow Bike Details

Master publication

Show only the most important columns and add a dynamic hyperlink to the detail publication. Dynamic hyperlink used for this publication:

https://wpdataaccess.com/data-publisher-detail-page-demo-detail/?wpda_search_column_bike_id=$$bike_id$$

Detail publication

Make sure you select only one row in your dynamic hyperlink! And set the following options in your publication:

Number Of Columns = 1

Type = Expanded

Show Icon = No

Allow ordering? = Disabled

Table options (advanced) =

{
	"dom": "t",
	"pageLength": 1,
	"initComplete" :"function (oSettings){jQuery('#' + oSettings.sTableId + ' tbody').off();}"
}

Credits

The idea to combine two separate publications into one master|detail publication came from Charles Godwin. Charles is also the author of the alternative WP Data Access search algorithm extension.

Thank you Charles!

Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *

6 + seven =