You are viewing limited content. For full access, please sign in.

Question

Question

Weblink Home URL

asked on August 8, 2018

I found this post here but it is from back in 2015 and Weblink 9 and 10 must be different.

https://answers.laserfiche.com/questions/72499/Weblink-redirecting-Home-button#78911

Looking for a way to simply have the Home button in Weblink to go to a different URL.  When I inspect the button I see this:

I did find in Browse9.aspx the following line:

 <div class="TopBar">
                <a href="<%= GetHomePageUrl() %>" title="<%= m_strings.GetString("STR_HOME") %>">
                    <img style="Z-INDEX: 102;" alt="Laserfiche Public Portal" title="<%= m_strings.GetString("STR_HOME") %>" src="<%= m_customizationHelper.GetMainLogoSrc() %>" />

I have tried to modify it as such:

 <div class="TopBar">
                <a href="http://www.google.com" title="<%= m_strings.GetString("STR_HOME") %>">
                    <img style="Z-INDEX: 102;" alt="Laserfiche Public Portal" title="<%= m_strings.GetString("STR_HOME") %>" src="<%= m_customizationHelper.GetMainLogoSrc() %>" />

That did not seem to do it.  Anyone know how to make this change?  I have been looking for the value of GetHomePageURL() as well but not sure where to look.

Thanks,

Chris

0 0

Replies

replied on August 8, 2018

The "<%=" syntax means that is calling a function in the code-behind page, which is why you're not seeing it.  The page you are editing is Browse9.aspx, is that the page you are viewing in the browser?  Or are you visiting Browse.aspx?

0 0
replied on August 9, 2018

Should just be normal browse.aspx.  I was just looking through the various files trying to find something.  

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.