problem with c5 themes

Permalink
Hi guys recently id try to make my own theme
as described in andrews screencast i uploaded sucsesfully to c5 but when i try to load the website i receive this error:
"Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in C:\xampp\htdocs\site\themes\dirtylicious\default.php on line 9"
What goes wrong

1 Attachment

echelon
 
Remo replied on at Permalink Reply
Remo
would be a lot easier to tell you what's wrong if you would post your code..
echelon replied on at Permalink Reply
echelon
here is the line of code:

<link rel="stylesheet" type="text/css" href="<?=this->getThemePath()?>/default.css" media="screen"/>
andrew replied on at Permalink Reply
andrew
That should fix your problem.
echelon replied on at Permalink Reply
echelon
Sorry but i didnt see anything :)
Remo replied on at Permalink Reply
Remo
add a dollar sign before this $this->...
echelon replied on at Permalink Reply
echelon
Yeah it works thanks guys :)
echelon replied on at Permalink Reply
echelon
Yeah it works thanks guys :)

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.