cotonti.com : Changing style for input / Options in select https://www.cotonti.com Останні повідомлення в темі Cotonti en Sun, 30 Nov 2025 01:30:25 -0000 Trustmaster There's a new type of tags recently added for that: {PAGE_LICENSE_VALUE} for instance. I'm not sure if it is already available in 0.9.12.1 or you need to grab the latest version from Github to use them.

]]>
Пн, 04 Лют 2013 17:35:45 -0000
Mr G. #36876 Trustmaster:

Right guess about $R, what you need to override is $R['input_text_rpagetitle'] in your theme PHP file.

Works fine, thx :)

Added 1 weeks later:

Hi, i have another question.

I have extra field select on page (License) with some options (by, by-sa, by-nc, by-nc-sa, by-nd, by-nc-nd), and in language file

ie. $L[license_by] = 'Attribution'; $L[license_by-sa]=........

, that works fine on page.edit.tpl, but on page.tpl i want to display options from db not translations, cuz it's a part of link

<a href="http://creativecommons.org/licenses/{PAGE_LICENSE}/3.0/pl/" title="creativecommons"><img src="http://i.creativecommons.org/l/{PAGE_LICENSE}/3.0/pl/88x31.png" alt="creativecommons"/></a>

Any ideas how to do it?

]]>
Пт, 25 Січ 2013 09:49:54 -0000
Trustmaster Right guess about $R, what you need to override is $R['input_text_rpagetitle'] in your theme PHP file.

]]>
Thu, 24 Січ 2013 13:29:03 -0000
Mr G. Thanks for answer.

not so handy solution, but i think i have no choice :)

i thought maybe there is some trick with callbacks or $R

]]>
Thu, 24 Січ 2013 12:37:18 -0000
Kort add the following line to the js.js:

$('input[name=rpagetitle]').css('font-size','2em');

... or assign a class:

$('input[name=rpagetitle]').addClass('someclass');

... or use plain css:

input[name=rpagetext] { font-size:2em; }

 

]]>
Ср, 23 Січ 2013 15:57:02 -0000
Mr G.  

Hi.

I have one question.

Is there a possibility to change the style of input for title in page.add.tpl? There is only a {PAGEADD_FORM_TITLE}, and i want to change font size only for title input, not for all inputs...

 

]]>
Ср, 23 Січ 2013 13:48:03 -0000