Upload Category list from a CSV file

This is a discussion on Upload Category list from a CSV file within the v3.1 Suggestions and Feedback forums, part of the v3.1 Legacy Help & Support category; I have a huge catgory and sub category list from my client and instead of adding them one by one ...


Go Back   68 Classifieds Forums > v3.1 Legacy Help & Support > v3.1 Suggestions and Feedback

 
LinkBack Thread Tools Display Modes
  #1  
Old 09-27-2006, 08:07 PM
marketingsolutions's Avatar
Member
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 35
Rep Power: 10
Send a message via Skype? to marketingsolutions
Default Upload Category list from a CSV file

I have a huge catgory and sub category list from my client and instead of adding them one by one is there anyway to upload a csv file directly into the sql database so the sub categories get put into the correct category?

Regards

Stuart

Reply With Quote
  #2  
Old 09-27-2006, 09:04 PM
marketingsolutions's Avatar
Member
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 35
Rep Power: 10
Send a message via Skype? to marketingsolutions
Smile

I think I deserve a coffee!

I've done it.

If anyone wants an excel template and some more info let me know.

All i did was to use formulas in excel and use the "insert into" sql statement and then exported the cell data to a sql file.

I then imported the sql file into the database and it worked.

If you have huge category lists like I do then this is fantastic.
Reply With Quote
  #3  
Old 06-29-2007, 04:13 PM
Junior Member
 
Join Date: Mar 2007
Posts: 2
Rep Power: 0
Default excel template

I would love to see that template
__________________
donjh
Reply With Quote
  #4  
Old 06-29-2007, 05:23 PM
Senior Member
 
Join Date: Jan 2007
Posts: 260
Rep Power: 14
Default

That's cool! If you could post the small word, big picture guide for dummies it would be appreciated.

Thanks.
__________________
v4.09 Developer
MKClassifieds


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
Reply With Quote
  #5  
Old 06-29-2007, 07:46 PM
marketingsolutions's Avatar
Member
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 35
Rep Power: 10
Send a message via Skype? to marketingsolutions
Default categories-sql-import

Hi Guys

I haven't used it for a while but it is how I setup my first site with the software

You only need to fill in the following columns

id, parent_id, name, description, image, allowads, display cOrder, cKeywords, cPromo, cLink

Then all you do is scroll to column R and select all the rows you require, then ctrl+c (copy) or right click and copy then paste into the "Run SQL query" and click go and they will import all the Categories for you.

I have used unique category ids for my top level categories as to make them easier to edit in the future.

I have left my categories in there for example purposes only, please use your own categories.

Best regards

Stuart
Attached Files
categories-sql-import.zip (92.3 KB, 10 views)
__________________
www.freeadsgroup.co.uk - installed Maffo Super Mod
Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum File Size for File Upload sporthorsebreeder v3.1 Questions & Support 2 09-02-2006 05:18 PM
Upload File Feature does not work sporthorsebreeder v3.1 Questions & Support 10 08-16-2006 11:39 AM
File Upload Feature Problem sporthorsebreeder v3.1 Questions & Support 9 07-27-2006 10:34 AM
File Upload Feature Qusetions vmstudio v3.1 Questions & Support 11 06-16-2006 11:53 PM
Phpnewads munky20 v3.0 Questions & Support 10 03-30-2006 07:59 PM


All times are GMT -4. The time now is 04:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22