51 Posts
ostap
6 years ago
7
Topic

Yesterday I purchased the product “Chart Templates” and was unpleasantly surprised by its modest capabilities.

I would really like it like this:

https://screenshots.firefox.com/JhG4KPuP2AGthsuy/www.a0250268.xsph.ru

Ie, to:

1. There were visible values at the vertices of the histogram, and all the time, and not in the pop-up mode

2. It would be possible, in addition to the main value, to add an additional field value, for example, percentages.

But the product has no such features! :(

Is there any way to do this?

Ostap

Get a Book for SEBLOD
332 Posts
Kenneth
6 years ago
6
Level 1

Hi. 

I'm not sure position overrides works with this template, as I haven't used it before. 

But if you check into what those are, I'm pretty sure you can make it so. If not, you can change the template itself, after duplicating it and creating another version of it (so the "original" is kept as it is.

I added some resources that might help you in the right direction. 

51 Posts
ostap
6 years ago
5
Level 2

Thanks, Kenneth!
I will study.
Ostap

332 Posts
Kenneth
6 years ago
4
Level 3

No problem. Check back if you get stuck or need feedback. The more specific you are, the easier it is to help.

51 Posts
ostap
6 years ago
3
Level 4

Thanks Kenneth!
You provided me with a good direction and I have studied very important topics these days: “Overriding a Position” and Using Position Variations. It will definitely benefit me in the future.
Sorry, but these topics are not useful for my specific question:
1. “Overriding a Position” does not work in the List, i.e. where we apply chart tamplate
2. I was surprised to find that using Chart Tamplate Using Position Variations does not work !!! Moreover, I tried to apply the built-in “Variation” to [1]: seb_css3 or seb_css3b: without result, this does not affect the output!

332 Posts
Kenneth
6 years ago
2
Level 5

Hi again,

Try this:

  1. Copy the folder on you server/local for the chart template. Go into the file templateDetails.xml in this new folder and change <name>NEW NAME HERE</name>
  2. Then in Joomla administrator go to Extension -> Manage -> Discover. If no items is in this list, push "Discover" button before you select and push "Install" button.
  3. Go to Seblod -> Templates -> New. Then add a name for it, folder, and select the template you just copied and renamed in step 1. Type pick list. Save.
  4. Go to the seach & list type and change to this newly addded template, check if it works. If it does, then you can go ahead and change this copy of the template to your liking, without changing the original template. (The file you then need to change is index.php in the cloned template folder)

Did this work better to get it as you want?

51 Posts
ostap
6 years ago
1
Level 6

Thanks for the detailed instructions. It is useful to me.

Have to be forced to become a master of templates.

Ostap

332 Posts
Kenneth
6 years ago
0
Level 7

No problem. Let me know how it goes, and if you need any more help.

Get a Book for SEBLOD