Navigation

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
halkiede

Navigation

Post by halkiede »

hi
i have created a few websites with which mainly have a flash header with the navigation inside the flash movie. I haven't used any content management systems before and this is the first one i have installed. Can i still do it this way. Do i have to use the menu module included.  How would i link the flash buttons to all the pages on my site.
Thanks if someone can help me or point me to some info on using flash in this way with a cms

Rob
TimothyFoo
Forum Members
Forum Members
Posts: 44
Joined: Wed Oct 12, 2005 8:50 pm

Re: Navigation

Post by TimothyFoo »

Sure, you can use a Flash movie for your navigation links, but they won't be dynamically generated by the CMS (you'll have to hard code them into the movie), unless you modify the CMS's menu manager to write to an XML file (it might already, I haven't really looked at it) and then use that to feed your Flash movie. Also, you will find that you may not find it easy to get good google rankings as google may not follow your links to index all pages on the site (apparently goggle has gotten better at reading Flash content, but I'm not convinced).

In your config.php file make the following settings:

Code: Select all

$config['internal_pretty_urls'] = true;

$config['use_hierarchy'] = true;
Now if you have a page called "foo" you want to link to, you would attach the following action script to your button:

Code: Select all

on (release){
     getURL ("index.php/foo");
}
To link to the home page you would just use:

Code: Select all

on (release){
     getURL ("index.php");
}
Locked

Return to “CMSMS Core”