mrsike Posted August 12, 2006 Report Share Posted August 12, 2006 Afraid I have to showcase my ignorance again. I'm trying to get a Most Wanted page--I've seen a few from other member sites, and I really like that. I've saved my historytemplate.php file and renamed it mostwanted.php. I apparently can't follow instructions, because here's what I get - messed up mostwanted page. I haven't changed the text or anything yet to my own--just trying to get it to work first--obviously to no avail.Thanks so much! :) Quote Link to comment Share on other sites More sharing options...
thewag Posted August 12, 2006 Report Share Posted August 12, 2006 I believe the history templates are ment to be used from a sub-directory (folder). So this should be an easy fix. Simply:create a new folder (since I'm unimanigative, call it NewDir)put your mostwanted.php in ittry and call if from http://ikenouyehistory.org/NewDir/mostwanted.phpif this works, you'd call it from your index page as <a href="NewDir/mostwanted.php">Most Wanted</a>Hope this helps,Ben Quote Link to comment Share on other sites More sharing options...
Rush Posted August 12, 2006 Report Share Posted August 12, 2006 I think its a little confused on were to find the genlib.php, begin.php, etc., files.If you have your mostwanted.php file in a subdirectory (outside of where all your core TNG files are at) that could be causing the problem.If all your TNG files are installed here in this directory: /home/ikenouye/public_html/ikenouyehistory/there's something really screwy.If all your TNG files are installed here:/home/ikenouye/public_html/just make sure that is where you mostwanted.php file is at.HTH Rush Quote Link to comment Share on other sites More sharing options...
Ken Roy Posted August 12, 2006 Report Share Posted August 12, 2006 Taryn,You might try changing the following statement at the beginning of your mostwanted.php created from the historytemplate.phpfrominclude( "../begin.php");if( !$cms[support] ) $cms[tngpath] = "../";to include( "begin.php");if( !$cms[support] ) $cms[tngpath] = "/";so that it knows where to find the TNG php files (begin and all other files)Good luck,Ken Quote Link to comment Share on other sites More sharing options...
mrsike Posted August 13, 2006 Author Report Share Posted August 13, 2006 Hey--wonderful! Almost there! Now, most of my topmenu.html is working on the mostwanted.php page, except the flash logo. That is located in the header.js file, which I've put ../ in front of, like everything else, but it's not showing on the mostwanted page. Any ideas?Thanks so much! Quote Link to comment Share on other sites More sharing options...
thewag Posted August 13, 2006 Report Share Posted August 13, 2006 Which of the many options above did you use? Quote Link to comment Share on other sites More sharing options...
mrsike Posted August 13, 2006 Author Report Share Posted August 13, 2006 Hi Ben,I put my mostwanted.php in a sub-directory--your suggestion seemed to be the only way I could get it to work. I left this statment frominclude( "../begin.php");if( !$cms[support] )$cms[tngpath] = "../"; in mostwanted.php in place and changed the relative links to absolute in my meta, topmenu and footer.html files. That flash logo is located in my topmenu in the header.js file. I can't figure out why it's showing on all my other pages and not this one. Here's the link to my new Most Wanted page.Thanks so much! :) Quote Link to comment Share on other sites More sharing options...
thewag Posted August 14, 2006 Report Share Posted August 14, 2006 in mostwanted.php in place and changed the relative links to absolute in my meta, topmenu and footer.html files. That flash logo is located in my topmenu in the header.js file. I can't figure out why it's showing on all my other pages and not this one. Here's the link to my new Most Wanted page.In your header.js script you have a line that reads:document.write('<PARAM NAME=movie VALUE="logo.swf">'); I think that if you replace it with document.write('<PARAM NAME=movie VALUE="/logo.swf">');it should work. Darn relative links can bea pain in the ..........Hope it works for ya. BTW, how'd you design all the cool graphics. I can code, but can design worth a flip.Ben Quote Link to comment Share on other sites More sharing options...
mrsike Posted August 15, 2006 Author Report Share Posted August 15, 2006 Boy, am I a moron. I forgot to upload the flash.txt to the same subfolder my mostwanted.php is in! DOH!The graphics? The template layout I got from AllWebCo Design, and the split tree on the home page and the one on the contact page--I just used a single graphic, then cut it in half and made two individual pics out of it. Thanks for all your help! I do feel like I wasted your time with this one--sorry about that! :( Quote Link to comment Share on other sites More sharing options...
thewag Posted August 15, 2006 Report Share Posted August 15, 2006 I do feel like I wasted your time with this one--sorry about that!ust paying forward for all the help I've gootten. And this was easy (been there before). Thanks for the links, I'll look into them.Ben Quote Link to comment 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.