68 Classifieds Forums  

Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Suggestions and Feedback
Register Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

v3.1 Suggestions and Feedback Please use this forum to post feedback and suggestions for v3.1

 
Thread Tools Display Modes
  #1  
Old 09-27-2006, 08:07 PM
marketingsolutions marketingsolutions is offline
Junior Member
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 28
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 marketingsolutions is offline
Junior Member
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 28
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
donjh donjh is offline
Junior Member
 
Join Date: Mar 2007
Posts: 2
Default excel template

I would love to see that template
__________________
donjh
Reply With Quote
  #4  
Old 06-29-2007, 05:23 PM
michael's Avatar
michael michael is online now
Senior Member
 
Join Date: Jan 2007
Posts: 180
Default

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

Thanks.
__________________
v4.rc9 Developer
MKClassifieds.co.uk

"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 marketingsolutions is offline
Junior Member
 
Join Date: Sep 2006
Location: Ilfracombe - England
Posts: 28
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, 8 views)
__________________
if it does the job and its pleasing on the eye, thats all it needs.

www.freeadswest.co.uk, www.lifestyle-and-home.co.uk, www.jobsinthewest.co.uk

If anyone can, Maffo can

Website Design North Devon
Reply With Quote


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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 05:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.