a term in Drupal for the precedence of items (e.g. the order of form fields).

learn more… | top users | synonyms

1
vote
0answers
16 views

“Show row weights” in views not working

All views in my drupal site lost "Show row weights" function. Everytime when clicks "Show row weights" link, its text will change to "hide row weights". But there is no weight column in view table. ...
2
votes
1answer
40 views

How to Reorder menus (not menu items)

I have the standard Main Menu, Management Menu, User Menu, etc., plus a bunch of custom menus. They are consistently shown in the same strange order (not in the order created, not alpha, not alpha by ...
1
vote
2answers
30 views

Ability to order fields for each content in a content type

I have a custom content type which is rendered by a custom tpl php. I would like to have the ability to control the order in which the fields are displayed for each contents. I can use the order of ...
1
vote
1answer
70 views

How to change the order of banners using the weight module?

I have add banners. I want to change the banners order. I have installed the Weight module. I have also added weight in content type but it does not reflect in node. So how can I change the order of ...
0
votes
1answer
49 views

How to get row weights from a form before saving? [closed]

I have form with an image upload field which saves multiple images. User can reorder and crop images in that form. Reorder using default drag option. My requirement is to create a PDF of images in ...
0
votes
2answers
46 views

How to change the “Check boxes/radio buttons” fields weight?

I have created a radio buttons field in entity form. I just want to move yes label above and No label below. How to achieve that i am not getting any option.
0
votes
1answer
32 views

Sort terms in taxonomy field by weight

I'm using a node that displays a reference field with related terms, pretty basic and it works fine, but: they're being sorted alphabetically by Drupal's default. I'm looking for a way to display ...
1
vote
1answer
29 views

Load file of content by weight

Let's suppose I have a simple content type with title, body and file fields, and file field is multi value. I create a piece of content and upload some file in my field. Finally my content is ...
1
vote
1answer
129 views

Drag and Drop Sort Custom Entities

I am looking for a simple way to sort my custom entities through a drag and drop interface and display them in the custom order in my views. The best way would probably be to add a weight basefield ...
1
vote
0answers
100 views

Alter node menu local task weight of “View” and “Edit” for a content type

I want to alter the ordering of the node tabs for a particular content type. From this: View, Edit To this: Edit, View I tried with using menu_local_tasks_alter like this: function ...
0
votes
1answer
41 views

Show weight on the content screen

Is is possible to show the weight select box on admin/content rather than having to go into the node to edit it?
0
votes
2answers
1k views

node load multiple order by

How can I order by weight using node_lode_multiple and the weight module ? <div id="photos_inner"> <?php $type = "staff"; $nodes = node_load_multiple(array(...
0
votes
2answers
1k views

drupal_add_js weight

I've written a javascript that for some reason whenever I run it, it removes any hover events. Since I am running my site with nice menus I would like to run my script as high up in the $script array ...
2
votes
1answer
106 views

How to sort nodes per domain with the Views module?

I have to display nodes in different order(weight) inside a view per domain on a multi-domain site. example: on domain1: view-beverages => 1-Coca Cola, 2-Perrier, 3-Redbull, 4-IceTea ... on ...
0
votes
2answers
46 views

Can't place context-controlled block below user picture on user profile page

I have a views block of user content that I want to display on the user profile page below a custom generated block of user information created in code via a theme function (using the $build['...
0
votes
1answer
58 views

Parent and subordinary weights and relations like in menu and taxonomy system module

It seems that there is no module in the contribution repository which simulates the behaviour like this of terms in given vocabulary or menu items in a given menu from system modules in Drupal 7. (?) ...
1
vote
0answers
88 views

How can I order the rendered output of a term reference field?

I have a simple term reference displaying on a node, the term items are weighted accordingly, but they are not rendering in order according to weight. I'm not sure where else I can check to discover ...
0
votes
1answer
436 views

How do I add tabledrag with 'weight' to admin form

I have built a fairly basic module but i'm struggling with the UX of the admin form. Essentially I need a list of items that have several values; a textfield, checkbox, select list and a button to ...
1
vote
1answer
631 views

How to sort field_info_instances return value by field weight?

I'm using field_info_instances function to retrieve all fields info under a content type. (ex: field_info_instances('node','bundle_name') ). But the return array fields are not ordered as I expected. ...
0
votes
1answer
206 views

Setting menu weight for “Edit” and “View” items in a node

I am trying to rearrange the order of my menu items for my custom node. Most of the menu items are created programmatically in hook_menu() so I can simply set the weights for those which works great. ...
2
votes
1answer
45 views

How to make weights continous with db_update?

With pure MySQL, I can do something like: SET @weight:=0; UPDATE mymodule_table SET mymodule_weight=@weight:=@weight+1 ORDER BY mymodule_weight, mymodule_id; Is there a Drupal way to achieve ...
0
votes
0answers
112 views

Dragger replaced with weight field

i have a image gallery in my website created from nodes, so 1 node is equal to 1 album, each node has all images uploaded .. it seemed to work fine, until - somehow the dragger have been replaced with ...
1
vote
1answer
71 views

How to order input fields?

For displaying a content, I can modify the fields order using display and field weights. However, in a node/add/content-type page the input fields doesn't obey the weight given to the display. How ...
1
vote
1answer
512 views

How to change order of taxonomy terms related to specific node field?

As in question. I have multivalued taxonomy field. Is this possible to control terms weight, which are belongs to specific node field? As a term weight, I mean weight inside single node. It's just a ...
4
votes
7answers
6k views

How to remove “Show row weights” option on File Upload field?

I have created a file field with multiple uploads allowed. Is there any way(except CSS) I can remove "Show row weights" link from file upload field? Or is there any way to remove weight drop down ...
3
votes
1answer
224 views

Move drag and drop handle to other side

I want to move the drag and drop handle to the other side of a form, to the same location as the row weight selections. I am talking about the tabledrag handles, as shown below: I am using ...
3
votes
1answer
3k views

Disable drag and drop/ Show row weights

The drag and drop screws up my theme when viewing it on a mobile device. Since this feature isn't necessary for my site can i completely remove these options to my users? I want to remove all drag and ...
3
votes
1answer
234 views

Complex Shipping Rule: €3 Flat Rate for order's first 2kilos + extra €1.2/extra kilo charge

Well, the title is quite descriptive about what I'm trying to do with Rules for my e-shop. I have a flat rate for shippable products and I want to charge extra shipping costs to customers according to ...
6
votes
2answers
181 views

How do I update weight using Rules?

I am creating a sampler pack of all my products. I have a product display with several node reference fields (not product reference) so that whenever a new product is added, that reference field is ...
0
votes
0answers
148 views

Using weights formatted as a form element conflicts with ajax exposed filters

I created an admin view that filters content with taxonomy (using exposed filters). Nodes are ordered with weight. When I load the block for the first time, I can change weights or drag and drop ...
2
votes
1answer
97 views

When might a module's weight in the system table not affect its hook order?

I am trying to implement hook_menu_alter in my module, but I am finding that revisioning_menu_alter is always being called after my hook, regardless of what I set my module's weight to. It seems that ...
1
vote
2answers
358 views

Limited promoted nodes with order

I was wondering what is the best way to promote nodes into a page (ie front page). Drupal comes with its own "promote to front" option and we have other ways such as using Flags modules for this ...
0
votes
2answers
66 views

Is there any way to display a taxonomy sorted by another taxonomy?

I'm working on a homepage for a student paper and I'm needing some way to display 3-4 arbitrary pieces of content from each section every week (I.e., top stories) in a panel for each section. In ...
0
votes
0answers
175 views

weight changer view doesn´t save the order applied. why?

I have a D6 site with views 3 and latest version of weight module. upon clicking the Save button ..it doesn´t apply the weights Is there any bug on the module itself? here-s my configuration..
1
vote
2answers
326 views

Views - Weight - assign different weights for different view displays

I am already guessing the answer is that it can't be done but any input on this would be much appreciated. So I have my Content Type, say... Cakes! Now, I have a view named ALL Cakes! and they are ...
3
votes
1answer
5k views

Add tabs to a view-page

What I want to achieve is rather simple but either I haven't drank enough coffee yet or Google is boycotting the wanted results :) I have a view ("the view"), of type "page" , formatted and styled ...
0
votes
1answer
580 views

Views with taxonomy weight out of the box

I have weighted tax term vocabulary: internal documents. The tax terms are education general assembly Logos bylaws miscellaneous So I created the content type internal documents with a file upload....