larissahn Posted April 9, 2009 Share Posted April 9, 2009 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> Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/ Share on other sites More sharing options...
PHP Monkeh Posted April 9, 2009 Share Posted April 9, 2009 Honestly there's nothing we can do to help you here. What you've given us is just some plain HTML, we can't figure out from that how it's generated (or even if it is generated and not just static). Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805737 Share on other sites More sharing options...
larissahn Posted April 9, 2009 Author Share Posted April 9, 2009 the problem is that i can't paste the whole code for the page, 'cause it's against the rules. Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805835 Share on other sites More sharing options...
larissahn Posted April 9, 2009 Author Share Posted April 9, 2009 if anyone has time to go over the code of one of the pages of the site, I'd really appreciate it. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805933 Share on other sites More sharing options...
MadTechie Posted April 9, 2009 Share Posted April 9, 2009 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! Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805938 Share on other sites More sharing options...
larissahn Posted April 9, 2009 Author Share Posted April 9, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805949 Share on other sites More sharing options...
MadTechie Posted April 9, 2009 Share Posted April 9, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-805966 Share on other sites More sharing options...
larissahn Posted April 10, 2009 Author Share Posted April 10, 2009 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!" Quote Link to comment https://forums.phpfreaks.com/topic/153362-generating-menus/#findComment-806021 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.