- Support Forum
- /
- Main Forum
- /
- Joomla Extensions Support
- /
- vChart
- /
- Embedding vChart in custom component
Embedding vChart in custom component
- Daniel
-
- Offline
- Administrator
-
Hello,
If you want us to write the code to trigger the plugin event, we can do that for you. Please contact our Sales team via Contact us-> Request a Quote form along with the database table structure on which you want to trigger the event. We'll look into it.
Thanks
Daniel
Please Log in or Create an account to join the conversation.
- Bimlesh Singh
-
Topic Author
- Offline
- New Member
-
- Posts: 2
Thanks Daniel for your reply.
Could you please send a code snippet for the same. Am not a full fledged joomla developer and your reply was of not much help. I searched the whole forum and could not find a code snippet or documentation to implement the same. Think a proper documentation of the 2 use cases I mentioned would be helpful for community in general plus would also add value to already great product of yours.
Thanks
Bimlesh
Please Log in or Create an account to join the conversation.
- Daniel
-
- Offline
- Administrator
-
Hello,
Please find the comments below:
1. {vchartmodule 63} works wherever the OnContentPrepare event is triggered irrespective of the component where it is being triggered. It works in Articles because this event is being triggered.
2. Yes, vChart has got the option to let you write dynamic SQL queries. You can pass GET/POST variables using the following keyword {id}, {catid}, {userid} etc where id, catid, userid are the variables in which GET/POST variables are available.
Thanks
Daniel
Please Log in or Create an account to join the conversation.
- Bimlesh Singh
-
Topic Author
- Offline
- New Member
-
- Posts: 2
Hello Team
First of all its a great product. Just bought it and was able to create and publish charts in a ziffy .
Two quick queries if you can help:
1. Embedding works for joomla articles, but could not understand how to embed it into my custom component.
{vchartmodule 63} does not work in my custom component view.
2. Can I pass dynamic sql queries to a created chart? If yes how to do it.
Thanks for your help in advance.
Bimlesh
Please Log in or Create an account to join the conversation.