We're using Google Translate on our site. When we translate a page and hit a regular link to another page, it displays as translated (that's what we want), however when selecting one of our navigation links (which are javascript includes), the new page goes back to English. Does anyone have a...
I'm trying to set a date range that will return something like this: 20080101..20090101 by using the following
daterangeparm="+inmeta:DOC_DATE_NUM:" + year + "0101.." + (year+1) + "1231";
however, what is returned is: 20080101..200810101
The "1" is being added in as part of a string. How do I...
I'm going to rephrase my earlier question and hopefully make it more clear.
Now, the value of target attribute is being returned in the results as “target=”_self”. The problem is that all records have that attribute value in the link. The records containing “sirepub” in DOCUMENT_URL should...
Correction on my last message. I want the records containing 'sirepub' in the DOCUMENT_URL to have the target attribute value of "_blank". Currently, all records returned have the target value of "_self" including those containing "sirepub".
Thank you. Now at least I'm returning target="_self" however that value is returned for all records not just the ones contained "sirepub" in the DOCUMENT_URL column. I believe my problem is with the way I'm trying to evalute the value in DOCUMENT_URL.
<xsl:when test="$meta=$document_url and...
I'm trying to add a little more logic to the following template named "drawcell" specifically to the "target" attribute within <a>. If the value within the DOCUMENT_URL column row contains "sirepub", I'd like the value to be "_blank", otherwise the value should be "_self". The param...
Thank you, you've been very helpful. DOCUMENT_URL is the name of a field within a database. Below is the code with a slight modification when referencing DOCUMENT_URL. I'm still struggling with the syntax. When the DOCUMENT_URL field contains "pubtest" within the field, then the href to equal...
I'm trying to add a little more logic to the following template named "drawcell" specifically to the param "linkfield" (top section of code). If a particular field DOCUMENT_URL contains "pubtest" in the url, I'd like the value to be <xsl:value-of select="MT[@N='DOCUMENT_URL']/@V"/> rather than...
I'm attempting to put some logic into a dynamically generated page with links. For example, if a link contains 'pubtext' in the url, I want the link to open in another window (target=_blank"). All other links to open in the same window (target="_self"). I"m just not sure how to accomplish this...
I have a form w/5 fields used for a search. It is required that one of the fields (doesn't matter which one) has input. If none of the fields has input, I either want an alert box to pop up or to block the submit. I know how to do this w/specific required fields but not sure how to accomplish...
I currently have a form that when submitted writes to a flat file as well as generates an email. I need to also return a tracking number for each submittal. Does anyone have any ideas for how to accomplish this?
The following module is meant to generate the next week (day of week in one column; actual date in the next). When I execute it, the days of the week populate the cells correctly but the date is incorrect. Rather than the next week following the week listed above, it's the week prior. Any ideas...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.