• Sign up for TFS Icon Competition! The prize includes Otland Premium time and a medal, as well as obviously taking part in TFS history.
  • There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Znote Background color

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,715
Solutions
9
Reaction score
273
Location
Chile
I have a question im editing znoteacc for personal purposes. and i want to change the dark blue background layout to another one i have been cheking with grepwin

but can't find nothing please enlighteen me
where should i search?
 
Solution
That is hard to do I think. You must start from a simple selection menu, like this:

And trigger the layout change in the options. That's the part I don't know how to, you might duplicate the layout folder and see which part loads the layout, in that case, if you select option 1, then, ...load layout A. If you select option 2, then..., load layout B. To don't inferfer with index.php I recommend to make users select layout with a landing page, before the index (like this).
Post automatically merged:

#Edit...

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
695
Solutions
16
Reaction score
246
Location
Santiago - Chile
@Felipe93 you can find background information in style.css. In my case the line is
PHP:
background: url(img/bg.png) no-repeat center top #171410;
#171410 is the html color value that defines my background color. Just search "html 171410" on google and that will send you to lots of websites that has html information. If you need to set a color palette, this are the basic color combinations Color Wheel - Color Calculator | Sessions College (https://www.sessions.edu/color-calculator/) you can calculate there, but if you want more complex combinations I suggest you to reference color palettes (example: Colors and Styles | Color palette, Color schemes colour palettes, Color palette design (https://www.pinterest.cl/pin/500814421063876576/)) or buy this book Armonia cromática (https://issuu.com/editorialblume/docs/armonia_cromatica)

Regards!
 
OP
Felipe93

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,715
Solutions
9
Reaction score
273
Location
Chile
@Felipe93 you can find background information in style.css. In my case the line is
PHP:
background: url(img/bg.png) no-repeat center top #171410;
#171410 is the html color value that defines my background color. Just search "html 171410" on google and that will send you to lots of websites that has html information. If you need to set a color palette, this are the basic color combinations Color Wheel - Color Calculator | Sessions College (https://www.sessions.edu/color-calculator/) you can calculate there, but if you want more complex combinations I suggest you to reference color palettes (example: Colors and Styles | Color palette, Color schemes colour palettes, Color palette design (https://www.pinterest.cl/pin/500814421063876576/)) or buy this book Armonia cromática (https://issuu.com/editorialblume/docs/armonia_cromatica)

Regards!
Thanks you a lot man!

and does anybody know how do i add a code to make it works similar to otland? the users can select between dark, white or blue theme?
 
Last edited:

ralke

(҂ ͠❛ ෴ ͡❛)ᕤ
Joined
Dec 17, 2011
Messages
695
Solutions
16
Reaction score
246
Location
Santiago - Chile
That is hard to do I think. You must start from a simple selection menu, like this:

And trigger the layout change in the options. That's the part I don't know how to, you might duplicate the layout folder and see which part loads the layout, in that case, if you select option 1, then, ...load layout A. If you select option 2, then..., load layout B. To don't inferfer with index.php I recommend to make users select layout with a landing page, before the index (like this).
Post automatically merged:

#Edit I saw once that MyAAC has a layout change for default and has layouts ordered in a template folder, check for that script if is usefull
There's an option for this:
PHP:
'template_allow_change' => true, // allow users to choose their own template while browsing website?
You need to investigate where is this configuration located, or ask to slawkens.
 
Last edited:
Solution
OP
Felipe93

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,715
Solutions
9
Reaction score
273
Location
Chile
That is hard to do I think. You must start from a simple selection menu, like this:

And trigger the layout change in the options. That's the part I don't know how to, you might duplicate the layout folder and see which part loads the layout, in that case, if you select option 1, then, ...load layout A. If you select option 2, then..., load layout B. To don't inferfer with index.php I recommend to make users select layout with a landing page, before the index (like this).
Post automatically merged:

#Edit I saw once that MyAAC has a layout change for default and has layouts ordered in a template folder, check for that script if is usefull
There's an option for this:
PHP:
'template_allow_change' => true, // allow users to choose their own template while browsing website?
You need to investigate where is this configuration located, or ask to slawkens.
i know how to find it thanks you a lot <3 that was exactly was i was looking for or it's really similar
 
Top