-
☆ A M B ☆
- 24,524 Posts
If you use [*TVName*], then it will use that TV from the page the Ditto snippet call is on. If you want the TV from the page Ditto is making a listing from you must use the Ditto placeholders [+TVName+]. This applies to all document variables as well as template variables.
When Ditto runs, it gathers an array of documents to make its list from. The tpl you specify is applied to each document in the array, one at a time, and the placeholders replaced with the values for the document Ditto is processing. For example, [+id+] is replaced with the ID of the document Ditto is processing. But [*id*] refers to the ID of the document the Ditto snippet call is on.
-
☆ A M B ☆
- 300 Posts
IT DOES REPEAT!!!!!!
***angels sing ****
http://redtoadmedia.net/tylerSITE/build2/
wow.
now how do I include that field in the front end form that right now is NewsPublisher? thats what I was tryingto do was figure out how to code that custom form... I do not -have - to have the front end I guess but I think it might be best as this is worked on by committee.
OMG you all rock. Thank you so much for the explanation.
***sheepish muttering **** I’ve got changes to make on my other site now that I know how to use this... argh.
-
☆ A M B ☆
- 300 Posts
hrm. okay, so on the actual post page the TV’s should look like this:
[*foo*] and on the other pages calling this page and listing it then they will look like this [+foo+]
-
☆ A M B ☆
- 24,524 Posts
In your Ditto tpl chunk it should look like [+...+]. The placeholder tags only apply in the Ditto tpl chunk.
-
☆ A M B ☆
- 300 Posts
okay, I’m going to table the front-end posting for now and work on the tags.
-
☆ A M B ☆
- 300 Posts
okay, thank you kp and Matt, huge help, both replies.
I’m torn right now, will look at the NewsEditor thing but it might not be worth it to make a front end form post. I feel two ways about it. I am leaning towards tossing the whole front end post page in lieu of a special user group to edit in the manager. Mostly because I’m tired of dealing with it and don’t think it is worth it to try to reinvent the wheel.
My tagging issue still isn’t resolved, if I can resolve it then I’ll be in a much better mood, going to go reinstall TV TagCloud.