How do I make a Hash variable name a variable?
For MT5:
My category page template needs to create different hash variables for the category in context as well as any subcategories. So I figure to just make the hash name a variable.
It seems impossible to do this. I know how to concatenate the with the word Hash or some other unique little string, but I can't make that a name of a hash variable.
I have tried everything I can think of, including making the unique variable have a value with braces in like cat1Hash{} and then try to use that, but nothing seems to work, not Var, setVar, not SetHash not set SetVarBlock. Nothing seems to accept a variable as a hash name.
Reported on Movable Type 5
Forum Groups
Movable Type
Design, Templates, & Tags
Last Topic: Template modules by Zielun on Feb 16, 2012
Documentation
Last Topic: website entries by masoud on Oct 26, 2011
General
Last Topic: Maintenance announcement by Nick on Feb 17, 2012
Installation
Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012
Open Source
Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011
Performance
Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012
Plugins & Plugin Development
Last Topic: Analytics Reporting by michael webster on Feb 5, 2012
Pricing and Licensing
Last Topic: How do ProNet Licensees Get Current Versions of Movable Type? by Bill on Aug 28, 2011
Product Ideas
Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011
Support For Beta Tests
5.x Beta
Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011
code.sixapart.com
Action Streams
Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011
General Support
Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012
- All Forums
1 Reply
| Add a ReplyHi friend pls tell me. what is benefits to make a Hash variable name.
Thanks!
damdama lake
Add a Reply
If you need to share template code, replace all the "<" signs with "<" or use this utility.