Modify theme to run on 11.x

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
pcp20us

Modify theme to run on 11.x

Post by pcp20us »

Hi All.

I am running the grass stain theme on my wesite ( 1.9.1). My test server when upgraded to 11.x, breaks the menus. They simple are not visible on the site.
I have tried the warning on themes on 11.x and changing the Stylesheet to cms_style sheet. This did not help.

My sytem is
Running on Apache version 2.2.24
PHP version 5.3.22
MySQL version 5.5.25-cll
Architecture x86_64
Operating system linux

I do not think the theme is written in the way themes are design in cmsms. ( i do not understsnd the termminogoly so please forgive me).

So i would like to keep the theme and would also like to change layout so it looks landscape as opposed to portrait http://www.selfsustain.com.au..

So need advice on how best to do this, and if it is complicated.


Cheers
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Modify theme to run on 11.x

Post by staartmees »

the horizontal menu at the top of tyhe page works fine.

to widen the template, you have to edit the stylesheet and increase the width of the wrapper, header, ...
pcp20us

Re: Modify theme to run on 11.x

Post by pcp20us »

This is my live site its running 1.9.1 at present.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Modify theme to run on 11.x

Post by staartmees »

Remove spaces from the name of the used menu. So e.g. simple_horizontal instead of simple horizontal
pcp20us

Re: Modify theme to run on 11.x

Post by pcp20us »

Hi

I installed 11.4 and up loaded my grass stains theme. the error msg is below. So looks like something to do withstylesheet, but where is it?


Error: at line 702 in file /home/noosaima/public_html/cms11/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:

Message:

Syntax Error in template "tpl_head:24" on line 11 "{stylesheet}" unknown tag "stylesheet"
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Modify theme to run on 11.x

Post by staartmees »

Please read the warning notice on http://themes.cmsmadesimple.org/
pcp20us

Re: Modify theme to run on 11.x

Post by pcp20us »

I have read it and tried it but did not fix the problem
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Modify theme to run on 11.x

Post by staartmees »

Replacing {stylesheet} with {cms_stylesheet} and clearing the websitecache should fix the problem. Also refresh the page in your browser with Ctrl F5
bob_basli
Forum Members
Forum Members
Posts: 189
Joined: Mon Sep 24, 2007 6:18 pm
Location: The Netherlands

Re: Modify theme to run on 11.x

Post by bob_basli »

Did you also apply the changes of the path

Code: Select all

Open style sheets and change image calls:
 old url(uploads/folder/image.jpg)
 new url([[root_url]]/uploads/folder/image.jpg)
Locked

Return to “Layout and Design (CSS & HTML)”