Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   Atahualpa 3 and WPG2 plugin (http://forum.bytesforall.com/showthread.php?t=44)

mangaman Dec 15, 2008 10:41 AM

Atahualpa 3 and WPG2 plugin
 
Hello,

I use wpg2 plugin to embed gallery2 into wordpress and it worked great with atahualpa 2.01 but with 3.0 the header don't seem to appear. I can see in the source it tries to load but it's not appearing on the web page.

See http://www.mangaman.net/erik_2/v/test

Thanks

Flynn Dec 15, 2008 01:42 PM

Looks like it expects a page.php. All contents from index.php are missing. Make a copy of index.php as page.php and see if it works.

mangaman Dec 15, 2008 10:35 PM

Hello, thanks for the quick response!

I've copied index.php to page.php in the atahualpa3 folder and tried to reload the theme but the header is still missing. The source code of the main page still looks the same on http://www.mangaman.net/erik_2/wpg2

mangaman Dec 22, 2008 12:29 PM

I have tried with the 3.1.1 version too, some of the code from the header loads but seems to stop prematurely after the scripts in the header.php. I tried to put a page.php file that only said <?php get_header(); ?> and it gives the same output in the page as when i copied header.php to page.php.

It seems to stop with this code:
<?php if ( function_exists('wp_list_comments') AND is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
<?php wp_head(); ?>
<?php if (function_exists('wp_pagenavi')) { ?>

I guess there is an incompatibility with the plugin and the theme. Maybe WPG2 like the way with <?php include that were in the version 2 of the theme header.

Flynn Dec 22, 2008 02:32 PM

I am installing WPG2 atm ... I'll post my findings later today

Flynn Dec 22, 2008 07:59 PM

It's replacing everything in index.php including the header section, the sidebars etc..

I moved the header area and the left sidebar into header.php and the right sidebar into footer.php and now it's working. I'll include this in the next update tomorrow or 12-24. This will probably help other plugins too. Plugins like this expect a theme to have a structure very similar to the default theme it seems.

mangaman Dec 22, 2008 10:47 PM

Wow, that was very fast! Thank's a lot!

I admit I could figure the structure better in the 2.01 version than in the 3, for the header.
Again, thank you very much, the theme you've developed has a look that's so clean and I find it ergonomic.

traceywashere Apr 16, 2009 12:34 PM

hey Flynn .. i have Atahualpa 3.3.2 -- and it seems to be back to putting gallery2 in it's own page ... any chance for another fix? i'm not sure i totally follow what you did to fix it b4.

thanks!

Flynn Apr 16, 2009 06:32 PM

This was broken again when I changed the way theme options are pulled from the database to save queries and reduce the rendering time. It'll be fixed in 3.3.3

traceywashere Apr 16, 2009 10:34 PM

we keep ya busy don't we?

thanks flynn!

u had said that you "moved the header area and the left sidebar into header.php and the right sidebar into footer.php" -- where'd u move them from? i tried looking around, and didn't find anything obvious ...

tx again

Flynn Apr 17, 2009 05:43 PM

Instead of sidebar.php and sidebar2.php Atahualpa has the code for the left sidebar in header.php ( <?php // Widgetize the Left Sidebar ...) and the right sidebar in footer.php ( <?php // Widgetize the Right Sidebar

traceywashere Apr 20, 2009 01:35 PM

any idea when 3.3.3 will be released? i've tried to manually fix .. but i'm not having any luck :(

tamogila Apr 23, 2009 11:50 AM

I'm new to WP and the Atahualpa theme, but just wanted to say what a great great combo this is. I know just enough to realize how difficult it has to be to pull this off.

I just wanted to drop in and let Flynn know that there are others holding our breath for a fix to this. If there is any way you could just give me some code and tell me where to put it, I'd be a very happy person! Unless 3.3.3 is coming out today or something.

Thanks, and please take this as a plea for mercy, and not a demand.


All times are GMT -6. The time now is 12:39 PM.

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