PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Customizing Templates - Header/Footer (http://www.photopost.com/forum/photopost-pro-how-do-i/146078-customizing-templates-header-footer.html)

scraporchard June 27th, 2011 10:40 PM

Customizing Templates - Header/Footer
 
I want to know if it is possible to use the headerinclude, header and footer template code in the header, headtags and footer options in PhotoPost and have it still integrate with vBulletin?

I was able to remove the navbar via header-inc.php file.. however, because of the nature of our main navigation menu, I need to have different code for the gallery (so the green box is set on gallery by default). Using the Forum header, headerinclude and footer templates does not allow for this to happen.

I tried simply copying the code from those three forum templates and pasting them into the PhotoPost template options, and it did not work. Does the code need to actually be pasted into the header-inc.php file in order to function properly... i.e. still have the login menu at the top of the screen and all vbulletin functionality?


Scrap Orchard Forum - Daily Digital Scrapbook Challenges, Weekly Digiscrap Chats
Scrap Orchard Gallery - Gorgeous Digital Scrapbook Layouts, Digiscrap Freebies

Chuck S June 27th, 2011 11:01 PM

I do not think I am clear on what your trying to do but you have two options.

1. turn on the enhanced integration and use your forum header footer style

1. turn off the enhanced integration and use the photopost header and footer options which requires you to make up your own header and footer html.

scraporchard June 27th, 2011 11:46 PM

If I turn the vBulletin header/footer off, the login box at the top of the page, disappears.

If I use the photopost header/footer options, even if/when I paste the exact same code from the vBulletin header/footer.. is does not work.

scraporchard June 28th, 2011 12:02 AM

I basically want it to look exactly the same, but have the green box highlighing Gallery instead of Forum

Chuck S June 28th, 2011 08:53 AM

Have you tried using the vbulletin 4 mod that is released under the mod corner for Pro?

scraporchard June 28th, 2011 11:11 PM

Ummmmm... no :) Which one?

Chuck S June 29th, 2011 08:15 AM

http://www.photopost.com/forum/photo...tin-4-0-a.html

scraporchard June 29th, 2011 07:05 PM

Ok. I installed the mod, and it's pretty freakin' awesome, thanks!

*But* I don't think it solves my initial dilemma.

On the Gallery homepage, the main menu in the header, is highlighting the Forum menu item. This is because the Gallery is using the forum header (and the Forum menu item has a class of "current" make set the green box to it).

I tried disabling the use of the forum header and footer, and using a Gallery header, headtags, footer but I lose the Forum login box (at the top of the page).

So, I tried simply copying the code from the forum header, headerinclude and footer templates into the Gallery header, headtags and footer templates, and that doesn't work (all the vb: code is displayed).

I even tried making duplicate header and footer templates in vBulletin and change the Gallery code to use those (not sure I was doing it exactly right) and no luck.


So I guess I am trying to see if y'all have any other suggestions for me to try?

Chuck S June 29th, 2011 08:48 PM

I can not speak about your header probally something to do with that

On my stock vb board if I enter the gallery the gallery button is the one highlighted

A community photo gallery - - ReefTalk Gallery

scraporchard June 29th, 2011 08:50 PM

Okay, I think what I need, it to figure out how to assign a different vBulletin template to $header (in the header-inc.php file).

scraporchard June 29th, 2011 08:54 PM

Quote:

Originally Posted by Chuck S (Post 1289130)
I can not speak about your header probally something to do with that

On my stock vb board if I enter the gallery the gallery button is the one highlighted

A community photo gallery - - ReefTalk Gallery

Yes, sorry. I have kind of eliminated a lot of the vBulletin header (i.e. no navtabs). Our main menu is actually a completely separate jquery script... I do apologize for any confusion I may have caused.

But I do love the mod, I have it installed (just the part where it shows a random image on the user profile).


Like in the post above, I think I need help or some tips on how (or if) it is possible to change the vBulletin template assigned to $header in the header-inc.php file...?

Chuck S June 29th, 2011 09:01 PM

Well there really is no product support for modifications. From a support perspective I can tell you your options are what I posted in my initial reply. You can use the photopost header system and put whatever html you wish in whatever header footer files you make but I can not tell you what to put. That would be specific to what your trying to do yourself.


All times are GMT -5. The time now is 12:33 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97