I want to use frames form my site. The layout is shown in the attached image
I already made templates for the navigation and the content frame.
My problem is: where can I find the php code that prints the menu, so I can add the text: target="ContentView" to the reference tag.
I'm a php novice, so place show me how to make the alteration too.
[attachment deleted by admin]
Using frames
Re: Using frames
the easy way, and requires no digging into any php or the menu manager, would be to specify a base target in the page that loads up the menu. see http://www.w3.org/TR/REC-html40/present ... l#h-16.3.1
otherwise, the menu manager is probably where you need to be looking.
otherwise, the menu manager is probably where you need to be looking.
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: Using frames
Sorry to say so, but cmsms may not be the best program for you to use. Maybe you can use frames with cms, but it will not be without hardship. Basically that is because a frames based site and a content management system try to solve the same problem (and a cms does a lot more, but that is besides my point).
Both try to separate the content, from the navigation and layout. With frames your have only one menu to edit instead of one on every page, with cmsms you add the menu code to the template and let cmsms generate it on the fly. Combining the two will not lead to better results, because the menu is intended to be refreshed with every page (for things like callapsing submenus etc). The extra work you have to spend to make cmsms do what you want is much better spent learning new skill and create your site in one (frameless) page, preferably with clean html+css.
And the direct answer to your question: if you have version 0.12 installed, you can find the menumanager under 'layout'. There you can view and edit various templates for your menu. These templates are written in smarty. Smarty is a templating system/language that is a bit simpler than full blown php (which is pretty simple by itself already).
Which template is used depends on the parameter you give it in the {cms_module module='menumanager' template='Test Template'} tag. Read the help for the menumanager module for more information.
Both try to separate the content, from the navigation and layout. With frames your have only one menu to edit instead of one on every page, with cmsms you add the menu code to the template and let cmsms generate it on the fly. Combining the two will not lead to better results, because the menu is intended to be refreshed with every page (for things like callapsing submenus etc). The extra work you have to spend to make cmsms do what you want is much better spent learning new skill and create your site in one (frameless) page, preferably with clean html+css.
And the direct answer to your question: if you have version 0.12 installed, you can find the menumanager under 'layout'. There you can view and edit various templates for your menu. These templates are written in smarty. Smarty is a templating system/language that is a bit simpler than full blown php (which is pretty simple by itself already).
Which template is used depends on the parameter you give it in the {cms_module module='menumanager' template='Test Template'} tag. Read the help for the menumanager module for more information.
Re: Using frames
while it's probably technically possible to use frames with cmsms, i wouldn't suggest using frames with it, or any site. frames are yucky. they mess up browser history, are hard to bookmark, even harder to print via a browser's print command, etc, etc.....
primarily, look at using different templates for different areas or pages within the site, and using html blobs to insert the same content on multiple pages.
you can also create a layout that mimics frames with css, refer to:
http://www.456bereastreet.com/lab/cssframes/
http://www.cssplay.co.uk/menu/framed.html
http://www.google.com/search?q=css+frames
primarily, look at using different templates for different areas or pages within the site, and using html blobs to insert the same content on multiple pages.
you can also create a layout that mimics frames with css, refer to:
http://www.456bereastreet.com/lab/cssframes/
http://www.cssplay.co.uk/menu/framed.html
http://www.google.com/search?q=css+frames
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
The solution I wend for
Thanks everybody for their replays.
I have experimented today with frames and tested the suggested methods.
I have decided to go for a compromise. I will delete the header and the footer in the template an place the content managed site is the combined sections of navigation and content. This way the company logo stays visible when the visitor scrolls trough the articles.
What i would have to give up is keeping the navigation visible. The navigation will now disappear when the visitor scrolls trough the articles, so he/she will have to scroll back up to navigate further.
I have experimented today with frames and tested the suggested methods.
I have decided to go for a compromise. I will delete the header and the footer in the template an place the content managed site is the combined sections of navigation and content. This way the company logo stays visible when the visitor scrolls trough the articles.
What i would have to give up is keeping the navigation visible. The navigation will now disappear when the visitor scrolls trough the articles, so he/she will have to scroll back up to navigate further.