Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • David Porré Friend
    #150577

    Hello,

    I have something really strange happening here.

    I would like to use mod_k2_content on my homepage, but it doesn’t work…

    The same module shows items on one page, but nothing on the homepage…

    And it’s the same on other pages, some display the module correctly, and some display it blank…

    How come ?

    As I want to use only K2 for content on this website, I have to be able to use this module on all pages.

    Hoping for answers,
    Best regards,
    David aka Shapes

    redlight_traitor Friend
    #341260

    Have you also tried disabling other modules?

    redlight_traitor Friend
    #341261

    Try disabling “testimonials” on homepage and see if that works.

    David Porré Friend
    #341325

    Hi redlight_traitor,

    Yes, the links should work, it does here…

    I tried to disable all other modules, no change…

    Any other idea ?

    Hoping for answers,
    Best regards,
    David aka Shapes

    David Porré Friend
    #341468

    Hello redlight_traitor,

    Did you have some time to take a look at my problem ? Any idea ?

    Hoping for answers,
    Best regards,
    David aka Shapes

    Saguaros Moderator
    #341601

    Dear shapes!

    this is a bug of the module, we should wait for download the last version which the problem is fixed, but i would like to give you the solution at the monent

    1) please open the file: modulesmod_k2_contenthelper.php and try find and replace all :

    [PHP]&$params[/PHP]

    By this:
    [PHP]
    $params
    [/PHP]

    2) find code at line 18 ( after replaced all : &$params => $params):
    [PHP]function getItems($params, $format = ‘html’) {[/PHP]
    replace:
    [PHP]function getItems(&$params, $format = ‘html’) {[/PHP]

    Good luck

    David Porré Friend
    #341608

    Hello tienhc,

    Thanks for your answer, problem is solved !
    Would it be possible for you to keep me in touch when the new fixed version of the module comes out ?

    Best regards,
    David aka Shapes

    MIMOZAKALLO Friend
    #368816

    this fix work also with latest version of k2 2.4.1

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

This topic contains 8 replies, has 4 voices, and was last updated by  MIMOZAKALLO 13 years, 11 months ago.

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