Demande de features

Replied by ced1870 on topic Demande de features

Posted 2 years 3 months ago #63180
Hi
thank you for your suggestion
this is not so easy to implement in the interface ...
may be that I can do a color replacement like in template creator, but this is page per page, article per article, and module per module
there is no replacement for all the items

CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by ced1870 on topic Demande de features

Posted 2 years 3 months ago #63181

micker wrote: hello desoler je le fait en fr
dans le panneau avec les blocks blog image etc ... cela ne filtre que si tu valides
se serait hyper pratique que ca filtre au fur et a mesure, genre "tex" => affiche le block texte sans attendre une validation

c'est noté :)

Joomlack Webmaster and Developer

by ced1870

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

Replied by Brendanh on topic Demande de features

Posted 2 years 3 months ago #63188
" this is not so easy to implement in the interface ... "

I know you like a challenge! lol

I know I'm probably missing the point here, but surely this is only the same as making the entry in the options css field, just as it would be for % or em values etc. on the css sizes? Just as it was when you updated the entries from only being in px.

So, I enter var(--main-bg-color) in the color field, instead of #222222. Then your js grabs it and places it in the css code for that page/template/article etc. that PB/TC automatically generates.

#row1mod2 {
color: white;
background-color: var(--main-bg-color);
margin: 10px;
}

Instead of:

#row1mod2 {
color: white;
background-color: #222222;
margin: 10px;
}

Then I only need to reference the variable once in my custom css:

:root {
--main-bg-color: brown;
}

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

Replied by ced1870 on topic Demande de features

Posted 2 years 3 months ago #63192
ok, this shall be possible
have you tested it ? you can write the value you want in the color field
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by ced1870 on topic Demande de features

Posted 2 years 3 months ago #63193
I have checked, it does not work. I will investigate

Joomlack Webmaster and Developer

by ced1870

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

Replied by Brendanh on topic Demande de features

Posted 2 years 3 months ago #63197
Hi Ced,

Yes, I did try out of interest, but it did not like the variable and just returned a black color to the color field.

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

Time to create page: 0.698 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 684 guests and no members online