NM Got it to work!!
I'm an idiot.. total user error on my part. I got things up and running now. Thanks for your help! |
Description text
Great Mod!! Well done just one thing I put my text in the Description: field and it doesn't show on my website any one know why? :roll:
|
Hi Guys,
I just got the Dynamic SEO-Friendly URLs from SafetyNet Web thanks Hooter :-) and I 'm using the Fashion Mosaic on a new shop 4.0.16 So the question is, has anyone got an example with subcategories in a 3 column layout with an image for each sub-cat with name and product count below the image, using the above mod? Thanks Arton |
Thanks for your mod Anton
It didn't work for me until I used Jason mod. Quote:
On my version, instead of Code:
{section name=cat_num loop=$subcategories} Code:
{foreach from=$subcategories item=subcat}. So I put Code:
{$subcat.description|escape} Code:
{ $categories[cat_num].description|escape } |
Work great but,,,
I love how this works, but for some reason it is displaying the catagory and subcatagory words twice.
Company Name : T-Shirts Comapny Name : T-Shirts up top. |
Language issues
I've finaly been able to get my description to show.
Except that it will only show the default language. Here's my working code with the default language Code:
{foreach from=$subcategories item=subcat} What do I have to change to get the description to show in all the language? I've tried with no success Code:
{$subcat.lng.description|regex_replace:"/[\n]/":" Code:
{$lng.subcat.description|regex_replace:"/[\n]/":" Is there something else I have to modify in categories.php? Martin |
Re: Language issues
Quote:
Hey Martin, Try this for include/categories.php (backup your existing file, I did not have a chance to test it): Code:
Let me know if this one did not help. |
Still no luck!!!!
What part did you change maybe i'll see somethings. It doesnt make any sense! Every othe part of you mod shows in the wright language. |
Quote:
I didn't see an answer for this, and I just figured it out, so I thought I would share in case others want it too. I used WECKS change to the subcategories.tpl file posted here: http://forum.x-cart.com/viewtopic.php?p=78344#78344. To change the format to 3 columns I did the following: on line 21 I changed this bit from: Code:
{ if %cat_num.index% is div by 2} Code:
{ if %cat_num.index% is div by 3} Just so it looked better, on line 24, within the <TD> tags, I added width="33%". I couldn't believe it was so simple. :P |
Hi Guys,
Sorry for asking again but I'm still looking for this mod. I have got the Dynamic SEO-Friendly URLs from SafetyNet Web thanks Hooter and I 'm using the Fashion Mosaic on a new shop 4.0.16 So the question is, has anyone got an example with subcategories in a 3 column layout with an image for each sub-cat with name and product count below the image, using Dynamic SEO-Friendly URLs from SafetyNet Webs mod? Thanks Arton |
All times are GMT -8. The time now is 02:26 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.