Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
cant be achieved from admin->design layout... And i dont want to get rid of all of them. I want to keep some there.
something like:
Code: Select all
{% for module in modules %}
{% if 'Downloads' not in module %}
{{ module }}
{% endif %}
{% endfor %}
Thanks.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
By simply removing the lines manually in your account.twig file for each of those titles and links should be more than enough as it should resolve the issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
.....
general code
......
then
Code: Select all
{{ content_bottom }} </div> {{ column_right }}
since the ones I want to remove are on the right column, i checked column_right.twig and it has this
Code: Select all
{% for module in modules %}
{{ module }}
{% endfor %}
You must probably use a custom theme. The account.twig file does not contain a: {{ column_bottom }} in the codes from OC v3.0.2.0 default theme. If so, please contact the extension theme developer in order to integrate your requirements.alexmath wrote: ↑Mon Dec 11, 2017 11:18 pmbut account to twig has this
.....
general code
......
thenCode: Select all
{{ column_bottom }} </div> {{ column_right }}
since the ones I want to remove are on the right column, i checked column_right.twig and it has thisit is not so straight forward.Code: Select all
{% for module in modules %} {{ module }} {% endfor %}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Forexample say for the route:
Code: Select all
route=account/recurring
I checked them all
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I join the OP, I'm still looking for a solution to remove selected menu items. Where does "{% if modules %}" populate from here? Please help.
No, we are not trying to figure out how to remove from main menu (The one that pops up on the left side of the default theme, the one where it has a bigger text with categories such as Account, Newsletter so on...) We are desperately trying to find out how to remove, edit or change items within the table on the right side. And so far, all of us have found out, that it is not in the twig. Well, one can remove the entire table using the twig, but we cannot remove/edit one or more of the items in the table. The table to the right. Not center, nor left.
When opening layout-account-account.twig we get this refrence to the table on the right: {{ column_right }}
But where is this refrense location? Where can one find the main file, that all these files point to?
I've been looking through ALL files within Theme Editor (admin panel) and it is not a twig file.
IT must be somewhere in the function files, but where? And what's its name? Does anyone know?
Because... 7 days in search of the file, and I'm still feeling blonde.
Help a girl out, please?
Blonds have more fun - and you like it, or not?
7 days - have you nothing better to do?
Yeah girl, who shall know what a Blonde is thinking?
Left is where the other thumb is right - or not?Mabe140 wrote: ↑Sun Dec 15, 2019 10:41 pmNo, we are not trying to figure out how to remove from main menu (The one that pops up on the left side of the default theme, the one where it has a bigger text with categories such as Account, Newsletter so on...) We are desperately trying to find out how to remove, edit or change items within the table on the right side. And so far, all of us have found out, that it is not in the twig. Well, one can remove the entire table using the twig, but we cannot remove/edit one or more of the items in the table. The table to the right. Not center, nor left.
What do you want now, popup at the left, menu at the right?
Maybe you are a bit confused about the directions?
This menu is displayed where you have defined it - per default at the right side (this is where your thumb is left ..).
And when you use the internal template editor, have you also cleared the cache?
Column Right is controller/common/column_right (.php)
Remember: right is where the other is left ..
Correct - you won the jackpot!
See section before.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Using default theme look in catalog/view/theme/default/template/extension/module/account.twig around line 9Mabe140 wrote: ↑Sun Dec 15, 2019 10:41 pmMan, it's so hard to find the answer. And it seems like just about no one understands just what we are trying to figure out.
No, we are not trying to figure out how to remove from main menu (The one that pops up on the left side of the default theme, the one where it has a bigger text with categories such as Account, Newsletter so on...) We are desperately trying to find out how to remove, edit or change items within the table on the right side. And so far, all of us have found out, that it is not in the twig. Well, one can remove the entire table using the twig, but we cannot remove/edit one or more of the items in the table. The table to the right. Not center, nor left.
When opening layout-account-account.twig we get this refrence to the table on the right: {{ column_right }}
But where is this refrense location? Where can one find the main file, that all these files point to?
I've been looking through ALL files within Theme Editor (admin panel) and it is not a twig file.
IT must be somewhere in the function files, but where? And what's its name? Does anyone know?
Because... 7 days in search of the file, and I'm still feeling blonde.
Help a girl out, please?
All entries are listed there, you can either delete/comment them out from this file or make an ocmod/vqmod
viewtopic.php?f=202&t=186485#p703151cyclops12 wrote: ↑Mon Dec 16, 2019 12:50 amUsing default theme look in catalog/view/theme/default/template/extension/module/account.twig around line 9Mabe140 wrote: ↑Sun Dec 15, 2019 10:41 pmMan, it's so hard to find the answer. And it seems like just about no one understands just what we are trying to figure out.
No, we are not trying to figure out how to remove from main menu (The one that pops up on the left side of the default theme, the one where it has a bigger text with categories such as Account, Newsletter so on...) We are desperately trying to find out how to remove, edit or change items within the table on the right side. And so far, all of us have found out, that it is not in the twig. Well, one can remove the entire table using the twig, but we cannot remove/edit one or more of the items in the table. The table to the right. Not center, nor left.
When opening layout-account-account.twig we get this refrence to the table on the right: {{ column_right }}
But where is this refrense location? Where can one find the main file, that all these files point to?
I've been looking through ALL files within Theme Editor (admin panel) and it is not a twig file.
IT must be somewhere in the function files, but where? And what's its name? Does anyone know?
Because... 7 days in search of the file, and I'm still feeling blonde.
Help a girl out, please?
All entries are listed there, you can either delete/comment them out from this file or make an ocmod/vqmod
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: Baidu [Spider], nonnedelectari and 373 guests