Post by Darvey » Thu Oct 10, 2019 9:00 am

Hey guys,

I'm new to the Opencart platform.

I’m currently working with a theme installed. However I can’t seem to find anywhere to the white texts “Want more” and “Plant more” over the picture below.

I have tried to find them from catalog/view/theme/my_theme/template/common/ but nothing was like it. Is there anywhere that we can edit the texts there?

That would be great if I can find somewhere that I can edit the code like below.

I understand that Opencart does not runs html files like others but there must be somewhere in my directory that I can edit with right?

If I can have some tips on this would be so much appreciate as I have stuck with this for 3 days already!

The pages are using default layout if that is any helpful. Thanks!

Attachments

DCA43EA0423148EF861FBA8C957A7099.png

DCA43EA0423148EF861FBA8C957A7099.png (195.26 KiB) Viewed 1893 times

7D160556471340DCB959A08ECC10F634.png

7D160556471340DCB959A08ECC10F634.png (100.08 KiB) Viewed 1893 times

6BF9933EDD1D453B95B364A0F32A449F.png

6BF9933EDD1D453B95B364A0F32A449F.png (134.74 KiB) Viewed 1893 times


Newbie

Posts

Joined
Thu Oct 10, 2019 7:34 am

Post by OSWorX » Thu Oct 10, 2019 1:36 pm

Either such can be defined in your template settings, or the text is on the image directly.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Darvey » Fri Oct 11, 2019 9:49 am

OSWorX wrote:
Thu Oct 10, 2019 1:36 pm
Either such can be defined in your template settings, or the text is on the image directly.
Hi OSWorx,

Mind me if i ask this silly question...
The template setting you meant, is it by editing right from the code or there should be a template setting in the admin page?

Because I don't seem to find there is any setting in my admin page for template nor that section of the page.

Thanks you!

David

Attachments

Annotation 2019-10-11 144704.png

Annotation 2019-10-11 144704.png (26.59 KiB) Viewed 1842 times


Newbie

Posts

Joined
Thu Oct 10, 2019 7:34 am

Post by Darvey » Fri Oct 25, 2019 8:12 pm

I have managed to find the line in header.twig, but they look likt this:
<input type="hidden" id="txt-breadcrum1" value="{{ text_breadcrumb1 }}"/>
<input type="hidden" id="txt-breadcrum2" value="{{ text_breadcrumb2 }}"/>

And when i delete them, the text on the page then becomes undefined instead of disappearing.

I assume the breadcrumb leads to somewhere that can edit the value? But i have looked through the whole server and doesn't seem to find anything relates to breadcrumb except the picture.

Can someone please give me some advise i have been stuck in here for 3 weeks.

Newbie

Posts

Joined
Thu Oct 10, 2019 7:34 am

Post by OSWorX » Sat Oct 26, 2019 3:46 pm

Darvey wrote:
Fri Oct 25, 2019 8:12 pm
I assume the breadcrumb leads to somewhere that can edit the value?
Either these 2 values are defined
1. in a language file
2. by a modification
3. in the controller header.php (which sends the variables to the header.twig)

Maybe you post which template you are using.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Darvey » Wed Nov 06, 2019 5:22 am

OSWorX wrote:
Sat Oct 26, 2019 3:46 pm
Darvey wrote:
Fri Oct 25, 2019 8:12 pm
I assume the breadcrumb leads to somewhere that can edit the value?
Either these 2 values are defined
1. in a language file
2. by a modification
3. in the controller header.php (which sends the variables to the header.twig)

Maybe you post which template you are using.

Thank you so much! Successfully modified it in header.php :). Not sure how to set this as solution or close the post though.

Newbie

Posts

Joined
Thu Oct 10, 2019 7:34 am
Who is online

Users browsing this forum: No registered users and 360 guests