Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Using ATA header php file outside of Wordpress but in same directory


  #1  
Old Feb 25, 2010, 09:23 AM
jaxon
 
27 posts · Jan 2010
Good morning excellent Atahualpa community!

I'm working on visually matching another script on my site (called WHMCS) to my wordpress installation, which runs Atahualpa. The WHMCS software/script uses .tpl template files for visual themes. I have read a number of threads on other forums suggesting that this integration (WP+WHMCS) is as simple as copy the contents of a WP theme's header.php file and making a new header.tpl file from it, which then replaces the WHMCS default header.tpl file.

This all sounds great and easy and I've seen it working on a number of sites - but I have had no luck making it work with my WP+ATA header.php file. Loading up the new .tpl just gives me a white screen when visiting whmcs.

My thought is that maybe ATA's header.php has too much dynamic stuff going and too many calls back to the ATA settings - but that's a mostly unfounded thought Could also be related to paths used in the ATA header file not being correct because the header.tpl file is located in a different top level directory. I can imagine, that a non-framework type theme would have a much more simple header file but who knows...

So... all I've got so far is a white screen whenever I test the new header.tpl file. My reading that has lead me to this point so far includes:

http://forum.whmcs.com/showthread.php?t=10658&page=3
In particular the part where this person implies that people in my position have less than half a brain
Quote:
Quote:
Originally Posted by RackWire View Post
Yes, read this wrong. We just mirrored the look and feel of the WHMCS site on our Wordpress Blog, and use that for Articles.
This thread is for login share and auto design integration, but not by the means of simple copy and paste header/footer changes, etc. What you have done is simple and takes 5 minutes and can be done by anyone with half a brain.
Some general info on integrating WP & WHMCS
http://www.freewebhostingtalk.com/sh...ad.php?p=57956

Any tips, advice, experiences or paid (cheapish) work offer would be greatly appreciated. I'll reply right away to any questions or advice. Thanks a ton!
Jaxon
  #2  
Old Feb 25, 2010, 02:21 PM
jaxon
 
27 posts · Jan 2010
So, I've made a bit of progress on this. I copied the header html from a source view of my site and used it for the header.tpl file. This clears up my white page of death issue... and gives me a unstyled html version of my header. I don't really know how the header grabs its css - at least some is included in the header obviously. My next step was to included everything between the <style type="text/css"> tags. above the header code. This did not change anything... still straight html - list of menu items, logo, etc. So, this is where I'm at. It actually seems promising. If anyone has advice on how include or reference all the css I need for the header - I'd love a few tips. Thanks all!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot get to the file directory to put in my header image ncristine Header configuration & styling 5 Apr 21, 2012 10:33 AM
Which php file should I Edit to Insert Opt In form in SideBar for Atahualpa Theme? kacang Sidebars & Widgets 0 Aug 1, 2009 03:41 AM
I don't have the images/header file on wordpress to allow me to change pics? norwichkaren Header configuration & styling 1 Jul 9, 2009 06:25 AM
New to WP...Got Ata 3.3..?'s on Ata vs Montezuma and TOP THINGS TO CUSTOMIZE - FIX? Brasshatgroup New Versions, & Updating 5 Jun 1, 2009 06:22 AM
How to use export.php script file to save theme changes? Andante New Versions, & Updating 1 Mar 22, 2009 06:36 PM


All times are GMT -6. The time now is 09:21 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.