Pages: [1]
Author Topic: Select category to import mochi games to  (Read 216 times)
Customers
Full Member
*

Karma: 0
Posts: 43


on: Feb 02, 10, 09:49 AM

Hi,

How can I add the box, to admin panel to mochimedia add games' section, which would tell script "put all the games you find under these options into category..." ..because this script tries to guess where to put them.. but I know where to put them :-)
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Feb 02, 10, 11:44 AM

it's simpler to hardcode the category id inside mochi importer. To do that open mochiimporter.php and write
Code:
$myCategory = 3; // or another ID of course,
just before this line:
Code:
$myCategoryTitle = $myCategories[$myCategory];

Please note, this file is a part of the script's core, so it can be updated in the new versions of the script.
Logged
Customers
Full Member
*

Karma: 0
Posts: 43


Reply #2 on: Feb 02, 10, 05:20 PM

thx, I hope the next patch release would be very soon Smiley
Logged
Pages: [1]
 
Jump to: