Post by tamez11 » Wed Jun 02, 2010 1:21 am

Hello

I already install opencart in MAMP (php, Mysql, etc) the problem is that when i try to create a new template (coping default folder and paste it with another name for my template) i cannot edit it. Then i open dreamweaver locate that file and edit it, and nothing happen... i just cant edit it.

I would appreciate if someone help me, to edit my stylesheet.css

Thanks

Fernando Tamez

New member

Posts

Joined
Sat Apr 24, 2010 11:58 pm

Post by i2Paq » Wed Jun 02, 2010 1:42 am

Hmm, Apple/Mac osX.

You are sure that you have rights/access to that file?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by tamez11 » Wed Jun 02, 2010 1:45 am

How can i be sure of having rights/acces???

New member

Posts

Joined
Sat Apr 24, 2010 11:58 pm

Post by i2Paq » Wed Jun 02, 2010 2:21 am

tamez11 wrote:How can i be sure of having rights/acces???
I don't know, I do not use a Mac/os X ;)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by tamez11 » Wed Jun 02, 2010 2:24 am

You now wich files you have to give 777 permision?? just to the stylesheet.css??? or alot more???

New member

Posts

Joined
Sat Apr 24, 2010 11:58 pm

Post by fido-x » Wed Jun 02, 2010 6:35 am

Your problem probably lies in the fact that paths to stylesheets and template-related images are hard-coded in the template files. Go through the files in your new template folder, starting with "catalog/view/theme/YOUR_TEMPLATE/template/common/header.tpl", where you'll find (at line 16 or thereabouts) the following:

Code: Select all

<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
and change it to:

Code: Select all

<link rel="stylesheet" type="text/css" href="catalog/view/theme/YOUR_TEMPLATE/stylesheet/stylesheet.css" />

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia
Who is online

Users browsing this forum: No registered users and 13 guests