Or just edited menu.twig...and added....
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Thats right. It works fine on the information page and when same code is added to Category, it just gets squeezed.mikeinterserv wrote: ↑Fri Jan 22, 2021 7:58 pmWell you have 2 different links to auction
1 is the information page you created - Its NOT that
The OTHER is linked from the TOP MENU and says AUCTION - well its THAT page you have to edit
Did you use LAYOUT OVERIDE for your auction category
https://mitrecyclers.com/Auction/
https://mitrecyclers.com/Auctions/
As information link was in bottom so wanted to make it visible in Front, so added as Category as well.
For all of your Mobile phone needs.
https://mitrecyclers.com
OK how about you put the auction BACK into the INFORMATION PAGEmitrecyclers wrote: ↑Sat Jan 23, 2021 12:24 amThats right. It works fine on the information page and when same code is added to Category, it just gets squeezed.
As information link was in bottom so wanted to make it visible in Front, so added as Category as well.
because
A: It works OK there
B: Easy for you to do.
Then you can HARD CODE the link into the TOP MENU
So go ahead and put your auction code in the INFORMATION PAGE that has BOTTOM LINK
Once you done that come back and I will see it
Now you need to EDIT the menu.twig
OC Admin
design>theme editor>common>menu.twig
and add this after line 23
Code: Select all
<li><a href="/Auctions">Auctions</a></li>
Affects the SEO URLs by using static links.mikeinterserv wrote: ↑Sat Jan 23, 2021 12:28 amOK how about you put the auction BACK into the INFORMATION PAGEmitrecyclers wrote: ↑Sat Jan 23, 2021 12:24 amThats right. It works fine on the information page and when same code is added to Category, it just gets squeezed.
As information link was in bottom so wanted to make it visible in Front, so added as Category as well.
because
A: It works OK there
B: Easy for you to do.
Then you can HARD CODE the link into the TOP MENU
So go ahead and put your auction code in the INFORMATION PAGE that has BOTTOM LINK
Once you done that come back and I will see it
Now you need to EDIT the menu.twig
OC Admin
design>theme editor>common>menu.twig
and add this after line 23Code: Select all
<li><a href="/Auctions">Auctions</a></li>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
How exactly - I do not like to disagree with you but this will do nothing to SEO URLs
The hard coded link is in effect an SEO url itself
The $this->url->link refers to translated SEOs from the system/library/url.php file. Users who enables SEO extensions in their stores do need to use this OC object with their .htaccess file. Using static links may work for one user but may not work for the other due to the already excessive mount of extensions published on the Marketplace which differs the approach and strategies to output these links. The best e.g would be to build an event by using the $data['auction'] or $data['auctions'] that would lead to the $this->url->link as opposed to a static link via a TWIG file directly in all scenarios of URL history.mikeinterserv wrote: ↑Sat Jan 23, 2021 1:09 amHow exactly - I do not like to disagree with you but this will do nothing to SEO URLs
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I agree that is another approach and for some maybe the correct approach but in this instance I still think the simple method will more than suffice without problems. The OP can decide if he has those other considerations or not.straightlight wrote: ↑Sat Jan 23, 2021 1:14 amThe $this->url->link refers to translated SEOs from the system/library/url.php file. Users who enables SEO extensions in their stores do need to use this OC object with their .htaccess file. Using static links may work for one user but may not work for the other due to the already excessive mount of extensions published on the Marketplace which differs the approach and strategies to output these links. The best e.g would be to build an event by using the $data['auction'] or $data['auctions'] that would lead to the $this->url->link as opposed to a static link via a TWIG file directly in all scenarios of URL history.mikeinterserv wrote: ↑Sat Jan 23, 2021 1:09 amHow exactly - I do not like to disagree with you but this will do nothing to SEO URLs
Website analyzers should rather be considered regardless of what simplest decisions are provided or one store owner may decide since both leads can be leaded into a negative review by these stats where the OP user may not have considered. Which is why, on the forum, it is not explicit, nor is it declined, to explain those aspects to the users in general in the mean time.mikeinterserv wrote: ↑Sat Jan 23, 2021 1:18 amI agree that is another approach and for some maybe the correct approach but in this instance I still think the simple method will more than suffice without problems. The OP can decide if he has those other considerations or not.straightlight wrote: ↑Sat Jan 23, 2021 1:14 amThe $this->url->link refers to translated SEOs from the system/library/url.php file. Users who enables SEO extensions in their stores do need to use this OC object with their .htaccess file. Using static links may work for one user but may not work for the other due to the already excessive mount of extensions published on the Marketplace which differs the approach and strategies to output these links. The best e.g would be to build an event by using the $data['auction'] or $data['auctions'] that would lead to the $this->url->link as opposed to a static link via a TWIG file directly in all scenarios of URL history.mikeinterserv wrote: ↑Sat Jan 23, 2021 1:09 am
How exactly - I do not like to disagree with you but this will do nothing to SEO URLs
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
https://www.opencart.com/index.php?rout ... n_id=19649
https://www.opencart.com/index.php?rout ... n_id=10969
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Thanks. Worked great. :-)xxvirusxx wrote: ↑Sat Jan 23, 2021 3:54 pmhttps://www.opencart.com/index.php?rout ... n_id=19649
https://www.opencart.com/index.php?rout ... n_id=10969
For all of your Mobile phone needs.
https://mitrecyclers.com
Users browsing this forum: No registered users and 418 guests