Hate to ask but...

scathewscathew Registered Users Posts: 13 Big grins
To start I'm:

http://pics.boinkphoto.com
(aka http://boinkphoto.smugmug.com)

I've gotten most of what I want figured out thanks to the great docs and posts here, however what I'd like to do is add some more links on my "navbar".

Now, I don't want to replace the default "smugmug" theme navbar, I like it, I just want to add more links to it (in particular, one going to my "/galleries").

Is there a simple way to inject an additional link into the current template?

Related questions:
  • Can I do the same in the mini-footer?
  • Can I make it so the cart doesn't show in the navbar on the homepage?
  • Can I make my footer be after the mini-footer (no problem with the full footer but...).
Thanks muchly in advance!

Comments

  • scathewscathew Registered Users Posts: 13 Big grins
    edited December 8, 2008
    Sorry - moving...
    Sorry, probably wrong forum - moving here:

    http://www.dgrin.com/showthread.php?p=982451#post982451
  • jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited December 10, 2008
    scathew wrote:
    To start I'm:

    http://pics.boinkphoto.com
    (aka http://boinkphoto.smugmug.com)

    I've gotten most of what I want figured out thanks to the great docs and posts here, however what I'd like to do is add some more links on my "navbar".

    Now, I don't want to replace the default "smugmug" theme navbar, I like it, I just want to add more links to it (in particular, one going to my "/galleries").

    Is there a simple way to inject an additional link into the current template?

    Related questions:
    • Can I do the same in the mini-footer?
    • Can I make it so the cart doesn't show in the navbar on the homepage?
    • Can I make my footer be after the mini-footer (no problem with the full footer but...).
    Thanks muchly in advance!

    The only way to inject things into the existing page structure (other than places made for customization like albumTitles or captions) is by using javascript programming to dynamically add, modify or delete objects in the page. There is no template which you can just edit.

    In this case because it's in the header area, another option is to copy the HTML from the Smugmug header, paste it into your own header (thus causing Smugmug's to no longer display) and then edit it to your own liking. Now it's all your header that you can edit however you want.

    The mini-footer is not something you can get rid of so there, you'd just have to either add something to your own footer above it or use javascript code to modify the existing one.

    You can use CSS to hide the cart icon on any page you want. If you are using the method described above of making a copy of the mini Smugmug header and putting it in your own header, then you can just delete the cart from it.

    I don't know of any easy way to make your footer be after the mini-footer. You can probably play tricks with CSS relative positioning to get it to show that way, but you will have to watch out for the end of the page and for compatibility across all browsers when doing funky positioning things.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • scathewscathew Registered Users Posts: 13 Big grins
    edited December 21, 2008
    Thanks...
    Thanks and sorry for the delay in response here.

    Yeah, I think what I'm after is that Javascript to inject/remove stuff from the header/footer (I had actually caught that Smugmug doesn't allow you to fully delete the footer from the FAQ). However I've mostly found workarounds and frankly I think it looks a little prettier this way so I guess I'll punt for now.

    If you do have where to find Javascript to ammend the header/footer links I certainly wouldn't mind hearing about it though.

    Thanks very much!
    jfriend wrote:
    The only way to inject things into the existing page structure (other than places made for customization like albumTitles or captions) is by using javascript programming to dynamically add, modify or delete objects in the page. There is no template which you can just edit.

    In this case because it's in the header area, another option is to copy the HTML from the Smugmug header, paste it into your own header (thus causing Smugmug's to no longer display) and then edit it to your own liking. Now it's all your header that you can edit however you want.

    The mini-footer is not something you can get rid of so there, you'd just have to either add something to your own footer above it or use javascript code to modify the existing one.

    You can use CSS to hide the cart icon on any page you want. If you are using the method described above of making a copy of the mini Smugmug header and putting it in your own header, then you can just delete the cart from it.

    I don't know of any easy way to make your footer be after the mini-footer. You can probably play tricks with CSS relative positioning to get it to show that way, but you will have to watch out for the end of the page and for compatibility across all browsers when doing funky positioning things.
Sign In or Register to comment.