Yuval Posted December 21, 2014 Report Posted December 21, 2014 Hi, I am working on custom design for my site and i tried to add bid but i had a error "No route passed". i checked on the forum and find that this is caused by js file that not included, and i think this is not the problem at my site. i checked and all the phpvms js files are included. i am includeing my code here and hope you can tell me where i wrong layout code:http://pastebin.com/1Nx17zhs if you need aditional code please tell me. thanks Quote
freshJet Posted December 21, 2014 Report Posted December 21, 2014 That's a bit of a mess and hard to read. Order matters, but you also need to make sure that they are in the correct place. Look at the layout.tpl for the default crystal skin for an idea of how it should look. Quote
Yuval Posted December 21, 2014 Author Report Posted December 21, 2014 That's a bit of a mess and hard to read. Order matters, but you also need to make sure that they are in the correct place. Look at the layout.tpl for the default crystal skin for an idea of how it should look. i changed to more tidy: http://pastebin.com/1Nx17zhs Quote
Fernando Posted December 21, 2014 Report Posted December 21, 2014 Insert it in your page layout.tpl <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> so it is right before the </head> tag. Quote
Yuval Posted December 21, 2014 Author Report Posted December 21, 2014 ok i got it, the problem is caused by this line : <script src="<?php echo SITE_URL?>/lib/skins/Sky/js/jquery.js"></script> this line is realy important for the slider in the website and i cant remove it. how can i use both? Quote
freshJet Posted December 21, 2014 Report Posted December 21, 2014 jQuery is included by default with phpVMS. Problem is it's outdated. Either take that out or remove the old jQuery. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.