Arguments not saved or passed.
keyo - April 16, 2009 - 00:31
| Project: | Viewfield |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | arguments, viewfield |
Jump to:
Description
I have two view fields on the same content type. Each viewfield has the same arguments; %nid, 'all' .
These arguments work on the first view field but will not save on the second. When I go to the configuration page for the second viewfield I created the arguments are only saved as "%nid".
This is with forced defaults on, required checked, values = 1, a single view on each viewfield.
It would be great to fix this.

#1
Hello,
I have the same problem as keyo. I am using the Viewfield version ($Id: viewfield.info,v 1.3 2009/04/07 18:42:31 darrenoh Exp $)
It seems Force default option does not work at all. No matter which way %nid or [nid] argument is used, no result is shown.
Please check and fix.
Nguyen Quoc Viet
#2
Hello,
I found out where the problem was. The module works fine for new nodes. For the existing nodes, we need to open node edit form and save them again. My problem was there. I applied viewfield for existing nodes without saving them again.
For the second viewfield on the same content type, I've tried and it works well to me too.
My current configuration for both viewfields is as follow:
- Forced defaults: on,
- Select view display name and input arguments textbox under Default value.
- Required: checked, Number of values=1,
- Allowed views: check the view that contains the display view we are using above.
- Use a common defaut value.... : checked
- Filling in both view display name and argument (at the bottom) the same values as above.
Thank you.
Viet
#3
Fixed in CVS commit 215694.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.