TAV1702 Posted October 22, 2009 Report Share Posted October 22, 2009 Just upgraded to Beta a little bit ago and When I click on the links uptop under the Pilot avatar in the header section ( File Pirep View My Bids View Pilot Center ), it is not going to the directory of my phpVMS install. It shows in the code <a href="<?php SITE_URL?>/index.php/pireps/new">File a New PIREP</a> | <a href="<?php SITE_URL?>/index.php/schedules/bids">View My Bids</a> | <a href="<?php SITE_URL?>/index.php/profile/">View Pilot Center</a> Now I searched that against core_navigation and the code is the same for links. It works in nav and all other links, but not in the header. By clicking these links it takes me to the root of my domain wich is a totally different website than my phpVMS install. So in other words, my install is in a directory all of its own. When I click on file a new Pirep, it goes to http://paranormalinsights.com/index.php/pireps/new instead of going to http://paranormalinsights.com/phpVMS/index.php/profile Any ideas? i do like the new look of Crystal though Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 22, 2009 Author Report Share Posted October 22, 2009 Figured it out. Duhhh! Can't believe I missed this on my first look. Code is currently as posted in my first post. it should actually be <a href="<?php echo SITE_URL?>/index.php/pireps/new">File a New PIREP</a> | <a href="<?php echo SITE_URL?>/index.php/schedules/bids">View My Bids</a> | <a href="<?php echo SITE_URL?>/index.php/profile/">View Pilot Center</a> You forgot the echo in the links ;D Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 22, 2009 Administrators Report Share Posted October 22, 2009 Woopsies... fixed Thanks Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 22, 2009 Administrators Report Share Posted October 22, 2009 There's a new ulitiy function to return the proper path: url(); So: <a href="<?php echo url('/pireps/new');?>">File a New PIREP</a> Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 22, 2009 Author Report Share Posted October 22, 2009 Not a problem. Glad I found it. Have to use the default theme until I can get one made for me. I'm not so good at graphics so default for me will have to do for now, So I figured out the fix 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.