Arien Posted August 31, 2003 Share Posted August 31, 2003 Any examples i can see? I really want to install this addon but i want to know what people have done with it first. Quote Link to comment Share on other sites More sharing options...
Strider Posted September 1, 2003 Share Posted September 1, 2003 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 .. Quote (my knowledge is so small you would think that an ant was a genius in comparison) Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2003 Share Posted September 2, 2003 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 :) Quote Link to comment Share on other sites More sharing options...
Strider Posted September 2, 2003 Share Posted September 2, 2003 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. Quote (my knowledge is so small you would think that an ant was a genius in comparison) Link to comment Share on other sites More sharing options...
Arien Posted September 2, 2003 Share Posted September 2, 2003 I don't mean to be rude but has ANYONE got this contributuon installed that i can just take a look at? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2003 Share Posted September 2, 2003 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. Quote Link to comment Share on other sites More sharing options...
Arien Posted September 2, 2003 Share Posted September 2, 2003 Are you able to display the article headlines etc in a box in the middle like the "New Products for September"? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2003 Share Posted September 2, 2003 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2003 Share Posted September 2, 2003 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2003 Share Posted September 2, 2003 I now have it displaying both products and articles as you can see. Let me know if that was what you meant Quote Link to comment Share on other sites More sharing options...
Arien Posted September 2, 2003 Share Posted September 2, 2003 urm yeah kinda what i meant.. can you link products to articles? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2003 Share Posted September 2, 2003 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. Quote Link to comment Share on other sites More sharing options...
Arien Posted September 2, 2003 Share Posted September 2, 2003 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. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 2, 2003 Share Posted September 2, 2003 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. Quote Link to comment Share on other sites More sharing options...
emetani Posted September 3, 2003 Share Posted September 3, 2003 It is a great contribution , I was waiting this for sometime , it save me time and efforts .  If you would like seeing it working chech my site :  http://www.aherbal.net  Thanks Strider , this a great Job . Quote Link to comment Share on other sites More sharing options...
imac_jim Posted September 5, 2003 Share Posted September 5, 2003 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. Quote Link to comment Share on other sites More sharing options...
Strider Posted September 5, 2003 Share Posted September 5, 2003 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 Quote (my knowledge is so small you would think that an ant was a genius in comparison) Link to comment Share on other sites More sharing options...
imac_jim Posted September 5, 2003 Share Posted September 5, 2003 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. Quote Link to comment Share on other sites More sharing options...
emetani Posted September 6, 2003 Share Posted September 6, 2003 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 ? Quote Link to comment Share on other sites More sharing options...
imac_jim Posted September 7, 2003 Share Posted September 7, 2003 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? Quote Link to comment Share on other sites More sharing options...
emetani Posted September 7, 2003 Share Posted September 7, 2003 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 . Quote Link to comment Share on other sites More sharing options...
GIZMO-XL Posted September 8, 2003 Share Posted September 8, 2003 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................ Quote Link to comment Share on other sites More sharing options...
Strider Posted September 8, 2003 Share Posted September 8, 2003 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. Quote (my knowledge is so small you would think that an ant was a genius in comparison) Link to comment Share on other sites More sharing options...
GIZMO-XL Posted September 8, 2003 Share Posted September 8, 2003 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? Quote Link to comment Share on other sites More sharing options...
GIZMO-XL Posted September 8, 2003 Share Posted September 8, 2003 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.