@ cjsimmons: thanks for the confirmation :)
dryan: I'd like to implement your code on my photo page @ http://blog.maltese.net
I dl'd the code and read the readme, and I'm still a little confused. Will it pick-up the style that I'm currently using (fork)? Or, is there much more that I need to do?
Regards,
Chris
Works just as nicely as my K2 thing is working out...there's some thread I created of me trying to get WordPress (also using K2) and ZP playing nicely although when using your way and my way, I get the same errors:
`
Warning: Cannot modify header information - headers already sent by (output started at /home2/horseboy/public_html/wp-content/themes/k2/header.php:6) in /home2/horseboy/public_html/photos/zen/template-functions.php on line 67`
Warning: Cannot modify header information - headers already sent by (output started at /home2/horseboy/public_html/wp-content/themes/k2/header.php:6) in /home2/horseboy/public_html/photos/zen/template-functions.php on line 75
using K2 r163 I get these errors:
Warning: main(../photography/zen/Sajax.php): failed to open stream: No such file or directory in /home/rdiaz/public_html/zenphoto/themes/k2/header.php on line 12
Warning: main(../photography/zen/Sajax.php): failed to open stream: No such file or directory in /home/rdiaz/public_html/zenphoto/themes/k2/header.php on line 12
Warning: main(): Failed opening '../photography/zen/Sajax.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rdiaz/public_html/zenphoto/themes/k2/header.php on line 12
I don't have a /photography/ directory where can i change this setting?
Thanks for this "theme" :-)
I've got it working on the latest svn of wordpress (2.1 alpha 1) and k2 (r171).
But I'm having a bit of trouble. I'm new to WP as well as ZP, but I can't seem to find a 'page-slug' anywhere. Is it something relatively obvious that I'm missing?
EC - I hard coded a new tab into my header.php for K2. Works a charm, and even shows the correct highlighting.
See a demo at www.cjsimmons.net/gallery
This is the code I have for the first 2 entries for the nav bar.
EDIT: I think some stuff was chopped out... Sorry.
Duh
Thats what I get for not reading the thread entirely or using my brain! Simple enough got everything sorted out. Currently using K2 Reloaded v167 and it looks sweet. Just created a new page (pointing to the ZP internal page) which created a new header tab and viola!
Even though I don't use K2 (I use Tiny) this theme integrated perfectly into my site instantly. The only thing I've changed so far is a few style elements for my own personal pleasure, not for any functional use.
However, I've come across two issues. Comments seem to be broken �?? as in, you can't comment on a photo at all. Also, the Ajax on-page editing doesn't work either �?? changes aren't saved and when you do hit save, you are just redirected to the home page. That's more of an annoyance than anything since I can still edit from the admin.
Lastly, what can I change in the CSS so that the two lines in the foot are the same widht as the rest of the column? I've tinkered with this for like an hour, and I'm sure all I need is a fresh set of eyes.
Gallery is at rulebrittaniea.org/photos
Thanks again for all the previous work!
Has their been a fix for having two different databases for WP and ZP?
WordPress database error: [Table 'zengallery.wp_options' doesn't exist]
SELECT option_value FROM wp_options WHERE option_name = 'k2scheme' LIMIT 1
Please email ben (at) digibag (dot) com if yes.. I will be SOOO stoked!
As far as I know, there is no solution yet, but if you want to move your zenphoto database into your wp database it's really easy, since there are only three basic tables.
All you have to do is back up your zp database following these instructions:
http://codex.wordpress.org/WordPress_Backups
And then copy them into your WP database following these instructions:
http://codex.wordpress.org/Restoring_Your_Database_From_Backup
Be sure to change the details in your zp config file to match those of your WP database instead, and all should be well.
I highly recommend doing this anyway because it makes integration so much easier, as well as other things, such as single-database backups using the autobackup plugin that now comes with wordpress 2.+