53,950 questions
1
vote
2
answers
32
views
I am looking for how to pull the Post ID from a currently active page in Wordpress using Shortcode to apply in a dynamic filter
I am using Shortcode in Wordpress also using Ninja Tables. The code is pulling from a Google Spreadsheet managed by a non-developer admin person. Generally easy. I am looking to embed this in a ...
0
votes
0
answers
19
views
Make.com not pulling value from previous module (returning empty)
I am pulling a checkout session from Stripe, where I have a custom field (dropdown) for language.
The Watch and HTTP modules retrieve and return the correct value, but I cannot use it anywhere in the ...
1
vote
2
answers
29
views
How can I serve different html files depending on value of upstream header with nginx
I'm struggling to configure (or actually even understand if it is at all possible) nginx for the following task:
Upstream server returns a custom header VERSION with one of the following values: ver1, ...
2
votes
1
answer
69
views
How do I fix a Powershell problem with button selection?
I used ChatGPT to generate the code to understand how to do it myself, and it mostly works. The script is to check my TV & Movie folders for missing files to make Plex work better (folder.jpg, ...
-2
votes
2
answers
104
views
Is it possible to create parameter using class constructor(C++)? [closed]
We know that we can initialize defined parameters in class constructor. But i want to create an parameter in it.
Like this:
class Database{
public:
Database(int tableCount = 100){
/* Here should ...
0
votes
2
answers
129
views
How can I change my variable my_color if the function on_button_click is triggered
Im couple of days into python and I cant find the propper solution for my problem.
I read global variable is not the best choice so I want to figure out the propper way.
I want to change the variable ...
9
votes
2
answers
319
views
Are variables formally a compile-time concept?
Note that this is a language-lawyer question. I know the common meaning of "variable", but I'm trying to understand what exactly the standard calls "variables". I'm writing some ...
0
votes
1
answer
30
views
Increasing a Batch Routine Number by Timestamp in SAS
I have a routine in SAS that runs intraday, periodically updating data in table A. I would like to identify the batch of data by the timestamp column and increment it with each data update throughout ...
0
votes
0
answers
35
views
How to make a Content-type text/css PHP file cachable and easily force-reloadable? [duplicate]
Let's say, in style.css, I need to append a query string ?version=2 after the url of a background image for force-reloading:
background-image: url(sprite.svg?version=2#icon-pencil);
Because the ...
0
votes
0
answers
17
views
Do Shopware 6 scss variables from the plugin config to be defined with a "sass"-Prefix?
I have some troubles with this part of the shopware 6 documentation:
https://developer.shopware.com/docs/guides/plugins/plugins/storefront/add-scss-variables.html
I did everything like explained and ...
-1
votes
1
answer
52
views
mysql select and set variable in one query
I have 2 tables:
comments_table
id int(11) unsigned NOT NULL AUTO_INCREMENT,
media_id int(11) unsigned DEFAULT NULL,
user_id int(11) unsigned DEFAULT NULL,//user who commented
title varchar(300) ...
-3
votes
1
answer
84
views
Do Google Docs variables support transformations?
Google Docs supports variables. When a variable is a used in a document, then its value will be inlined where the variable appears.
Is it possible to define transformations on variables, to be applied ...
-1
votes
1
answer
66
views
Using variable from one JavaScript code in a piece of jQuery code
I have an autofade button attached to each instance of my audio tracks:
<input type="button" id="autofadebtn<?php echo $track;?>" value="Fade Out"
onclick=&...
0
votes
0
answers
60
views
How can I access variables passed with res.render EJS (from NodeJS) in my script.js File
I am trying to access my header variables sent from NodeJS in my script.js file.
I can successfully pass the variables into my EJS templates and use them there; however, I can find a way to access the ...
1
vote
2
answers
46
views
Laravel error whit undefinde variables pass to view
im new to laravel and im getting an error Undefined variable $columnCounts passed to view.
i have a index() method that call 2 other method of the same NumberController, columnCount() and rowCount() ...