Hello and Thanks for reading!
I'm wanting to point my home page to a page outside of CMSMS.
Like this:
Home page links should all go to : http://pcs-alaska.com/cpo/index.htm
The rest of the site within CMSMS, like this page: http://pcs-alaska.com/mjustindmd/index. ... t-dr-moore
I need to keep visitors from getting to the index page within CMSMS and always return to http://pcs-alaska.com/cpo/index.htm.
I know this may seem silly but I've tried and tried to get my homepage layout to work with CMSMS but I'm to new to the project and my deadline is here.
Can someone kindly advise me on this.
Thank you,
Tim
How to change the home page link
Re: How to change the home page link
see http://forum.cmsmadesimple.org/index.ph ... 007.0.html for a tip on 'hard coding' a home page url in a menu template. note this doesn't change it for anything else (just menus), but it's a start.
however, why can't you make a new (page) template in cmsms for the layout/content of http://pcs-alaska.com/cpo/index.htm and call it your default cmsms page? you create the (home) page in cmsms and select the new 'home page' template for it, but leave its content area blank (a html comment should be sufficient for cmsms to accept the ''empty'' content area on page save); putting everything in the template for that page instead.
however, why can't you make a new (page) template in cmsms for the layout/content of http://pcs-alaska.com/cpo/index.htm and call it your default cmsms page? you create the (home) page in cmsms and select the new 'home page' template for it, but leave its content area blank (a html comment should be sufficient for cmsms to accept the ''empty'' content area on page save); putting everything in the template for that page instead.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: How to change the home page link
Hello,
Thanks for replying to my post about changing the homepage link to a page outside of the cmsms directory.
I started to follow your changes by first looking at what menu template my site is using.
Left simple navigation + 1 column
I find this as the menu reference:
{menu template='simple_navigation.tpl' collapse='1'}
So I went into the simple_navigation.tpl and made the change as refered to in your posting yesterday. By the way is there no way to edit the .tpl from within the admin side? I had to edit it directly on the server via a shell.
Here is what I did:
alias !="home"}{$node->url}{else}/http://pcs-alaska.com/cpo/{/if}"{if $node->accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $
{/if}
But no joy. Then menu links are still pointing to the index page of the cmsms install.
I'm so close to having this project finished and really appreciate your help.
If I could fix it so all homepage links (header & menu) point to my current homepage I could be done for now and start working on getting that homepage in cmsms like it should be.
Again, thanks for your posting!
Tim
Thanks for replying to my post about changing the homepage link to a page outside of the cmsms directory.
I started to follow your changes by first looking at what menu template my site is using.
Left simple navigation + 1 column
I find this as the menu reference:
{menu template='simple_navigation.tpl' collapse='1'}
So I went into the simple_navigation.tpl and made the change as refered to in your posting yesterday. By the way is there no way to edit the .tpl from within the admin side? I had to edit it directly on the server via a shell.
Here is what I did:
alias !="home"}{$node->url}{else}/http://pcs-alaska.com/cpo/{/if}"{if $node->accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $
{/if}
But no joy. Then menu links are still pointing to the index page of the cmsms install.
I'm so close to having this project finished and really appreciate your help.
If I could fix it so all homepage links (header & menu) point to my current homepage I could be done for now and start working on getting that homepage in cmsms like it should be.
Again, thanks for your posting!
Tim
Last edited by TJINAK on Sat Apr 21, 2007 3:53 pm, edited 1 time in total.
Re: How to change the home page link
Tim,
to answer your question concerning the changing of the .tpl. If you go to "Menu Manager -> File templates", you can import one of the default templates to the database, which then can be edited through the "Menu Manager -> Database templates" where a button for "Edit template" is available.
I can't answer your other question as I don't quite understand wat you try to accomplish. Do you want your CMS site to be opened and only some menu-entries in CMS to point to your old site.
Ronny
to answer your question concerning the changing of the .tpl. If you go to "Menu Manager -> File templates", you can import one of the default templates to the database, which then can be edited through the "Menu Manager -> Database templates" where a button for "Edit template" is available.
I can't answer your other question as I don't quite understand wat you try to accomplish. Do you want your CMS site to be opened and only some menu-entries in CMS to point to your old site.
Ronny
Re: How to change the home page link
Thank you for the reply.
I'm simply tring to get the header link and menu link for my homepage to point to http://pcs-alaska.com/cpo/index.htm instead of the default homepage that is setup as http://pcs-alaska.com/mjustindmd/ (which is where all my subpages should reside).
Thank you,
Tim
I'm simply tring to get the header link and menu link for my homepage to point to http://pcs-alaska.com/cpo/index.htm instead of the default homepage that is setup as http://pcs-alaska.com/mjustindmd/ (which is where all my subpages should reside).
Thank you,
Tim
Re: How to change the home page link
I resolved the issue by moving the design into cmsms, which was the correct way to go from the begining.
Here is how I did it thanks to a fellow cmsms guru.
http://forum.cmsmadesimple.org/index.ph ... 659.0.html
Thank you,
Tim
Here is how I did it thanks to a fellow cmsms guru.
http://forum.cmsmadesimple.org/index.ph ... 659.0.html
Thank you,
Tim


