Dj_Megamix
OpenCart-TR
- Katılım
- 2 Ağu 2010
- Mesajlar
- 18
- Tepkime puanı
- 0
- Puanları
- 1
- Yaş
- 44
- Konum
- Zimbabwe
- Web sitesi
- www.designdizayn.com
menü css dosyasında gerekli alanları düzenleyerek yapabilirsin
mirac' Alıntı:Bunu dene..
Kod:<?php $this->load->model('tool/seo_url'); $results = $this->model_catalog_category->getCategories(); if ($results) {$output = '<d>';} foreach ($results as $result) { $output .= '<d>'; $new_path = $result['category_id']; $unrewritten = HTTP_SERVER.'index.php?route=product/category&path=' . $new_path; $rewritten = $this->model_tool_seo_url->rewrite($unrewritten); $output .= '<a href="' . $rewritten . '">' . $result['name'] . '</a> / '; $sub_results = $this->model_catalog_category->getCategories($new_path); if ($sub_results) {$output .= '<d>';} foreach ($sub_results as $sub_result) { $output .= '<d>'; $new_sub_path = $sub_result['category_id']; $sub_unrewritten = $unrewritten.'_'. $new_sub_path; $sub_rewritten = $this->model_tool_seo_url->rewrite($sub_unrewritten); $output .= '<a href="' . $sub_rewritten . '">' . $sub_result['name'] . '</a> / '; $output .= '</d>'; } if ($sub_results) {$output .= '</6>';} $output .= '</d>'; } if ($results) {$output .= '</6>';} echo $output; ?>
<div id="footer">
<div class="div1"><img src="catalog/view/theme/smrel/image/bonus.jpg" alt="" /></a></div>
<!--
OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation.
Please donate via PayPal to donate@opencart.com
//-->
<!--
OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation.
Please donate via PayPal to donate@opencart.com
//-->
</div>
</div>
</body></html>
kursadberkkan' Alıntı:mirac' Alıntı:Bunu dene..
Kod:<?php $this->load->model('tool/seo_url'); $results = $this->model_catalog_category->getCategories(); if ($results) {$output = '<d>';} foreach ($results as $result) { $output .= '<d>'; $new_path = $result['category_id']; $unrewritten = HTTP_SERVER.'index.php?route=product/category&path=' . $new_path; $rewritten = $this->model_tool_seo_url->rewrite($unrewritten); $output .= '<a href="' . $rewritten . '">' . $result['name'] . '</a> / '; $sub_results = $this->model_catalog_category->getCategories($new_path); if ($sub_results) {$output .= '<d>';} foreach ($sub_results as $sub_result) { $output .= '<d>'; $new_sub_path = $sub_result['category_id']; $sub_unrewritten = $unrewritten.'_'. $new_sub_path; $sub_rewritten = $this->model_tool_seo_url->rewrite($sub_unrewritten); $output .= '<a href="' . $sub_rewritten . '">' . $sub_result['name'] . '</a> / '; $output .= '</d>'; } if ($sub_results) {$output .= '</6>';} $output .= '</d>'; } if ($results) {$output .= '</6>';} echo $output; ?>
Miraç bey merhaba Footer dosyasında şunlar yazılı ;
Kod:<div id="footer"> <div class="div1"><img src="catalog/view/theme/smrel/image/bonus.jpg" alt="" /></a></div> <!-- OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation. Please donate via PayPal to donate@opencart.com //--> <!-- OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation. Please donate via PayPal to donate@opencart.com //--> </div> </div> </body></html>
vermiş olduğunuz kodları nereye eklemeliyim?
Miraç bey ya da tavsiyesi olan arkadaşlar?