Jump to content

Recommended Posts

ok, i'm pasting the first lines of the code for a menu. i don't know how it's being generated, because i can read the code for the menu on every page of the site, but dreamweaver doesn't allow me to modify it. i looked for a menu.php on the server or something similar and there is nothing. any ideas, please?

td background="../assets/images/container-bkgd.gif"><table width="880" border="0" align="center" cellpadding="0" cellspacing="0">

            <tr>

                <td width="840" height="25" bgcolor="#4C7AAB"><div id="cssMenu1" class="horizontal">

                  <ul class="modern_blue">

                    <li> <a href="../index.php">About</a>

                        <ul>

                          <li> <a href="../about/aims.php">Aims & Objectives</a> </li>

                          <li> <a href="../about/history.php">History</a> </li>

                          <li> <a href="../about/staff.php">Staff</a> </li>

                          <li> <a href="../about/interns.php">Interns</a> </li>

Link to comment
https://forums.phpfreaks.com/topic/153362-generating-menus/
Share on other sites

Erm.. Yeah.. thats static html..

i don't know how it's being generated, because i can read the code for the menu on every page of the site, but dreamweaver doesn't allow me to modify it.

 

So you didn't write it.. and when you say you can read the code i assume you mean the HTML code and what makes you think its PHP.. as far as any of are aware this could be written directly from DM.. thus its technially static until DM updates the static HTML with new HTML!

Link to comment
https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805938
Share on other sites

sure, I didn't write it. they handed out this problem to me and I'm still trying to figure out how the site works. what made me think this is PHP? all the pages of the site are PHP files, index.php, programme.php, oceans.php

if it is static HTML, why can't I make any changes to the code for the menu? I can modify the code for other parts of the page.

Link to comment
https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805949
Share on other sites

sure, I didn't write it. they handed out this problem to me and I'm still trying to figure out how the site works. what made me think this is PHP? all the pages of the site are PHP files, index.php, programme.php, oceans.php

 

if i have images on my site.. and php script this does not mean the php script are either creating the images nor uploading them..

 

if it is static HTML, why can't I make any changes to the code for the menu? I can modify the code for other parts of the page.

Because their is no code.. your need to write it.. which means you need to know how the system works with the pages (if at all) we have zero info on that!

 

 

if you can do a Regular expression search in all files (i think DM can) then try searching for this

<li>\s*<a href=

(turn on Regular expression in the search box)

it may helps file the files that handles the menu

 

or debug from the index file!

check the database to see if any tables have page names etc

Link to comment
https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805966
Share on other sites

tried the search with no luck. regarding the rest of the things you wrote, in dreamweaver I only have access to the www folder, I wouldn't know where to look for the database. the code is there and I am trying to do exactly what you said: "you need to know how the system works with the pages (if at all) and we have zero info on that!"

Link to comment
https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-806021
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.