Magento - passing params in URL to template file -


i have template file @ ../page/video.phtml , it's served @ http://mysite/video.

i want add params in url play different videos on page. can add query string param, http://mysite/video?select=filename prefer use http://mysite/video/filename.

however, when try 404. have achieve this?

i'm using magento 1.7

you must explicitly include action parts (route, controller , action) in url before adding parameters way, because when use http://mysite/video/filename, magento looks index action of filename controller module having front route named video (which not exist, hence 404 error).

from url gave, working url rather : http://mysite/video/index/index/select/filename


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -