Not duplicating the way you are thinking..
After spending (wasting) a LOT of time with embedding blogs inside Zen Cart, I realized that many folks walked down this road to avoid having to create a matching WordPress theme. There was this perception that creating a matching WordPress theme was "hard" or "too much work". I believed this too, but I eventually realized that blog embedding JUST to avoid having to create a matching theme seemed like a lot of work for very little gain.. I now have a few theme generator tools I use for WordPress that makes the work of creating a matching WordPress theme easy as pie for me.. (the Laserdisc Vault site is an example of that in action) However, I realized that anytime I made look/feel changes I had to make them in both WordPress theme and the Zen Cart template.. While this wasn't "hard", it was labor intensive making sure every detail was consistent between the two frameworks. So I began to look for a way to cut down on the work required to make WordPress and Zen Cart maintain the same look/feel..
WordPress has always supported calling it's codex and displaying it outside of WordPress (which is how the various blog embedding solutions work). To apply this to the Zen Cart template, I merely created a Zen Cart template which makes calls to much of the WordPress theme. So on the EyeItalia site, WordPress and Zen Cart are "sharing" a theme/template. There are some elements that I do have to re-create in the Zen Cart template to keep things consistent, but they are minor in the scheme of things.. For example the sidebox and centerboxes styling mimics the widgets styling in WordPress, but those styles are maintained in the Zen art template stylesheet.. But the MAJOR look/feel is driven by the WordPress theme.. This minimizes the number of changes I need to make in the Zen Cart theme to keep the look/feel of WordPress and Zen Cart in synch.
After that I have WordPress sideboxes that I use to display WordPress content inside Zen Cart and Zen Cart widgets to display Zen Cart content in WordPress.. No "embedding" needed, and I can still effectively tie WordPress to Zen Cart..
Great.. that was my concern.. I understand why this change needs to be made if the WOZ Sideboxes Only Edition is being used with the Numinix solution as it would duplicate calls to the WordPress codex already made in the Numnix embedding solution..
There is a Numinix Blog Embedding support thread here on the Zen Cart forum.. May I suggest posting your code/changes there as well..
The tpl_wp_sidebar is based on outdated WordPress theming methods.. In older WordPress themes where there was only "sidebar1" and "sidebar2" this sidebox would display the contents of both side bars in one sidebox. I have two clients who have older WordPress themes who can still use this sidebox.. (See this site: http://www(dot)lanikshair(dot)com/in...=index&cPath=0 -- except for the currency sidebox, the rest of the right column is the sidebar sidebox)
Modern WordPress themes can display widgets ANYWHERE so the tpl_wp_sidebar would have to be re-written to accommodate this, and perhaps allow one to chose which sidebars to display..
The blogroll sidebox is also probably outdated as there is no more blogroll in the WordPress core code anymore..
I think the more contemporary functions I am now using are a better long term solution and they certainly solve the problem with regards to "reciprocity".. By reciprocity, I mean REALLY improving upon how to make WordPress a more effective means to drive customers to the Zen Cart store.. What better way to do that that to make sure that your Zen Cart product content is VERY visible in your WordPress blog.. Blog embedding is nice, but in the end there are more effective ways to integrate WordPress and Zen Cart in my opinion. I took a holistic approach to how that integration is done versus the traditional, yet sadly one sided means of accomplishing WordPress/Zen Cart integration..



Reply With Quote
I'll see if I can find some of the articles I used in my travels and share them.. BUt if you are interested search "integrate WordPress Zen Cart" should get you to some of the stuff I read..
