TimonP Posted September 20, 2019 Share Posted September 20, 2019 W jaki sposób mogę dodać <h2> do bloku kategorii, chodzi mi wyłącznie o kategorie (bez podkategorii). Ewentualnie gdzie jest dobre miejsce do umieszczenia <h2> na stronie. Link to comment Share on other sites More sharing options...
0 krzysiek_web Posted September 20, 2019 Share Posted September 20, 2019 Edycja plików modułu. Jaka wersja PS? Link to comment Share on other sites More sharing options...
0 TimonP Posted September 24, 2019 Author Share Posted September 24, 2019 Prestashop 1.6.1.16 Których plików? Link to comment Share on other sites More sharing options...
0 krzysiek_web Posted September 24, 2019 Share Posted September 24, 2019 Pliki modułu: blockcategories edytuj te w sekcji szablonu. Link to comment Share on other sites More sharing options...
0 TimonP Posted September 25, 2019 Author Share Posted September 25, 2019 Dzięki, działa 😁 Link to comment Share on other sites More sharing options...
0 TimonP Posted September 25, 2019 Author Share Posted September 25, 2019 Działa, jednak po sprawdzeniu w https://www.seoreviewtools.com/html-headings-checker/ kategorie wykrywane są jako jeden długi tag. Chciałbym aby każda kategoria była osobnym tagiem. blockcategories.tpl <h2 style="font-size: 14px; text-decoration: none"> <div class="block_content"> <ul class="tree {if $isDhtml}dhtml{/if}"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {/foreach} </ul> </div> </h2> Link to comment Share on other sites More sharing options...
0 krzysiek_web Posted September 25, 2019 Share Posted September 25, 2019 Sprawdź category-tree-branch.tpl w tym samej lokalizacji. Tam masz podział i u góry zapewne jest główna kategoria a u dołu podkategorie w znaczniku if children itd. Link to comment Share on other sites More sharing options...
Question
TimonP
W jaki sposób mogę dodać <h2> do bloku kategorii, chodzi mi wyłącznie o kategorie (bez podkategorii).
Ewentualnie gdzie jest dobre miejsce do umieszczenia <h2> na stronie.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now