Greetings from a new user. Have to say I like it.
I would like to create a page that only uses the global content--ie, to share the header and footer that I created. Also, I would like to temporally disable the pretty URLs.
Can somebody tell me if it is possible? Thanks.
I do some programming in php and mysql. Not a full time programmer though.
how to share some global block
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: how to share some global block
If you created your header and footer at "Content » Global Content Blocks"bigtiger wrote: I would like to create a page that only uses the global content--ie, to share the header and footer that I created.
and named them 'header' and 'footer' then you can just paste this in your page content:
Or, I could be misunderstanding what you want.{global_content name='header'}
{global_content name='footer'}

You can just open config.php and set all the pretty URL settings to false. Like this:bigtiger wrote: Also, I would like to temporally disable the pretty URLs.
Code: Select all
....
#Show mod_rewrite URLs in the menu? You must enable 'use_hierarchy' for this to work for modules
$config['assume_mod_rewrite'] = false;
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '/';
#If you don't use mod_rewrite, then would you like to use the built-in
#pretty url mechanism? This will not work with IIS and the {metadata} tag
#should be in all of your templates before enabling.
$config['internal_pretty_urls'] = false;
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = false;
...
Hope this helps,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
