Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
inte_rupt #1
Creating a global menu
Have an existing website that I want to set up with Contribute. There's a main
menu on the left with 10+ links (clickable images). Each page has an expanded
menu as well - lot of content.
Would like to save this menu as a separate file, define the menu area as an
editable region & just have that menu file placed there. That way where there
is a change to the menu, I only need to modify the one menu file and it will
change the site globally.
Want to do the same thing with images (header & footer) to allow for global
changes if necessary.
What's the best way to do this?
inte_rupt Guest
-
who can build macromedia global nav flash menu for me?
hello i want macromedia global nav horizontal flash menu for my site. i want excatly the same as it. i need .fla with full customization over... -
Creating a sub-menu
I'm trying to create a horizontal menu with three options. When you roll over one of the options another horizontal menu appear below with different... -
Error 80004005 when creating recordset object in ASP file, but works fine in Global.ASA
For some reason I am getting an error when trying to open a recordset on an Access database on my Win2K3 machine from my INDEX.ASP page, but the... -
[PHP] problem: creating global alias inside function
> -----Original Message----- PHP actually handles this by executing the equivalent of: $globalvariable = &$GLOBALS; -- that is, it creates a... -
Creating session variables in GLOBAL.ASA ???
Hey all In my GLOBAL.ASA file I'm trying to create a session variable for reference in the various webpages of my site.... Sub Session_OnStart... -
ThinkInk #2
Re: Creating a global menu
Create a SSI (with PHP f.i.), best in de root of the site, considering the way
Contribute is handling linking.
Call the file something like menu.inc.php, footer.inc.php, etc....
Provide your client with the url to menu.inc.php in the Bookmarks or explain
the Choose-button in Contribute to open the file menu.inc.php.
Keep the file simple (ul/li or p) .
ThinkInk Guest
-
inte_rupt #3
Re: Creating a global menu
As the site is already created from MANY html files, I'm wondering if there's a
way to do it in HTML
The menu is composed of graphics which are all in a table cell.
Is there a way to simply create this menu in a separate file and have that
file inserted into that table cell?
Inline frames would probably work, but is there a cleaner way?
inte_rupt Guest
-
ThinkInk #4
Re: Creating a global menu
Create a normal Template, but make it a PHP template (template.dwt.php) as you
normally do (make sure your provider supports php).
Cut the code of the menu from the template and past it into a new file called
menu.inc.php.
Now place this code where the menu was: <?php include("menu.inc.php"); ?>
That's all there is to it.
ThinkInk Guest
-
inte_rupt #5
Re: Creating a global menu
Awesome!
Any tricks to making these templates? The "new" file dialogue box has options
for "HTML template" and "PHP", but none for PHP template.
Can I used use one of the above & simply rename it with the filename mentioned
below?
[q]Originally posted by: ThinkInk
Create a normal Template, but make it a PHP template (template.dwt.php) as you
normally do (make sure your provider supports php).
Cut the code of the menu from the template and past it into a new file called
menu.inc.php.
Now place this code where the menu was: <?php include("menu.inc.php"); ?>
That's all there is to it.[/q]
inte_rupt Guest
-
ThinkInk #6
Re: Creating a global menu
When you use include files you need to be carefull in how you create your site
considering the links to the includes.
The include path in the template is always the same, so the page of your
website all should be at the same level (all in the root, or all in specific
folders one level deep, etc...)
ThinkInk Guest



Reply With Quote

