Jump to content
Sign in to follow this  
rubygirl

has anyone tried Articles Module v1.0?

Recommended Posts

Any examples i can see? I really want to install this addon but i want to know what people have done with it first.

Share this post


Link to post
Share on other sites

ok I fixed the mod and reuploaded it .. the new one is 0222-1. I apologize for the inconvienence ..

I also added the html edit to the admin side so as not to make the code go offsite to use the wysiwyg.

I even tested this one and it plays ..


(my knowledge is so small you would think that an ant was a genius in comparison)

Share this post


Link to post
Share on other sites

Just a thought about this great contrib, I noticed it was mentioned about the wysiwyg editor, and I was thinking that maybe this great mod and the wysiwyg mod for email, prod descriptions and general editor for OS could be combined? You can find the mod I am talking about below

 

http://www.oscommerce.com/community/contributions,1347

 

Let me know if you are going to do this or not :)


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

Actually this mod now contains the wysiwyg that maxi-dvd (sorry if I misspelled that maxi) did for the products/categories. The one that was used previously in this mod went to some other site and I hate leaving the codebase to go jumping to another site.


(my knowledge is so small you would think that an ant was a genius in comparison)

Share this post


Link to post
Share on other sites

I don't mean to be rude but has ANYONE got this contributuon installed that i can just take a look at?

Share this post


Link to post
Share on other sites

Just got it installed and working on a brand new store, just downloaded it followed the instructions and thanks there you go working.

 

www.oscstore.com/catalog/index.php the articles box is at the bottom right.


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

Are you able to display the article headlines etc in a box in the middle like the "New Products for September"?

Share this post


Link to post
Share on other sites

Dunno I only just installed it, and im installing more contribs before playing with it properly ;)

 

But I guess you want too display all the latest articles instead of products. I would think this would be easy as the mod is pretty much a clone of the product, you would just have to alter something in the new products code so instead of it getting the info from products you set it to select the info from articles.

 

As im in a good mood i might have a look in a mo. I am installing the header tags controller at the moment and im trying to get that to work with articles mod too.


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

Take another look now :wink:

 

In catalog/index.php

 

Find this near the bottom of index.php

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

and replace with

<?php include(DIR_WS_MODULES . FILENAME_NEW_ARTICLES); ?>

 

I didnt realise all the code is already installed. If you want both new products and articles, just add the above code where you want the articles to appear.


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

I now have it displaying both products and articles as you can see. Let me know if that was what you meant


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

I suppose so, you would have to do it from the article though. Unless you want to have "new products for september" with the product and then a link to an article under the product name about the product also, is that what you mean?

 

You would have to modify the new products module. I dont have time for that at the moment, but it shouldnt be very difficult you just want to add another link.


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

no i mean when you write the article can you select a product for the article to be about?

 

I've seen it somewhere where this person has "Related Products" box under his article on the article page when details of the related products.

Share this post


Link to post
Share on other sites

Oh right, I thought you were asking if it can be featured on the front page!!

 

There are two mods, x sell, and one i cant remember what its called that allow you to show related products. So if you have one product you can identify a similar product that you think the buyer will want to know about, he has probably used that and just modified it slightly so that it shows related products at the bottom of the article.


Feel free to ask me for help

beep... beep....My Pager

Share this post


Link to post
Share on other sites

I have installed the articles module ok but I get this error below when I create a new category and I click on the move button.

 

Articles Error

 

Fatal error: Call to undefined function: tep_array_reverse() in /import_fs2/home/harvey-interactive/public_html/harveycom/mcphees/catalog/admin/includes/functions/articles_general.php on line 155

 

Any suggestions on what I should do? Anyone else get this error?

I might do a search for that code in my OSC files and get it onto one of the fucntions include files.

Share this post


Link to post
Share on other sites

oops

sorry

didn't see the array_reverse problem. just take the tep_ out of the call

so it will look like array_reverse etc etc


(my knowledge is so small you would think that an ant was a genius in comparison)

Share this post


Link to post
Share on other sites

Thanks :) Thought it might of been that as well after a search and found that the tep_ had been dropped in the general files. Other than that it is going ok at the moment. I have it working with one of the new page template contributions.

Share this post


Link to post
Share on other sites

When I creat a Category inside a Category , while viewing the first cateogry I get the table with title " New Articles For September" , which contains the articles , under each article it shows " $0.00" , how to remove this ?? any advise ?

Share this post


Link to post
Share on other sites

I had that problem as well. Here is what I did anyway.

 

Look for this code in catalog/includes/modules/new_articles.php

 

$new_articles['articles_name'] . '</a><br>' . $currencies->display_price($new_articles['articles_price'], tep_get_tax_rate($new_articles['articles_tax_class_id'])));

 

Take off the last addition after the '</a><br>' and you will end up with this line below.

 

$new_articles['articles_name'] . '</a><br>');

 

I think as nice additions to this addon to OCS it would be nice to have the option to show things like a small summary under the article name with a more... link to the article or to maybe show author name?

Share this post


Link to post
Share on other sites

Thanks for the help, it is working fine now without showing the price .

 

As you said with a small add ons and tuning it will agreat content managment contribution , thanks to all who participate in this .

Share this post


Link to post
Share on other sites

OK This looks like a great mod but I am having a problem and I have checked things over and over again

 

when I add the following step

g-1) In catalog/includes/application_top.php add the following code at the bottom

 

 

require(DIR_WS_INCLUDES . 'article_app_top.php');

 

My OSC stops working

 

If I remove it I can add catagories but I get secure page warning but it still works I can also add a new article also with a secure page warning

I can see the Article box in the right column on the catalog page.

 

So what do you think the problem is with the above step???

 

I really want to make this work................

Share this post


Link to post
Share on other sites

well one shouldn't have anything to do with the other because you can only add categories on the admin side and what you described you did is on the catalog side...

that said ..

are you using the latest contrib .. well besides the one I haven't uploaded yet *grins* .. look to make sure that I put the php brackets in the app_top and make sure you put the require before the end of your last end php bracket.


(my knowledge is so small you would think that an ant was a genius in comparison)

Share this post


Link to post
Share on other sites

Here is the buttom section of my application_top.php file

 

// set which precautions should be checked

 define('WARN_INSTALL_EXISTENCE', 'true');

 define('WARN_CONFIG_WRITEABLE', 'true');

 define('WARN_SESSION_DIRECTORY_NOT_WRITEABLE', 'true');

 define('WARN_SESSION_AUTO_START', 'true');

 define('WARN_DOWNLOAD_DIRECTORY_NOT_READABLE', 'true');



// include the article functions

require(DIR_WS_INCLUDES . 'article_app_top.php');



// Microheli Pages

define('FILENAME_DISCLAIMER','disclaimer.php');

define('FILENAME_PACKAGETRACK','packagetrack.php');

?>

 

I downloaded your must current release

 

I am OSC 2.2 MS2

 

Do you anything else from me in order to get this fixed?

Share this post


Link to post
Share on other sites

Note when I add it to the application_top.php file and go to the catalog area my browser gives me a blank page.

 

with no errors

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×