Page 1 of 1

[Solved] Where is the url to the link in the cmsms header located?

Posted: Wed Sep 03, 2008 7:46 pm
by millergroup
With using the default template there is a java script link pointing to the cms home page of my site. How to I change this link to point some where else? This link is embedded in the cms header. (Home page, shortcut key=1)
Template is Left simple navigation + 1 column (Default)
At the top of each page (header) there is a link embedded in the header pointing to http://ambriaz.com/cms/cms. I want to change that link to my gateway page http://ambriaz.com/index.html. Which is my true home page. A mouse over of the header reveals an alt text:Home page, shortcut key=1.

Where is this link in the template or style sheet or files...... so that I can change it? Thanks

I just found this in another part of the forum. Does anyone recognize this piece of code?

Code: Select all

..  the other is to right click the page in your browser and view source.

This  ...
...  class="right49">
<p><a href="http://pages.sparcc.org:16080/test/index.php/home# ...
... " title="Home Page, shortcut key=1">^ Top</a></p>
 ...
... ">
<p> <br />
Next page: <a href="http://pages.sparcc.org:16080/ ...
...  three ways to style these sections.

1) .right49 or .left49 {your styling here} ...
...  it would be Content Types and not Next page:.

So in conclusion I would say number  

Re: Where is the url to the link in the cmsms header located?

Posted: Thu Sep 04, 2008 2:19 pm
by millergroup
Hey this is easy for someone. Can a fella get some help here?

Re: Where is the url to the link in the cmsms header located?

Posted: Thu Sep 04, 2008 2:39 pm
by scooper
That template makes use of the {cms_selflink} tag which will point to the default page of your cms installation.

If you take a look in the template ( Layout -> Templates ->  Left simple navigation + 1 column ) and find the line in the header that has the self link tag in:

   

Code: Select all

  <h1>{cms_selflink dir="start" text="$sitename"}</h1> 
then you can change it to point to your current top level page or hell, wherever you want it to:

   

Code: Select all

 <h1><a href="http://ambriaz.com/index.html" title="Home Page, shortcut key=1">Ambri Industries/Remodeling Contractors</a></h1>
s.

Re: Where is the url to the link in the cmsms header located?

Posted: Thu Sep 04, 2008 2:52 pm
by millergroup
Thanks scooper! You even wrote the code for me. Works ;D