Jump to content

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


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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.