Tag: variable

10 How to check variable type? 2014-07-11T10:13:28.233

9 Is it possible to compose a DateTime object from a string? 2014-06-24T10:05:31.687

8 Use loop index number in a Twig variable 2014-12-17T13:07:38.583

7 Avoid notice of variable's not being set within dev mode 2014-06-26T06:01:02.310

7 Use a Twig macro to set a variable 2015-06-09T10:00:08.180

6 Difference between using subscript syntax and "dot" syntax when accessing attributes of a variable or advantages of usage one of them 2014-06-14T17:31:11.557

6 Is it possible to use environment variables as the cache duration? 2014-06-18T17:56:04.097

5 How can I incorporate a variable into a string? 2014-06-14T21:39:40.937

5 Calling variables, dynamically 2014-07-03T01:57:22.377

5 how to concatenate multiple variables and strings 2014-11-25T18:14:25.840

5 id: 'not' with variable 2015-04-08T19:58:36.167

4 How can I make a template output its own filename? 2014-06-24T21:18:50.327

4 Best practice on how to hand over variables with links? 2014-07-10T13:27:40.480

4 How would I pass and entry's field value to an include? 2014-09-12T15:17:35.210

3 Dynamically load craft entries based on twig variable 2014-08-01T09:29:27.723

3 Setting arbitrary PHP constants in index.php 2014-11-18T09:53:31.343

3 How can I globally set variables? 2014-12-24T21:09:01.107

3 Can setRouteVariables be in Services? 2015-06-12T07:52:01.723

3 Getting environmental variable via plugin 2015-06-18T14:00:08.147

3 Can't access plugin variable in a twig template? 2015-10-12T22:56:28.807

3 Variable variables in Twig 2016-01-21T17:05:48.233

3 Does Twigs 'addGlobal' exist in Craft? 2016-08-24T10:35:30.040

3 Reusing logic to set string variables 2016-08-24T22:15:20.093

3 Specify a field dynamically using section handle 2018-03-05T19:23:31.400

2 How to create new variable from For Loop results 2014-06-26T17:40:55.550

2 Can I call methods on an object represented by a string variable? 2014-07-11T13:34:42.620

2 Setting Variable inside of Matrix 2014-09-23T16:04:56.383

2 What's the best way to degrade gracefully when using a Plugin Variable? 2014-10-08T19:33:21.070

2 Remove white space and parenthsis from global from entry variable 2014-11-12T16:25:34.590

2 How can I set a persistent template variable to use across multiple pages in one site visit? 2015-01-06T16:50:01.857

2 $craftPath multiple enviroments 2015-02-01T16:55:12.190

2 How do I reference a variable/expression inside an expression in twig templating? 2015-02-17T00:21:11.323

2 Influence Twig parse order? 2015-03-07T20:05:46.643

2 Why are variables persisting inside of my for loop? 2015-03-25T16:23:20.153

2 SET versus FIND 2015-07-13T13:17:16.427

2 Can you pass a variable with includeJsFile? 2015-07-24T20:41:52.907

2 Can I set a JS variable to a Twig output tag? 2015-08-12T20:49:41.147

2 Trying to set a dynamic twig variable using craft.request and a craft global 2015-08-13T22:22:14.270

2 Is it possible to use a loop variable to target a specific field entry? 2015-11-06T18:49:59.047

2 Spitting out the URL of the entry 2016-03-22T15:58:56.053

2 Using a variable with array of ElementIds to use in craft.entries.id 2016-05-16T14:16:47.110

2 Adding a random entry to an array 2016-07-04T12:56:50.603

2 Macros, Variables and Includes 2016-09-01T09:40:34.583

2 How to shorten 'craft.request.getUrl()' with the shortener plugin? 2016-09-21T19:32:31.460

2 Set Craft variables in the markup 2017-03-24T18:14:39.870

2 How can I dynamically set checkboxes to be named variables? 2017-08-18T12:18:47.690

2 How can I iterate through an array of field handles for an entry? 2018-03-09T01:36:19.977

1 How to check if number is prime? 2014-07-10T15:06:29.383

