Post by turbulence » Tue Oct 03, 2017 5:14 am

Trying to figure out why changes I'm making to a template are not loading.

I know that template files could be under /catalog/view/theme/etc, etc, or /storage/modifications/catalog/view/theme, and so on.

So there are different folders that the template file could be loaded from.

Is there any option, or extension, or mod, or whatever, that will show me exactly WHERE the template file is coming from?

Newbie

Posts

Joined
Sat Feb 12, 2011 1:11 am

Post by yodapt » Tue Oct 03, 2017 5:23 am

If you have cleared / disabled cache in admin, and none of those changes showed up, your file content is probably coming from the database.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by sitedeveloper999 » Tue Oct 03, 2017 5:47 am

I sincerely doubt that the entire category.twig file was somehow cached in the database... unless OC is getting REALLY weird in Version 3.

This is exactly why I'd love to have the option to see exactly where the hell the content is coming from.

Magento has a "reveal path" option, that puts overlays on top of the sections, so you can see exactly what the "building blocks" of the page are.
That's sort of what I'm looking for.

New member

Posts

Joined
Tue Aug 09, 2016 2:09 am

Post by IP_CAM » Tue Oct 03, 2017 5:55 am

Well, for the older OC - Versions, it exists too ! :D
Hintomania free, OC v.1.5.4.1 - 2.2.0.0
https://www.opencart.com/index.php?rout ... n_id=27211
---
And even for the latest One's:
TemplatePaths - OpenCart Template Path Hints OC v.1.5.4.1 - 3.0.1.1, 3.0.1.2, 3.0.2.0, 3.0.2.1b:
https://www.opencart.com/index.php?rout ... n_id=24053
Image
Last edited by IP_CAM on Tue Oct 03, 2017 6:03 am, edited 4 times in total.

I'm no longer active at the OC Forum. To reach me, contact: jti@jacob.ch
A Demoversion of my free Opencart LIGHT v.1.5.6.5_rc Software
can be seen in Action here: http://www.bigmax.ch
---
930+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by sitedeveloper999 » Tue Oct 03, 2017 5:57 am

OMG, so much this.

I'll try to find the OC3 version. Or if you come across one, PLEASE let me know.

New member

Posts

Joined
Tue Aug 09, 2016 2:09 am
Who is online

Users browsing this forum: No registered users and 31 guests