EffectCK and VirtueMart

More
7 years 3 months ago #45401 by ClaudioRomeo
Here: testsrp.it/index.php/sport/boxe/rex-detail
You can see the difference between the main image (that doesn't work) and the image within the description (that works).

Counselor for better people in a better company

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #45402 by ced1870
Replied by ced1870 on topic EffectCK and VirtueMart
the css class is "effectck-1" and not "effectck-blackboxe"

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #45404 by ClaudioRomeo
Mmm....
Well, the general rule is therefore this:
  • if you can insert the name of the effect by the Image Effect CK interface it can be explicit
  • if you can non insert the name of the effect by the Image Effect CK interface it has to be expressed by its style ID
Am I right?
I don't know if this rules operates only in VirtueMart. Probably not.

Counselor for better people in a better company

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #45405 by ced1870
Replied by ced1870 on topic EffectCK and VirtueMart
no, I will explain (using the interface to create your style)
the name is used into the interface, so that you can know what it is
the css class is automatically generated using the ID, like "effectck-XX"

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #45406 by ClaudioRomeo
Sorry, Céd, but maybe my Italian-English and your Franch-English are arguing... Or maybe I'm just too old! :)

Example: the custom style is blackboxe and its ID is 1.
  • If I insert effectck-blackboxe in the VirtueMart box, the effect doesnt'work.
  • If I insert effectck-1, the effect works
  • If I insert effectck-apollo (or any other standard style), the effect works.
Please, note that in the Image Effect CK button list, the custom style is named as blackboxe.

This refers to the main image only.
With regards to the images within the product description, I can use the Image Effect CK button, selecting blackboxe regularly.

Counselor for better people in a better company

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #45407 by ced1870
Replied by ced1870 on topic EffectCK and VirtueMart
ok,
- you have created your first effect in the interface
- this effect has the name "blackboxe"
- this effect has the ID 1

the css class that you need to use is "effectck-1" which is correct regarding your explanations

If I insert effectck-1, the effect works


the name is only used into the interface, in the list of styles and in the editor button list of styles. The CSS uses the ID
there is a relation between the name and the ID (for display => name, for css use => ID)

is that better ?

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.213 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 950 guests and 4 members online