[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How can I find where (or file) for chaning the text for this dropdown?

Posted on 2011-10-31
6
Medium Priority
?
242 Views
Last Modified: 2012-05-12
here, keck.usc.edu, under the dropdown menu "Patient Care", I need to update a few of the text here.  Attached is the xslt file I found closest to this dropdown but I still cannot find where to change the text for those links under this tab.  I'm no expert in XSLT either.  Appreciate any help here.  Thanks.
Drop-Down-Links.xml
0
Comment
Question by:lapucca
  • 4
  • 2
6 Comments
 
LVL 60

Accepted Solution

by:
Geert Bormans earned 2000 total points
ID: 37060961
Well,

the keck site doesn't work and I have strong reservations on the XSLT

the entry point template can only work if it is passed in some sort of XML structure
and would do the same thing with every element covered???
I assume this is only a part of a major xslt and this XSLT is imported at lower precedence
otherwise I don't see this doing something usefull,
if it would work at all

We need
- a working reference site
- more of the XSLT
- the source XML
0
 

Author Comment

by:lapucca
ID: 37065426
The site is up so please try again, http://keck.usc.edu/ 

The file you have is the main xslt I found that relates to that dropdown menu.  I can upload the pageview source code in case you still can't see the site.  
homepage.htm
0
 
LVL 60

Expert Comment

by:Geert Bormans
ID: 37065481
well, it does not tell me much
can you show me teh source XML for the dropdown?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:lapucca
ID: 37065542
0
 

Author Comment

by:lapucca
ID: 37065815
I don't see a xml source file but here is our master page that contains this menu.  Thank you.
KSOM-Master.aspx
0
 

Author Comment

by:lapucca
ID: 37066285
I think I might have found the part of code that displays the links text in TopNavigation.  However, I still don't know xslt and I still don't know where to go to change the link text.  Thank you.
<xsl:template name="RenderLink">
	<xsl:param name="Item" />
	<xsl:choose>
		<xsl:when test="$Item/@tid='{DC55E5EE-42DD-44DA-A7C4-608AE8233CB9}'">
			<sc:link select="$Item" field="Link">
				<xsl:call-template name="DisplayLinkText">
					<xsl:with-param name="Item" select="$Item" />
				</xsl:call-template>
			</sc:link>
		</xsl:when>
		<xsl:otherwise>
			<sc:link select="$Item">
				<xsl:call-template name="DisplayLinkText">
					<xsl:with-param name="Item" select="$Item" />
				</xsl:call-template>
			</sc:link>
		</xsl:otherwise>
	</xsl:choose>
</xsl:template>

<xsl:template name="DisplayLinkText">
	<xsl:param name="Item" />
	<xsl:choose>
		<xsl:when test="sc:fld('Navigation Title', $Item)">
			<xsl:value-of select="sc:fld('Navigation Title', $Item)" />
		</xsl:when>
		<xsl:when test="sc:fld('Page Title', $Item)">
			<xsl:value-of select="sc:fld('Page Title', $Item)" />
		</xsl:when>
		<xsl:otherwise>
			<xsl:value-of select="$Item/@name" />
		</xsl:otherwise>
	</xsl:choose>
</xsl:template>

</xsl:stylesheet>

Open in new window

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question