COMMUNITY FORUM
Tool for importing / exporting items to / from K2
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
Multiple categories or multiple extra field groups are not possible with the K2 Import/Export extension.
How do you plugins manage the multiple categories?
Please Log in or Create an account to join the conversation.
- Victor
-
- Offline
- New Member
- Posts: 2
I'm using these following plugins:
1. For multiple extra fields: www.joomreem.com/multiple-extra-fields-groups-mefg-for-k2.html
2. For multiple categories: www.netpin.gr/extensions/item/1-k2-additonal-categories
Hope you can add some support for these plugins.
Thanks.
Please Log in or Create an account to join the conversation.
- gr8
-
- Offline
- New Member
- Posts: 2
I have existing K2 items created but need to import over the top of them based on new custom field values. The only real field that i can use that is unique to each item is the 'alias' field.
Title will not work because some items have the exact same title with only the alias to separate them.
How can re-import a csv using your extension and only target those items with a specific alias.
Please advise.
Thanks,
Ryan.
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
can you use the "ID" to overwrite? That one should not change
Please Log in or Create an account to join the conversation.
- Peer
-
- Offline
- New Member
- Posts: 14
i followed the instructions from gavick.com mentioned in the following post to use the item alias within the image name.
www.gavick.com/forums/general-discussion/seo-k2-image-18208
I changed all recent files according to the following instructions:
$handle->file_new_name_body = $row->alias.$row->id;
.md5("Image".$row->id). change to .$row->alias.$row->id.
md5("Image".$current->id) change to $current->alias.$current->id;
.md5("Image".$item->id). change to .$item->alias.$item->id.
.md5("Image".$news_id). change to .$news_alias.$news_id.
Actually I'm trying to change your "k2import.php" which is the only script I found to handle the images.
on line 865: $handle->file_new_name_body = md5("Image".$this->_k2_item_id);
on line 1138: $image_name = $image_savepath . md5("Image".$items[$item_count]->id) . ".jpg";
Everything I do, I dont get the alias placed within the imagename. May you give me a hint how to appropriate change the code for my needs?
many thanks in advance
Peer
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
The alias is created with the code starting from line 89
you would have to save that information e.g. in a variable $this->alias and use it in the saveImage() method
Please Log in or Create an account to join the conversation.
- Madeleine McMullin
-
- Offline
- New Member
- Posts: 16
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
make sure in the CSV file the full path of the images are give. On a UNIX/LINUX system this probably would be something like /home/www/......
Please Log in or Create an account to join the conversation.
- Madeleine McMullin
-
- Offline
- New Member
- Posts: 16
Any other ideas?
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
Please Log in or Create an account to join the conversation.
- Madeleine McMullin
-
- Offline
- New Member
- Posts: 16
Please Log in or Create an account to join the conversation.
- Hisslink
-
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Individual IT
-
- Offline
- New Member
- Posts: 6
Could you please tell me what version of k2 and what version of my tool you are using?
Please Log in or Create an account to join the conversation.
- Dean
-
- Offline
- New Member
- Posts: 15
I am moving the K2 items to a new install and am getting this message when importing the csv.
There is a problem with the resource you are looking for, and it cannot be displayed
Joomla 3.4.5
PHP Version 5.4.45
K2 v2.6.9
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
could you please post a part of the CSv file
Please Log in or Create an account to join the conversation.
- Dean
-
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Individual IT
-
Topic Author
- Offline
- Elite Member
- Developer of the K2 Import / Export Tool
Please Log in or Create an account to join the conversation.
- Dean
-
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Hisslink
-
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Dean
-
- Offline
- New Member
- Posts: 15
It happens as soon as I open it from Components/K2 Import. Before trying to import anything.
Strict Standards: Declaration of K2importController::display() should be compatible with JControllerLegacy::display($cachable = false, $urlparams = Array) in /administrator/components/com_k2import/controller.php on line 23
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/k2import.php on line 29
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/k2import.php on line 30
Deprecated: Non-static method k2importToolbarHelper::upload() should not be called statically, assuming $this from incompatible context in /administrator/components/com_k2import/views/k2import/view.html.php on line 28
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/helper.php on line 14
Deprecated: Non-static method k2importToolbarHelper::export() should not be called statically, assuming $this from incompatible context in /administrator/components/com_k2import/views/k2import/view.html.php on line 30
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/helper.php on line 24
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/views/k2import/view.html.php on line 34
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/views/k2import/view.html.php on line 56
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/views/k2import/view.html.php on line 57
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/views/k2import/view.html.php on line 144
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/models/category.php on line 133
Strict Standards: Only variables should be assigned by reference in /administrator/components/com_k2import/views/k2import/tmpl/default.php on line 14
Joomla 3.5.1
PHP 5.6.14
K2 v2.7.0
K2import v 2.4_alpha2
Please Log in or Create an account to join the conversation.