Post by butterworms » Sun Oct 05, 2008 7:38 pm

Im far from an experienced php person, but i understand the very basics.

Ive installed the contribution for 0.7 opencart homepage upgrade, and all seems ok...although I do get an error on running the upgrade sql file.

And I dont get a image tab in the admin side either.....however the homepage does display new text input as its supposed to, but with some errors (attached)

My problem is, with the catalog home.tpl file.

line 6 apparently has an undefined variable "text_greeting"
and line 22 has the same problem: text_latest

Is anyone able to confirm what I am doing wrong to resolve these problems.

Newbie

Posts

Joined
Wed Jul 16, 2008 7:18 am

Post by jty » Sun Oct 05, 2008 8:09 pm

If you search the forum for the keyword "homepage", there are other threads on this
Try these 2 threads
http://forum.opencart.com/index.php/top ... ml#msg7934
http://forum.opencart.com/index.php/topic,1524.0.html

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by butterworms » Mon Oct 06, 2008 1:37 am

Thanks for your reply...the first link worked a treat, although I had visited that page, the link took me further down and I didnt look at the top! School boy error!  ::)

Can anyone explain why I dont see an images tab in the homepage editing area of catalog?

Newbie

Posts

Joined
Wed Jul 16, 2008 7:18 am

Post by fido-x » Mon Oct 06, 2008 4:40 pm

Hi butterworms,

The reason you're not seeing an images tab in the homepage editing area of the catalog, is because another member of the forum (geek) decided he didn't like having an image attached to the story and, subsequently, uploaded a modified version to the contributions site. This would appear to be the version that you got.

The original (unmodified) contribution from this link http://www.opencart.com/contribution/do ... sion_id/97, should contain everything you need (including the images tab). Or, alternatively, visit http://www.fido-x.net/ and get it there.

Regards, Fido-X.

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

Post by butterworms » Mon Oct 06, 2008 5:50 pm

Thanks Fido,

So I assume the only real change I need to make here is the files that are uploaded to the site? no change to the sql files???

Thanks

Ian

Newbie

Posts

Joined
Wed Jul 16, 2008 7:18 am

Post by butterworms » Mon Oct 06, 2008 6:46 pm

All working now. Thanks for all the help :)

Newbie

Posts

Joined
Wed Jul 16, 2008 7:18 am

Post by jty » Sat Oct 18, 2008 10:43 pm

Hello fido-x,
I installed your home page contribution on 0.7.9 RC2 and I'm getting those html chars

To fix it, I changed
In admin/controller/homepage.php

From

Code: Select all

$value['description']));
to

Code: Select all

html_entity_decode($value['description'])));
Twice, once for insert and also for update
Thanks for this contribution

jty
Active Member

Posts

Joined
Sat Aug 30, 2008 8:19 am

Post by fido-x » Sat Oct 18, 2008 11:09 pm

Hi jty,

Thanks for the info on that, I haven't tried it with 0.7.9 RC2 yet, so I wasn't aware of there being an issue. I know I had to use html_entity_decode() for the package I released for 1.0 beta. I'll release an updated package when I get a chance to.

Fido-X.

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 2 guests