if (do_name() != 'Home') : ?>
endif ?>
Posted by Lucas on Dec 18, 2009
Hello Jimmy,
Of course that works:
toggle expression first in the text field of the textpath node.
type:
stamp("CNUM",1) et voila! The "1" is in there in case there would not be any copy stamping so it has a default value and does not crash. The CNUM starts at zero.
You can even type stamp("CNUM",1) + 1 to have the numbers start at 1.
Posted by Jimmy Gunawan on Dec 18, 2009
include("util/comment.php"); ?>
Hi Lucas,
Wow! This actually does work (I found this works when I plug the text into node that has "Copy Stamping" and checked on, such as Place node.
Silly me, my thinking was way too complicated.
Thanks for this tips, I'll add it into my nodebox wave. Great tips.
Stamping String
Posted by Jimmy Gunawan on Dec 18, 2009Dear Team NodeBox,
Previously, I asked about randomizing string and choice() string, which actually leads to previous question I had in mind. I am actually curious if Copy Stamping can stamp String information as well?
So far, from tutorial I am guessing:
1. CNUM = is copy number (0, 1, 2, 3, 4, 5, ...), which relates to each copy or points.
2. Random = is good to randomize the stamping
The simplest network:
TEXT --> COPY (with stamping on)
Is it possible to result in TEXT copies that spilt out 0, 1, 2, 3, 4, 5... as text if I plug CNUM (that's the idea).
So far, it always complaints that the value is not String and gave error. I tried :(string) CNUM" and it did not work.
Is there a better way or is this actually the right way and I just missed something?
Cheers :)