I have modified Simple SEO URL manufacturers.php parser to be used for News Box Manager. I almost have it working but can't get the links to be written on the pages correctly.
Currently they are being written in the sidebox and news archive like this:
more_news&news_id=4
If I then manually alter the URL in the address bar to:
more_news-n-4
Zencart then display the correct page with the correct URL of:
traffic-law-enforcement-centre-stage-at-the-european-road-safety-n-4
From then on that link is cached and written correctly in the sidebox and news archive.
Any ideas what I need to alter to get the links to write correctly in the first place? If I ckear the cache the URL's revert back to :
more_news&news_id=4
I would also like to add in a directory so the URL reads:
/news/traffic-law-enforcement-centre-stage-at-the-european-road-safety-n-4
Any hints on this?
I can't find any indepth info on writing additional parsers and I'm quite new to PHP.
Thanks
Bob Spencer
Bookmarks