• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

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

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
lapucca
Asked:
lapucca
  • 4
  • 2
1 Solution
 
Geert BormansInformation ArchitectCommented:
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
 
lapuccaAuthor Commented:
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
 
Geert BormansInformation ArchitectCommented:
well, it does not tell me much
can you show me teh source XML for the dropdown?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
lapuccaAuthor Commented:
0
 
lapuccaAuthor Commented:
I don't see a xml source file but here is our master page that contains this menu.  Thank you.
KSOM-Master.aspx
0
 
lapuccaAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now