I have a custom field (field_locations) that lists 20 different locations. I would like to use this field as an argument to get a block view listing similar / related locations.
Any idea on how to build an argument?
Create a context filter for field_locations in your view. Set the filter to its default value using PHP code. In the filter's PHP code, grab and return the value of a field or taxonomy.
Source: https://habr.com/ru/post/1441026/More articles:Running msdeploy.exe from within Powershell - powershellMake It Look Like A Computer Thinking At TicTacToe - vb.netthree.js: camera changes position but doesn't show - javascriptAttach table function in query - sql-serverTerminate the Mac OSX application for a certain period of time and ask the user to update - cocoaAutoSmusher for amazon S3 for image optimization? - optimizationThe solution to this exercise - theorem-provingFlex: how to pretty print JSON.stringify? - flexUsing inspect.getmembers - pythonWhy is this program printed twice? - pythonAll Articles