Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • fracm Friend
    #202560

    Hi,
    i have a big problem!

    When i create a new article on k2, the system put in the article an image of a doctor.
    Every time that i create a new article the system put inside a different image.

    It’s an automatic behavior of the system.

    So i must remove this function..

    Where i can work, and what i can remove on php to remove this problem?

    Thank you very much..

    Ninja Lead Moderator
    #554694

    Because we have customized the detail image in K2 item match with the concept from our product. If you want to use it like as default, you can get my attachment file and update it into your site

    + Download and extract my attached file

    + Copy it into templates/ja_medicare/html/com_k2/default/ folder

    Don’t forget to back-up item.php file before doing changes


    1. item.zip
    fracm Friend
    #555650

    Hello, thank you for your answer..

    I’ve downloaded the file, I put it in the folder where you told me, in the rewrite folder (html-k2-dafault), but nothing: there is always this problem.

    So I’ve tried to delete the folder of k2..logically i lose your settings, but when i go on my template and write a new article….once again another photo of doctor or similar..

    Please…help me!

    Maybe it’s something that you put in another place…?
    But where?! I can’t find it.. 🙁

    Ninja Lead Moderator
    #555723

    You can pm me URL of your site, admin login and FTP account with an illustrated screenshot of what you are trying to achieve. I will help you out

    fracm Friend
    #556305

    Hi..
    i’ve sent you ena email..
    thankyou very much..

    Ninja Lead Moderator
    #556306

    <em>@fracm 452336 wrote:</em><blockquote>Hi,
    i have a big problem!

    When i create a new article on k2, the system put in the article an image of a doctor.
    Every time that i create a new article the system put inside a different image.

    It’s an automatic behavior of the system.

    So i must remove this function..

    Where i can work, and what i can remove on php to remove this problem?

    Thank you very much..</blockquote>

    I spent a lot time to check and got the problem as you mentioned.

    + About to export/import com_content from Joomla 2.5 to Joomla 3.x, you can use J2XML to export/import the content on your site

    + Category and Item in K2 have been customized to match with the concept from our product, that’s why you see the image to show outside K2 content. I have customized category_item.php and item.php files as your expectation. You can download and copy both files into templates/ja_medicare/html/com_k2/default/ folder


    1. custom.zip
    fracm Friend
    #556850

    Maybe I’m wrong, but does not work.
    I replaced the files in the folder template / jamedicare / html / com_k2 / default
    but it did not work.
    So I changed upon the files in the folder components / com_k2 / templates / default
    but even so does not work.

    I send you a picture.
    I created an article, I put the category and I saved.
    I look at the article and see that the system I added a photo.

    I’m very sad… 🙁

    I already exported articles j2xml, and now the articles are in the joomla content with the corrects images.
    When i imported on k2 these articles…puf…the system replace my photo with his images!!


    1. Schermata-2014-11-27-alle-17.48.56
    Ninja Lead Moderator
    #556878

    As I mentioned above, we customize K2 for this JA Medicare template so it’s best if you make your own changes in overridden file of K2 in template folder: template / jamedicare / html / com_k2 / default

    About importing from com_content to K2 component

    + Image in com_content

    + Image in K2 item

    That’s why you did not see the image in image tabs of K2 item

    About the problem in K2 item when you add new item it will be added with an image, I need to check it directly on your site but I could not access K2 component on your site as it always log me out of back-end site automatically. You can check it again.


    1. article_content
    2. k2_item
    fracm Friend
    #558135

    So…what can i do to remove this function?

    I don’t want put my image on the article, but on the apposit section “Image”.

    So, i import articles with j2xml on my new joomla content.
    Then i import these joomla articles on k2 content, and here system replaces my images with its images.

    Ninja Lead Moderator
    #558142

    The image from section image of com_content did not move to K2 content when you import these joomla articles on k2 content.

    I have no idea with other request about the image in k2 content. You should also raise this in the K2 component forum, you might get better answers there.

    David Porré Friend
    #572793

    Hello,

    I had the same issue, I don’t know why, it’s the first time I see that bug.
    I fixed it by deleting contents of :
    media/k2/items/src
    and
    media/k2/items/cache

    Hope this will help.

    Best regards,
    David aka Shapes

    Ninja Lead Moderator
    #572856

    Thanks for sharing the solution. Hope it helps other guys

    Ninja Lead Moderator
    #737890

    Thanks for sharing the solution. Hope it helps other guys

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 13 replies, has 3 voices, and was last updated by  Ninja Lead 9 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum