test
Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • woluweb Friend
    #815555

    OK, better than giving you credentials, I have tried to figure out by myself 🙂

    So in k2category.php around line 109 you changed "element" to "name"
    was :

    $query = " SELECT COUNT(*) FROM #__extensions AS e WHERE e.element ='$component' AND e.enabled=1";

    now is :

    $query = " SELECT COUNT(*) FROM #__extensions AS e WHERE e.name ='$component' AND e.enabled=1";

    So, in vmcategory.php, I tried to also change "element" to "name"
    Was :

    ->where($db->quoteName('element').'='. $db->quote($component));

    Now is :

    ->where($db->quoteName('name').'='. $db->quote($component));

    … and yessssss ! now it works fine : no error message (cf screenshot I sent).

    But how comes that "element" works on some sites and that it has to be renamed "name" for other sites ??
    (because I have installed and tested the latest JA Bookmark, the same version, on a fresh test-site done on demojoomla.com, and there it would work fine, even without renaming "element" to "name" !)

    Saguaros Moderator
    #816427

    I tried with fresh Joomla site and site with our templates but it works. I meant I just need to change in k2category.php file only. Not sure if in some of your sites use 3rd party extensions or not because it may cause conflict sometime.

    Alp Friend
    #827994

    So I made the same what woluweb suggested and now it runs.

    The only question I have now is where can I change the position on my site.

    I would like to place to plugin next to the search box on the top right corner.

    Can you help me?

    Best regards

    Alp

    Saguaros Moderator
    #828209

    Hi Alp,

    You can post your site’s URL here and screenshot of how you want to achieve.

    Alp Friend
    #830977
    This reply has been marked as private.
    Saguaros Moderator
    #831059

    Hi Alp,

    You will need to customise much on this case to achieve that. If you’re not familiar with code, I recommend you to hire a developer to get it done for you.

    celinahex Friend
    #959203

    Thank you! this odd fix just solved my exact same problem!

Viewing 7 posts - 16 through 22 (of 22 total)

This topic contains 22 replies, has 5 voices, and was last updated by  celinahex 8 years, 4 months ago.

The topic ‘JA Bookmark plugin with Virtuemart’ is closed to new replies.