Subject: Changes for Theme

Posted on: 17/02/11 03:50pm
By: uyghurmen

I want to some chenges to theme: search box put on header-beside the logo, and put a header image full size on header (on "Professional" as header size and little higher as well). I translate geeklog to my language. it's right to left. so I put a line to CSS file such as: $lang_DIRECTION= 'rtl'; I want to centering the Stories title, but didn't find which one is what and other.
http://www.eynek.biz/Sinaq can check it obove link.
How to do for those?
Thanks anyone help.

Re: Changes for Theme

Posted on: 17/02/11 03:53pm
By: Dirk

See the theme documentation. You probably want to start with a copy of the Professional theme to make your changes in, so you have a working theme to fall back to. See http://wiki.geeklog.net/index.php/Troubleshooting_themes

bye, Dirk

Re: Changes for Theme

Posted on: 17/02/11 04:43pm
By: uyghurmen

Quote by: Dirk

See the theme documentation. You probably want to start with a copy of the Professional theme to make your changes in, so you have a working theme to fall back to. See http://wiki.geeklog.net/index.php/Troubleshooting_themes

bye, Dirk



Thanks alot, but too much text, read all of them not possible, and not clearly understood also.

Re: Changes for Theme

Posted on: 17/02/11 04:54pm
By: Dirk

Seriously? Confused

Make a copy of an existing theme and modify that. Go to My Account and change the theme setting from Professional to whatever you named your new theme (the theme name is the directory name).

The search field is in leftblocks.thtml and it sounds like you want to move it to header.thtml.

If you need more information than that, then you should really read the documentation.

bye, Dirk

Re: Changes for Theme

Posted on: 17/02/11 05:08pm
By: uyghurmen

Quote by: Dirk

Seriously? Confused

Make a copy of an existing theme and modify that. Go to My Account and change the theme setting from Professional to whatever you named your new theme (the theme name is the directory name).

The search field is in leftblocks.thtml and it sounds like you want to move it to header.thtml.

If you need more information than that, then you should really read the documentation.

bye, Dirk


Right now I have not other theme, I want search box move to header. How is the code? Or which code line change to header.thtml? logo move to right, search box left on header, I did CSS logo-fload: left, change to right, but logo still left. any other do something I think.
Thanks again.

Re: Changes for Theme

Posted on: 19/02/11 09:53am
By: beewee

This Geeklog website has the search function on top of the header: http://www.kampeerzaken.nl. View the source code and css, it's not that difficult.

Re: Changes for Theme

Posted on: 20/02/11 11:56am
By: uyghurmen

Quote by: beewee

This Geeklog website has the search function on top of the header: http://www.kampeerzaken.nl. View the source code and css, it's not that difficult.


Yes, I saw. Very Very nice theme. But How to do? where can I find source code?
Change which files?...

Re: Changes for Theme

Posted on: 21/02/11 04:32pm
By: beewee

Did you read the docs, like Dirk pointed you to earlier? You have to change **/public_docs/layout/name-of-the-theme/header.thtml.

Re: Changes for Theme

Posted on: 21/02/11 06:13pm
By: uyghurmen

Quote by: beewee

Did you read the docs, like Dirk pointed you to earlier? You have to change **/public_docs/layout/name-of-the-theme/header.thtml.


OK, **/public_docs/layout/new theme (change this name)
But what about header.thtml ? (how to change that file?)

Re: Changes for Theme

Posted on: 23/02/11 09:26am
By: beewee

Use an ordinary text editor, like Notepad, or better Notepad +++. If you do not have any knowledge of html, stay away of these files..

Re: Changes for Theme

Posted on: 23/02/11 10:39am
By: uyghurmen

Quote by: beewee

Use an ordinary text editor, like Notepad, or better Notepad +++. If you do not have any knowledge of html, stay away of these files..


You looks like didn't understand my question, Sir.
I know where can I edit the file. Even I can do this in my Control Panel provided by web server. My question is, header.thtml changes which line? or add what between which and which line?
I understood I have to change new theme file name to "professional".
Thanks your reply.

Re: Changes for Theme

Posted on: 23/02/11 12:00pm
By: Roccivic

where can I find source code?

Open that website in your browser, then right click somewhere in the page and select "view source" or whatever is the equivalent in your browser.

You could open your header.thtml file and place the following text at the top and bottom of the file:

PHP Formatted Code
<!-- start of header.thtml -->
...

...
<!-- end of header.thtml -->


Then go and view the source of the file that your webserver has generated in your browser again and search for the comments that you have just inserted.

Or, just hire a programmer to customise the site for you Big Grin

Rouslan

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=92089