I think it’s more that you are using the same field twice, rather than two fields. Perhaps in the underlying code it’s doing a replace instead of a replaceAll?
I think using a unique identifier twice to show content is not the intended function. Why do you need to send two unique ids?
Nathan I. Keiter
|
Lead Network Applications Programmer
|
Benefits Advisory Council Member
|
I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/1defe996-6a36-40fb-b68a-d6be1010adc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6b9764cd-c8e8-43f1-93a3-a58a3bc4f529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Perhaps a bug then… what version you are on would probably be helpful to someone who can help.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6b9764cd-c8e8-43f1-93a3-a58a3bc4f529%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6b9764cd-c8e8-43f1-93a3-a58a3bc4f529%40googlegroups.com.
/application/vtl/custom-fields/url-title.vtl
Jason: you could check the default media type "news" from the dotcms starter page. I have not made any changes to it, and it seems as the byline was indeed indexed, however ... not sure I want to say this, I am currently using version 4.3 nightly build ;-D
(maybe I should have tested this on a released version instead before asking in the forum.)--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To post to this group, send email to dot...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/d8d38b7b-3d65-483d-8ed6-e4fa650c75c7%40googlegroups.com.
#dotParse('/application/vtl/custom-fields/url-title.vtl')
for(i=0;i<matches.length;i++){ var val = dojo.byId(matches[0]).value; console.log(matches[0]); console.log(val); urlMap =urlMap.replace("{"+matches[0]+"}", val);}