Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Dynamic Navigation - Need script suggestion - PHP/Javascript
Old 11-12-2010, 06:29 AM Dynamic Navigation - Need script suggestion - PHP/Javascript
Junior Talker

Posts: 2
Name: Mr. M Jradi
Trades: 0
Hello,

I am an IT Admin for a Jewellery company.

One of the websites I manage uses .php files, there is no main CMS, the pages are mainly hand written & programmed and so are the sql databases.

I would like to make the navigation menu on the website editable - so the data is fetched from another file, so there would be no hassle in editing the navigation and not have to edit each page individually.

I have searched for such script but it always lead to a dead end.

Please help.

Thank you in advance.

Last edited by Cygopat; 11-12-2010 at 06:32 AM..
Cygopat is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-12-2010, 07:27 AM Re: Dynamic Navigation - Need script suggestion - PHP/Javascript
voha777's Avatar
Junior Talker

Posts: 3
Name: Paul K
Trades: 0
Do you need a good CMS or only navigation menu??
__________________
Information about
Please login or register to view this content. Registration is FREE
llc
and
Please login or register to view this content. Registration is FREE
voha777 is offline
Reply With Quote
View Public Profile Visit voha777's homepage!
 
Old 11-12-2010, 07:39 AM Re: Dynamic Navigation - Need script suggestion - PHP/Javascript
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
PHP Code:
<?php include("menu.php"); ?>
Include something like this where your navigation would be on all the pages.
Then you only need to make changes to the one page for it to appear on all of them.

A useful tutorial can be found here
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."

Last edited by rolda hayes; 11-12-2010 at 07:40 AM..
rolda hayes is offline
Reply With Quote
View Public Profile
 
Old 11-13-2010, 04:40 AM Re: Dynamic Navigation - Need script suggestion - PHP/Javascript
Junior Talker

Posts: 2
Name: Mr. M Jradi
Trades: 0
Quote:
Originally Posted by rolda hayes View Post
PHP Code:
<?php include("menu.php"); ?>
Include something like this where your navigation would be on all the pages.
Then you only need to make changes to the one page for it to appear on all of them.

A useful tutorial can be found here
Thank you very much, it has worked - although it only allows the include file to be in the same directory of where it outputs the php data.

It it possible to do the following:
<?php include("images/style/menu.php"); ?>
<?php include("http://images.domain.com.au/style/menu.php"); ?>


Thanks
Cygopat is offline
Reply With Quote
View Public Profile
 
Old 11-13-2010, 05:08 AM Re: Dynamic Navigation - Need script suggestion - PHP/Javascript
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 961
Name: Darren
Location: England
Trades: 0
It would make more sense to not have the include page in an your images or style folder though...?
__________________
I Just a test to see what happens...
Please login or register to view this content. Registration is FREE

"Let us be thankful for the fools. But for them the rest of us could not succeed..."
rolda hayes is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dynamic Navigation - Need script suggestion - PHP/Javascript
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33018 seconds with 12 queries