Keyword

K2 problems

  • Semenciuc
  • Semenciuc's Avatar Topic Author
  • Offline
  • New Member
More
11 years 3 months ago #109842 by Semenciuc
K2 problems was created by Semenciuc
I have a question regarding k2 module for joomla.
I have k2 2.5.7 and k2 Filter and search 1.4.8.
I read data using a php script from a .csv file and import them in my database.
I set the category, extra fields, author = Super User, Access Level = Public, Creation date, Start publishing. Data is imported in my database but when i search the items on an extra field using k2 Search and Filter module, they don't appear. The solution is to go to backend, open the item and click on save button. After this operation the item is displayed on search.
So if i have two identical items in database and on one of them i press save button, it is displayed but the other one not.
How can i resolve the problem and display the items without pressing on save button. Please contact me.

Thank you in advance.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #109843 by william white
Replied by william white on topic Re: K2 problems
check two item with phpmyadmin
one that you have "saved" and one that you have "not saved"
whats the difference?
the save method of k2 must be setting a value in the row somewhere
discover what it is and use phpmyadmin to change them all at once...
then teach your import routing to do it for you

Please Log in or Create an account to join the conversation.

  • Semenciuc
  • Semenciuc's Avatar Topic Author
  • Offline
  • New Member
More
11 years 3 months ago #109844 by Semenciuc
Replied by Semenciuc on topic Re: K2 problems
I found that when i click on save button a lot of data is saved in finder_links table and others. Here we have columns like url, route, title, md5sum(a md5 code). I do not think we can import all the data in this tables. For example i do not know the md5 encrypted word.
Can i simulate the save button click in code?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum