<i>You want to alter the path of the "Home" link depending on the existing page?<br></i>Yes<i><br><br>What determines how this will change?<br></i>The URL of the current page will determine the contents of the "Home" link. Right now the "Home" link is hard coded within the block to go the main page (i.e. <a href="https://domainname">https://domainname</a>), but sometimes depending on the url of the current page I would like the "Home" link to go to it's associated storefront page (i.e. <a href="https://domainname/michigan/oceana-county">https://domainname/michigan/oceana-county</a>).<br>
<br>John<br><i><br></i><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style><br>
<div class="gmail_quote">On Fri, Apr 1, 2011 at 1:32 PM, Carl Wiedemann <span dir="ltr"><<a href="mailto:carl.wiedemann@gmail.com">carl.wiedemann@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Could you be more specific? You want to alter the path of the "Home" link depending on the existing page? What determines how this will change?<br>
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Apr 1, 2011 at 8:05 AM, John Mitchell <span dir="ltr"><<a href="mailto:mitchelljj98@gmail.com" target="_blank">mitchelljj98@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Within the following url "/admin/build/block" I have a region called
"Header Top" and within it I have 3 blocks assigned to it. One of the
3 blocks called "primary links" has 6 links and one of those links
called "Home" has a URL link to the main page. I would like to vary
the URL of the "Home" link depending on the current page URL. How
would I implement this programmatically? <br clear="all">
<br>Thanks,<div style="display: inline;"></div><br><font color="#888888">
-- <br>John J. Mitchell<br>
</font><br></div></div>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><br>-- <br>John J. Mitchell<br>