i want to change DIRECTION of control panel pages. (dir=rtl (in html) OR direction: rtl; (in CSS))
but there isn't any configuration and theme for changing direction!!
how can i change it??
control panel theme
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: control panel theme
Yes, we have no option for that. Nobody of our developers knows a right-handed language and knows how to implement that.
Anyone volunteering for that is welcome. The HTML code code can be edited in serendipity_entries.php and serendipity_admin.php, the CSS code can be edited in the templates CSS style.css (or admin/style.css for Serendipity 0..
Regards,
Garvin
Anyone volunteering for that is welcome. The HTML code code can be edited in serendipity_entries.php and serendipity_admin.php, the CSS code can be edited in the templates CSS style.css (or admin/style.css for Serendipity 0..
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks, i'll check that files
i live in Iran and i have about 3 years experiences in PHP developement, so i think that i can help you if you want
i try to develope your code to be compatible with RTL and BIDI languages. but i need your help to support this in your next versions.
you have my email, if you want, for further developes, i can help you for RTL langs and ....
i live in Iran and i have about 3 years experiences in PHP developement, so i think that i can help you if you want
i try to develope your code to be compatible with RTL and BIDI languages. but i need your help to support this in your next versions.
you have my email, if you want, for further developes, i can help you for RTL langs and ....
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
You need to download latest 0.8 snapshot of Serendipity. The files are only there! "include/serendipity_entries.inc.php"
The admin.css is inside the template' templates/TEMPLATENAME/css/admin folder.
The weekday names for calendar are outputted via your system's locale.
Regards,
Garvin
The admin.css is inside the template' templates/TEMPLATENAME/css/admin folder.
The weekday names for calendar are outputted via your system's locale.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
i think you mean "include/functions_entries.inc.php", thanks.You need to download latest 0.8 snapshot of Serendipity. The files are only there! "include/serendipity_entries.inc.php"
Thanks, i solved most of problems!! but i think your uri is wrong again, it would be "templates/TEMPLATENAME/admin"The admin.css is inside the template' templates/TEMPLATENAME/css/admin folder.
a new question (should i open a new topic for new question??)
1- i changed the language to my own language (Persian)
2- i must logged out, then logged in...
3- all langs are Persian.
4- after clicking on ANY link, it switched to english!!
5- it happend in admin control panel only.
another question!!
why it shows "Warning: Your current template is using a deprecated template method, you are advised to update if possible" for "Mozilla Modern Tribute"???
Best Regards, Omid
oops, i must change my own user language to Persian tooa new question (should i open a new topic for new question??)
1- i changed the language to my own language (Persian)
2- i must logged out, then logged in...
3- all langs are Persian.
4- after clicking on ANY link, it switched to english!!
5- it happend in admin control panel only.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi oxygenws!
Sorry for the wrong URLs, I wasn't being exact there.
The usage of that layout.php method is still possible, but you get better performance, if you adjust the template to use Smarty. If Serendipity detects that you use the old method, it emits a warning on the Theme Selection panel:
"Warning: Your current template is using a deprecated template method, you are advised to update if possible"
Doing that is quite easy: Take the .tpl files you need from the 'default' template folder and adjust them to fit the style of your template. Make it look like it looked previously using the layout.php.
If you need to execute certain PHP-code within the layout.php you can now put that code into 'config.inc.php' inside your template directory. This PHP code is then executed before our templating engine displays your templates. That means you can also add your custom Smarty modifiers in that file.
After having adjusted the files (you usually only need to edit the index.tpl file) you can delete layout.php and the warning message will disappear, and you will be able to use the full power of Smarty Templating.
Currently, a few bundled templates (like Mozilla Modern) are still using the old method. As soon as the developers find some time, they will be adapted to the new templating.
Regards,
Garvin
Sorry for the wrong URLs, I wasn't being exact there.
Since Serendipity 0.8, we offer the users a way to use Smarty Templating to customize their templates. This means that older 'layout.php' files inside the templates directories are no longer needed, as everything done there can be achieved via editing the various *.tpl files.why it shows "Warning: Your current template is using a deprecated template method, you are advised to update if possible" for "Mozilla Modern Tribute"???
The usage of that layout.php method is still possible, but you get better performance, if you adjust the template to use Smarty. If Serendipity detects that you use the old method, it emits a warning on the Theme Selection panel:
"Warning: Your current template is using a deprecated template method, you are advised to update if possible"
Doing that is quite easy: Take the .tpl files you need from the 'default' template folder and adjust them to fit the style of your template. Make it look like it looked previously using the layout.php.
If you need to execute certain PHP-code within the layout.php you can now put that code into 'config.inc.php' inside your template directory. This PHP code is then executed before our templating engine displays your templates. That means you can also add your custom Smarty modifiers in that file.
After having adjusted the files (you usually only need to edit the index.tpl file) you can delete layout.php and the warning message will disappear, and you will be able to use the full power of Smarty Templating.
Currently, a few bundled templates (like Mozilla Modern) are still using the old method. As soon as the developers find some time, they will be adapted to the new templating.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/