Jump to content

converting existing PHP site to Views - what am I doing wrong - type of question


xtian

Recommended Posts

* This view is a simple list o items with parent-category taxonomy.

+ A
|- 1
|- 2

+ B
+ C

 

* The list should sort first on the parent-category in the same order as listed on the vocabulary page (I assume this is TID)--not editable in views, but on the taxonomy page--and then by the item order.

* Within each parent-category the list of child-items is to be custom-sortable (using draggableviews). 

--------------------

 

Basic settings

 

Page settings

 

Relationships

 

Arguments

 

Fields

 

Sort criteria

 

Filters

 

 

Name: Page - Admin

 

Path: list-admin

 

None defined

 

None defined

 

Taxonomy: Term ID Term ID

 

Content: Weight asc

 

Node: Published Yes

 

 

Style: Draggable Table

 

Menu: Normal: List...

 

[/td]

 

 

Taxonomy: Term Term

 

Taxonomy: Term ID asc

 

Node: Type = Menu item

 

 

 

 

 

 

Content: Weight 9999

 

 

 

 

 

 

Node: Title Item

 

 

 

 

 

 

Node: Body Item description

 

 

 

 

 

 

Content: Price 9999

 

 

 

 

 

 

Content: Has rule 9999

 

 

 

 

 

 

DraggableViews: Parent Parent

 

 

 

 

  [td]

 

DraggableViews: Order Order

 

What I'm getting is a list of items which is not grouped by parent category (taxonomy) and is completely reorderable.

Term ID----Term----Item Weight----Item Title-----Body 
+ (40)-----List A----[menu]----------A-1------------ some text
+ (60)-----List C----[menu]----------C-1------------ some text
+ (50)-----List B----[menu]----------B-1------------ some text
+ (40)-----List A----[menu]----------A-2------------ some text

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.