Re: Wordpress On Zencart / Released
Whats this in the readme refer to.
Code:
----------------
Design adjustment
----------------
1.Please revise a header of a Wordpress theme, a footer, a sidebar, a style sheet.
(Please just upload a reference file if troublesome.)
Reference [/SAMPLE/wp-content/themes/]
2.Please add the following to a style sheet of ZenCart.
/* bigin */
.leftboxcontent ul li, .rightboxcontent ul li , .singleboxcontent ul li{
list-style-type: none;
margin:0px;
padding-left: 0px;
}
.leftboxcontent ul, .rightboxcontent ul , .singleboxcontent ul{
margin:0px;
padding-left:0px;
}
.leftboxcontent ul ul, .rightboxcontent ul ul, .singleboxcontent ul ul{
list-style-type: square;
margin:0px;
padding-left:5px;
}
/* end */
Am I supposed to add this the zens stylesheet.css ?
or style.css from wordpress?
Confused. I'm having a hardtime getting this thing to squeeze in between the two columns.
http://www.estore.haskellgraphics.com/?cat=1
Re: Wordpress On Zencart / Released
BTW I tried changing tpl_wordpress_default.php width to lower and it didn't affect anything.
Also changing style.css DID reduce width in a few things but the text still goes beyond right column and side box is way out there.
So I put it back to normal.
If anybody knows how I'd like to have my sidwboxes not show on blog page so it will fit right
or just a way to squeeze it well.
Thanks.
Re: Wordpress On Zencart / Released
Great Contrib! I was a bit confused by the readme, so I actually installed it twice, because I misread the directions the first time and had to do it again. However, my sideboxes are blank. I can successfully add them, but there is nothing in them at all. Did I do something wrong?
Re: Wordpress On Zencart / Released
Nevermind, the wordpress_config.php file, I had changed the $woz_install=1; to $woz_install=0;
It works now!
Re: Wordpress On Zencart / Released
Next question...can you have a zencart sidebox with the most recent posts? I didn't see that as one of the sidebox options.
Thanks.
Re: Wordpress On Zencart / Released
Quote:
Originally Posted by
onakat
i currently have zen cart loaded in the root directory. i installed wordpress in the root directory. i then copied all zencar/wordpress additional files into their respective directories.
i changed the wordpress options.
i copy wordpress-onfig.php to my web site and get the following message:
It doesn't look like you've installed WP yet. Try running install.php.
HELP.
I don't know if you've already solved the problem, but be sure to edit wordpress-config.php as well with your database information. That fixed it for me just now.
Quote:
Originally Posted by
cyfarian
Next question...can you have a zencart sidebox with the most recent posts? I didn't see that as one of the sidebox options.
Thanks.
I don't have answer for this...yet. However, I have noticed that a number of wordpress blogs has this feature so I imagine its something you can set up in the wordpress admin settings? Or maybe its a matter of making a sidebox to display that information. @_@
And while I am at it, a quick question. I want to be able to display entries on the front page of my shopping cart. I used to use one of the news management modules that has been mentioned on the forums and for that I added a line to an overridden /template/tpl_index_default.php:
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE));?>
However, since WOZ lacks a module file(?) I can't write similar code to do the same thing. I'm sure if I was better at php this wouldn't even be a real question.
Hopefully someone can offer me some insight. I'll keep probing around for a solution in the meanwhile. ^_^;
Hira-san, thank you again for this wonderful modification! This is exactly what I've been searching for. 本当にありがとう!助かりますぜ。
Re: Wordpress On Zencart / Released
kusogaki,
I would either like to put the latest posts in a sidebox or on the front page of the cart, like you want to. If you find a way, please do let me know. I have a quick, dumb question....Since the blog has an rss feed, could you embed an rss reader into the shopping cart's front page?
Thanks,
Cyfarian
Re: Wordpress On Zencart / Released
Ugh no, dice on the loading of wordpress on the main page. I really imagine this shouldn't be difficult...but I'm not making any ground here. :(
Cyfarian, since I've been stuck on the above situation I haven't looked into the recent posts modding yet. However, I do know that wordpress has a method called "The Loop" that basically adds that functionality. Why it's not an included feature...I don't know.
Information on that can be found here: http://codex.wordpress.org/The_Loop
I imagine you could whip up another sidebox (or just use an existing one as a template) and throw the looping code in there and it should do the trick. Once I solve the initial quandary I have, I will give that a go. :)
Chris
Re: Wordpress On Zencart / Released
Chris,
Thanks! I took a quick look at the loop code and it is too late in the day to get involved in that headache! But I will definitely look into it later and try to add it to a sidebox and let you know how I do. Thanks again for your help and good luck on your attemps.
Cyfarian
Re: Wordpress On Zencart / Released
Wordpress (where wordpress is installed in its own folder) on main page via admin/define main page is
Code:
<?php
require('./wordpress/wp-blog-header.php');
?><?php
$posts = get_posts('numberposts=1'); // change to whatever number of posts to show
foreach($posts as $post) :
setup_postdata($post);
?>
<h2><strong><font color="red"><?php the_title(); ?></font></strong></h2>
<?php the_date(); ?>
<?php the_content(); ?><hr />
<?php endforeach; ?>
as at http://dezinacart.co.uk