Post by erik » Tue Mar 17, 2009 5:59 pm

Hello,

1) Will there be a release of OC that will be XHTML and CSS compliant out of box?

2) Will there be mod rewrite (pretty url) option?

Thank you for your answers ...

Newbie

Posts

Joined
Thu Feb 26, 2009 6:54 am

Post by nde » Tue Mar 17, 2009 6:43 pm

1) I'm working on a valid template for myself and gonna send it to Daniel, then it's up to him...

2) I think it's been discussed numerous times but I can't remember what the problem was. I played with .htaccess a bit:

Code: Select all

RewriteEngine on 
RewriteRule ^product_([0-9]+).html$ index.php?route=product/product&product_id=$1
this would change:

Code: Select all

http://mysite.com/index.php?route=product/product&product_id=48
to:

Code: Select all

http://mysite.com/product_48.html
No when the product_id would be alpha numerical, you'd could make the url pretty...
edit: you'd need to change 0-9 to a-z then

nde
New member

Posts

Joined
Sat Jun 30, 2007 7:32 am

Post by ninja » Sat Mar 21, 2009 8:36 pm

I tried the above rule with the latest version (v1.2.2) with no luck.

It the rewrite rule compatibile with that version?

Thanks

Newbie

Posts

Joined
Sat Mar 21, 2009 8:34 pm

Post by nde » Sun Mar 22, 2009 9:24 am

I only tested this on 1.1.9, had no time yet to see if it works on the latest too.
But as I understand it should cause problems anyway, but I'm don't remember what exactly...

nde
New member

Posts

Joined
Sat Jun 30, 2007 7:32 am

Post by sheep » Mon Mar 23, 2009 11:42 am

That would be SO nice, to have "pretty" url's! Please include that in the next build....

PS// Isn't OC written in XHTML Strict?

Newbie

Posts

Joined
Mon Mar 23, 2009 10:59 am

Post by chapter5 » Fri Jul 09, 2010 4:27 pm

I've been searching far and wide for an awesome ecommerse platform and I found it! openCart is the dogs danglies!! Except!! It's not XHTML 1.1 valid... even the French got that right (prestaShop)...

Would it also be possible to also have a download with no template and just the PHP so we can quickly add our own templates? For example: just give us the <?php echo $header; ?> and not the messy HTML. That would be choice!!

Oh and NO in-line styles please!

Cheers

PS: Daniel, I'm willing to fix all the xHTML validation errors for you guys...

Newbie

Posts

Joined
Fri Jul 09, 2010 3:42 pm
Who is online

Users browsing this forum: Bing [Bot] and 108 guests