1 Is it possible to return a User Model Entry or userid from a successful registration form submission? 2014-09-25T22:25:39.410

1 Best way to deal with Impossible to access an attribute ("isEditable") on a NULL variable ("") 2014-10-06T12:59:13.093

1 Variable 'foo' does not exist in template 2014-12-07T13:36:59.980

1 passing the search query into html title tag 2014-12-24T11:37:31.377

1 Caching variables for use elsewhere in a template? 2015-01-06T00:27:50.610

1 Defining Variables 2015-01-21T15:38:49.680

1 Variable doesn't exist 2015-03-19T17:27:01.097

1 Can't seem to get variables set in controllers 2015-04-09T22:25:45.003

1 How to extend a variable name to fetch another? 2015-04-12T09:42:10.057

1 Unexpected output from Twig set variable 2015-05-07T12:41:34.840

1 Pass a variable array to a macro 2015-06-16T08:49:41.297

1 Variable to check if viewing an entry? 2015-07-01T15:14:02.520

1 How to pass Calendar ID to include 2015-07-28T12:53:31.343

1 Combine variables with text to make variable 2015-10-12T10:27:08.710

1 Replace placeholder string in text field with HTML generated by Asset query 2015-12-13T19:19:53.907

1 Check if includeCss set 2016-03-03T12:16:27.000

1 Filter rules as a variables 2016-03-29T14:39:13.960

1 How do I make my variable available inside an assets loop? 2016-07-13T17:55:48.663

1 Set a Variable inside a conditional 2016-07-19T17:18:35.140

1 How may I restrict uploads to a single folder with variables within a Rich Text Field? 2016-07-25T14:58:59.847

1 Reusing logic by setting different keywords to create new variables 2016-08-26T02:39:56.487

1 Reseting variable 2016-09-08T14:37:07.717

1 I'm repeatedly setting the same variables. How to reuse code block to make this DRY? 2016-10-19T21:43:31.520

1 Call a Craft variable inside array 2016-10-21T08:36:51.520

1 Pass variable into include 2016-10-24T11:04:47.940

1 Test a variable in a set entries tag 2016-10-24T20:35:28.487

1 Use variable passed via include to set value of paramenter 2016-11-13T18:22:24.950

1 Why two equal variables give false statement? 2017-01-11T19:26:46.973

1 craft()->urlManager->setRouteVariables() loads the correct template but does not pass in the variables 2017-01-30T22:13:41.143

1 Reuse chosen dropdown field value on frontend 2017-02-23T21:50:02.660

1 Trying to display post based on two variables 2017-03-16T17:47:48.950

1 Variable for User Field 2017-04-12T14:47:17.263

1 What is the proper way to set an asset's upload location using the slugs/ structure path of the entry it is selected from? 2017-05-01T14:25:35.813

1 Include Global Set Variable in Print Delimiters 2017-05-10T11:28:16.673

1 How to get Current Entry ID in Plugin Variable? 2017-05-16T08:24:30.687

1 Variable "entry" does not exist 2017-06-03T17:47:07.730

1 How can I access a template variable from an include that is loaded via ajax? 2017-11-01T19:57:38.687

1 Access the value of a named embedded url parameter from a Craft 3 Plugin or Yii module 2017-12-08T15:44:07.730

1 Passing Querystring Variable to PHP Code in Plugin 2018-01-25T17:19:10.740

0 Working with Variables 2015-04-14T06:29:04.443

0 Vanilla Forum Embedded SSO Export User Groups as Roles 2015-04-21T07:05:32.627

0 How can I access variables only declared in a template? 2015-06-25T13:30:21.367

0 Variable Not Available Outside of Loop 2015-09-02T20:45:31.847

0 Minor math in template, display result before logic in DOM 2015-12-05T22:35:47.643

0 How to update cart.lineItems while specifying HTTP cache headers? 2016-12-16T10:35:37.393

0 Variable Deposits within one Product in Craft Commmerce 2017-06-10T23:56:15.207

0 Include with -- variable does not exist error 2017-12-12T00:53:56.453