-
AuthorPosts
-
woluweb Friend
woluweb
- Join date:
- October 2012
- Posts:
- 196
- Downloads:
- 18
- Uploads:
- 69
- Thanks:
- 68
- Thanked:
- 31 times in 3 posts
December 15, 2015 at 6:11 pm #815555OK, 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 16, 2015 at 9:23 am #816427I 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 FriendAlp
- Join date:
- November 2015
- Posts:
- 145
- Downloads:
- 396
- Uploads:
- 12
- Thanks:
- 10
- Thanked:
- 2 times in 2 posts
December 21, 2015 at 10:46 pm #827994So 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 22, 2015 at 3:27 am #828209Hi Alp,
You can post your site’s URL here and screenshot of how you want to achieve.
Alp FriendAlp
- Join date:
- November 2015
- Posts:
- 145
- Downloads:
- 396
- Uploads:
- 12
- Thanks:
- 10
- Thanked:
- 2 times in 2 posts
December 24, 2015 at 11:37 pm #830977This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 25, 2015 at 3:17 am #831059Hi 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.
-
AuthorPosts
This topic contains 22 replies, has 5 voices, and was last updated by celinahex 8 years, 3 months ago.
The topic ‘JA Bookmark plugin with Virtuemart’ is closed to new replies.