• Resolved eddiedoidao

    (@eddiedoidao)


    Hi Meitar!

    First of all I would like just to say thank you for this kind of plugin. It’s being awesome on my website.

    So let me explain:

    My client has a lot of customers and I’m creating a Chart for every of her customers so I will create different pages for them.

    However, if I would like to change the graph appearance in the future, or change some charge column, I would need to change the code on every page.

    So I was thinking: is it possible to make something like [chart]googlecharturl.com[/chart] where the [/chart] will have all the code after the googlechart url.

    For example [/chart] = ” chart=”Line” query=”select A, B, C, D” chart_legend=”bottom” chart_height=”400″ chart_point_size=”10″ use_cache=”no”]

    I’m so sorry if I’m not clear, but if you could just give me a heads up. I’ll go for it, just need to clarify a little.

    Thanks

    https://www.ads-software.com/plugins/inline-google-spreadsheet-viewer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Meitar

    (@meitar)

    I understand what you’re suggesting and agree it is a good idea, a nice feature to have. I’ve added it to the project’s issue tracker. However, I don’t know when or even if I’ll ever get around to doing this myself, so if you would like to submit a patch (or get someone else to develop a patch and send it to me), that would speed up the implementation of such a feature considerably.

    Thread Starter eddiedoidao

    (@eddiedoidao)

    Hi Meitar!
    That’s awesome, it could be just the start of an awesome tool for the plugin!

    I will definitely start looking into it!

    Meanwhile I’m trying to get a easier solution (not that case) but trying to make easier to my client using the plugin.

    I installed custom forms and added a field (Chart Link) where she just paste the links without worrying editing the code. However, it looks like shortcodes inside shortcodes don’t work…

    Here’s the explanation:

    [gdoc key=”[acf field=”chart”]” class=”no-datatables” use_cache=”no”]

    Where’s the [acf field=”chart”] is the custom form where she places the url.

    Have you haver found a solution to make what I’m trying to do? or it is the same fix as you answered before?

    Thank you!

    Plugin Author Meitar

    (@meitar)

    WordPress core doesn’t support nested shortcodes. You might have some luck with the Nested Shortcodes plugin, but I have never used it and cannot vouch for its compatibility.

    You can use something like WP-CLI to do a global find-and-replace, but of course this is not “easy to use” for less technical people.

    The right solution to making the plugin easier to use for less technical people is to improve its interface. This has been a long standing goal but, as this is a volunteer project and I am the only person working on it, and I have a lot of volunteer projects that I am working on, and I do not get paid for any of them, I have not implemented a “better interface.” As I said before, you’re more than welcome to do that work and send it to me and I will happily integrate it into the plugin and credit you for your work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Making plugin easier for future changes.’ is closed to new replies.