Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 09-11-2005, 05:31 PM   #1 (permalink)
 
Super Techie

Join Date: Oct 2003

Posts: 439

Obtruse_Man4

Default Need help with PHP URLs

I just setup a site: http://www.farsideofthegalaxy.com, and I installed some blogging software on it. My problem though, is that I want to change the top url bar. As you can see I added a line in my main.php file to get the testing link, but for some reason that points to the skins directory. Also once I get the link working, I would like to be able to keep the green link bar at the top. I would think that that would be a simple include command, but I'm not a programmer, and even this is way over my head. In theory it should work, but I'm just not sure how to code it.

PHP Code:
<div id="menu">
                [url="<?php bloginfo('url'); ?>"]home[/url]
                  <?php
                user_login_link
'''' );
                
user_register_link'''' );
                
user_admin_link'''' );
                
user_profile_link'''' );
                
user_logout_link'''' );
            
?>

            [url="<?php $Blog->disp'lastcommentsurl''raw' ?>"]<?php echo T_('Last comments'?>[/url]
            [url="<?php $Blog->disp'blogstatsurl''raw' ?>"]<?php echo T_('Some viewing statistics'?>[/url]
            [url="<?php $Blog->disp'samedirfilename.html''raw' ?>"]<?php echo T_('testing'?>[/url]
        </div>
        
        <div id="header">
That's the code I changed, and as you can see I just added another line and changed the title to testing. The links seem to be variables, and I think they go out to other files as well. Would appreciate any help. Maybe it'd be easier for someone who knows php! If you need the entire main.php file, or any other file let me know and I'll gladly supply that or more info. Thanks in advance.
__________________
\"I have many layer-eight problems in my life, including myself.\"
Obtruse_Man4 is offline  
Old 09-11-2005, 09:21 PM   #2 (permalink)
 
Super Techie

Join Date: Oct 2003

Posts: 439

Obtruse_Man4

Default

Ok I fixed the url part, by taking out the php part of the code.

PHP Code:
[url="somefile.html"]<?php echo T_('testing'?>[/url]
My question now is how do I keep bringing up the green link bar at the top? I can't figure out the code from any of the pages from the links that came with the skin.
__________________
\"I have many layer-eight problems in my life, including myself.\"
Obtruse_Man4 is offline  
Old 09-11-2005, 11:13 PM   #3 (permalink)
 
Super Techie

Join Date: Oct 2003

Posts: 439

Obtruse_Man4

Default

Problem solved!
__________________
\"I have many layer-eight problems in my life, including myself.\"
Obtruse_Man4 is offline  
Old 09-12-2005, 03:27 PM   #4 (permalink)
 
Super Techie

Join Date: Oct 2003

Posts: 439

Obtruse_Man4

Default

You are good!!!
__________________
\"I have many layer-eight problems in my life, including myself.\"
Obtruse_Man4 is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On