Well, you can certainly use some types of variables as tag parameters (path.php globals, dynamically assigned variables, PHP on Input, plugins, etc.), so yes, it’s possible. Have you tried any of those options? Where and how do you anticipate this variable to be defined?
Hey Derek, how are you?
Well, at this point I’ve not attempted to apply any type of solution. Just sort of thinking out-load. The reason for thinking about this is that I’m providing users to this site the ability to contribute to the organizations calendar via an SAEF. To limit access to this feature I’m requiring users to login to this site. All fairly standard stuff. What complicates this is that my current login form is contained in a hidden div and accessed via an ajaxy sort of process that emulates the lightbox effect. Providing a second login form but maintaining the same login process for consistency sake would either, necessitate the addition of a second hidden div that contains a second hidden login form whose return path is this only thing that differs from the first form, or use of a variable. I’m not too sure the first option seems that efficient which is why I’m looking at the variable option.
More specifically, this variable would be called onclick of my addEvent link which is where I call my show function to expose the login form. Just not sure how I’d pass the variable to the EE tag.
The other concern I would have is that I don’t want to destroy the current (default/designed) return functionality just to accommodate this one situation. I think I could avoid doing this with a simple conditional testing for the presence of a global variable.
I hope this all makes sense.