Re: Numinix Blog Embedding Issues/Questions
To those of you looking for a sidebox solution that works with Numinix, install the blank sideboxes mod and add the wordpress loop to the end of includes/modules/sideboxes/blank_sidebox.php (alternatively: includes/modules/sideboxes/MY_TEMPLATE/blank_sidebox.php). The code will look like this:
Code:
<?php
$show_blank_sidebox = true;
if ($show_blank_sidebox == true) {
require($template->get_template_dir('tpl_blank_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_blank_sidebox.php');
$title = BOX_HEADING_BLANK_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
<?php define('WP_USE_THEMES', false);
require('/MY_ABSOLUTE_PATH/blog/wp-load.php');
query_posts('showposts=5');
?>
<?php while (have_posts()): the_post(); ?>
<a href="<?php the_permalink(); ?>" style=""><?php the_title(); ?></a><br>
<?php endwhile; ?>
I left an empty style tag in there, because I found that I needed to do some selective styling to get this to blend with my other sideboxes. I am sure that there are more elegant solutions, but this one works.
Re: Numinix Blog Embedding Issues/Questions
Quote:
Originally Posted by
joeyrocket
To those of you looking for a sidebox solution that works with Numinix, install the
blank sideboxes mod and add the wordpress loop to the end of includes/modules/sideboxes/blank_sidebox.php (alternatively: includes/modules/sideboxes/
MY_TEMPLATE/blank_sidebox.php). The code will look like this:
Code:
<?php
$show_blank_sidebox = true;
if ($show_blank_sidebox == true) {
require($template->get_template_dir('tpl_blank_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_blank_sidebox.php');
$title = BOX_HEADING_BLANK_SIDEBOX;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
}
?>
<?php define('WP_USE_THEMES', false);
require('/MY_ABSOLUTE_PATH/blog/wp-load.php');
query_posts('showposts=5');
?>
<?php while (have_posts()): the_post(); ?>
<a href="<?php the_permalink(); ?>" style=""><?php the_title(); ?></a><br>
<?php endwhile; ?>
I left an empty style tag in there, because I found that I needed to do some selective styling to get this to blend with my other sideboxes. I am sure that there are more elegant solutions, but this one works.
I'll be saving his for future reference :cool:
thanks!
Re: Numinix Blog Embedding Issues/Questions
Once I had the Wordpress installation embedded (and the default 2011 template seems to work best), I removed all the content from style.css (leaving the empty file) and removed all mentions of body in blog.css, letting the Zencart stylesheet handle the body rules. Worked for me.
Re: Numinix Blog Embedding Issues/Questions
I am not sure if this is for me. I am looking for a solution to have the flexibility of the wordpress template look and feel and the power of zencart for the ecommerce part. If I understand right, this mod does the opposite? Adding blog power into a zencart page?
Is there a solution the other way around? Wordpress site with a shopping portion?
I looked around and have found DivaVocals very active looking for something like this in Joomla and WordPress forums.
@DivaVocals how do you now solve this?
Re: Numinix Blog Embedding Issues/Questions
There are several 'carts' that are Wordpress plugins. I looked at a few and wasn't impressed.
Re: Numinix Blog Embedding Issues/Questions
That is exactly my beef. And I know Zen Cart pretty well but find creating templates and changing looks is some what limited. But that is topic for another day or thread.
Re: Numinix Blog Embedding Issues/Questions
Hi i wonder if someone can help me, i have followed all the steps and found it fine and styling is not an issue either, however as i understand the whole install should be embeeded within the ZC header and footers, when i click on a blog page link it takes me to the blog itself outside of the ZC headers and footers, is this something that is supposed to happen or does someone have a suggestion of what is wrong? thanks x
Re: Numinix Blog Embedding Issues/Questions
Quote:
Originally Posted by
mydanilo
I am not sure if this is for me. I am looking for a solution to have the flexibility of the wordpress template look and feel and the power of zencart for the ecommerce part. If I understand right, this mod does the opposite? Adding blog power into a zencart page?
Is there a solution the other way around? Wordpress site with a shopping portion?
I looked around and have found DivaVocals very active looking for something like this in Joomla and WordPress forums.
@DivaVocals how do you now solve this?
I only actively sought after a Joomla solution on the Joomla forums.. Have not had active discussions on the WordPress forums on this..
I suggest taking a look at some of the articles on the web and on the WordPress site which talk about pulling in WordPress content into a non WordPress sites.. I have been experimenting with using these methods to wrap WordPress' look and feel around Zen Cart..
Re: Numinix Blog Embedding Issues/Questions
How would I go about using the code above to add widgets? I can get the widgets into the sidebar, but they sit on top of blank_box on the sidebar and I can't style them, even if I wrap them in a new div, and do i need to add anything to the tpl_blank_sidebox?
Re: Numinix Blog Embedding Issues/Questions
Hi
Out of curiosity. Has anyone tried using the Numinix Wordpress solution with ZenCart 1.5?
cheers
mark