| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Free Sitemap addon, works with XC SEO | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Re: Free Sitemap addon, works with XC SEO
montrex, modifications would have to be made to pull the multi-lingual translations for product titles and whatnot, this would likely require some modifications to the SQL queries that are being executed. I'll see if I can make modifications for a future release.
systemskins, this is likely a problem with how I named certain variables, I'll change this for the next release. Regarding the plus/minus, this is handled in the CSS I believe. |
|||||||
#22
|
|||||||||
|
|||||||||
Re: Free Sitemap addon, works with XC SEO
Quote:
Will the next release still be free? Do you have any ETA on it? Quote:
I've looked, can't seam to find it. I did find the dotted line left border which I removed but not sure where to find the underlined +. I'm assuming its just a + with an underline since its not an image or maybe an acsii charachter/symbol? possible its inerted by the .js or .php ?
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
#23
|
|||||||||
|
|||||||||
Re: Free Sitemap addon, works with XC SEO
Ok, I figured it out.
The + symbol is a unicode character called ± found in sitemap.tpl at the very bottom: Code:
I replaced it with: Code:
You can see it here: http://www.systemskins.com/sitemap.html As far as the image changing upon collapsing and expanding. It can not be done with this nested <ul> <li> script. You need to use a different script and it's done with CSS using display properties. The nested script you produced for this site map I found here: http://www.howtocreate.co.uk/tutorials/jsexamples/listCollapseExample.html A collapsable script that is more versitile is found here: http://www.howtocreate.co.uk/tutorials/jsexamples/collapseList.html Now if I can only figure out how to make it so the sitemap doesn't reorder my categories and doesn't break the expanded menu bar on the left i'll be done with this project.
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
#24
|
|||||||
|
|||||||
Re: Free Sitemap addon, works with XC SEO
I made a conscious choice to use this list method, so that it would be more SEO friendly, as search engines usually aren't to bright regarding URLs that have been generated by javascript.
To correct the category ordering issue, it would be good to find all Code:
Then, go through the TPL file, find any variables in that files, prefix each one with list_ (after the $ symbol, if it exists). That should likely take care of the issue for you. Simple updates to this project will remain free, I do intend a Pro version as a commercial release |
|||||||
#25
|
|||||||||
|
|||||||||
Re: Free Sitemap addon, works with XC SEO
hrmmm gonna give that a try. I think I know what your talking about. We'll see
so change $smarty->assign("main",$main); to $smarty->assign("list_main",$main); or change both like this: $smarty->assign("list_main",$list_main);
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
#26
|
|||||||
|
|||||||
Re: Free Sitemap addon, works with XC SEO
Quote:
that's correct and do the same changes in the tpl files. at a minimum, add the prefix into the variables that were defined in the php file. at the maximum, add the prefix to all of the variables (as some variables are dynamically assigned in the tpl files sometimes, so might need prefixing as well) |
|||||||
#27
|
|||||||||
|
|||||||||
Re: Free Sitemap addon, works with XC SEO
Sigh... I'm so lost, I can't seam to know what I should change and what I shouldn't
If I post my code could you do it for me? I changed all the $smarty->assign and now I'm getting a page not found $smarty->assign("list_main",$main); $smarty->assign("list_location", $location); $smarty->assign('list_products_per_page', $config["Appearance"]["products_per_page"]); $smarty->assign('list_categories', $categories); $smarty->assign('list_pages', $pages); I don't think I need to change the main, and location, and since I'm not using the pages, I don't need to change that one either. I changed those back to default and I get my sitemap back. But its still in the incorrect order and now the categories in my left menu are gone. But then again I could be wrong and they do need to be changed and something else needs to be changed ???
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
#28
|
|||||||||
|
|||||||||
Re: Free Sitemap addon, works with XC SEO
sitemap.tpl is easy theres only one place to edit:
Code:
But then there is the hard part, sitemap_recursion.tpl Code:
I haven't the slightest clue what to change and what to leave.
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
#29
|
|||||||
|
|||||||
Re: Free Sitemap addon, works with XC SEO
change all instances of categories to list_categories (in both files). don't do a mass find/replace tho, so that you don't affect the subcategories variables. just do single Find/Replace, one at a time.
|
|||||||
#30
|
|||||||||
|
|||||||||
Re: Free Sitemap addon, works with XC SEO
I guess what I don't understand is. Why all the recoding/renaming? Why can't it just reference the existing category.php file (or what ever it is) and order the categories in the sitemap like it does in the left menu bar? like it is in order number in the admin area?
And I went through the sitemap_recursion and found 5 "categories" and 3 of them were subcategories. So I only changed 2 and when I uploaded and viewed the sitemap was missing and my categories in the menu bar were still out of order. Have you been able to correct this on your end?
__________________
Doug Rock X-cart Gold 4.1.9 _____________________________________ Altered Cart: 1-Page checkout Firetank: Feed Manager Website CM: CDSEO PRO Website CM: Product A-Z Map Website CM: Review Approval Website CM: Site Map Pro Qualiteam: Sales & Stats (free version) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|