ysco Posted July 26, 2014 Share Posted July 26, 2014 (edited) Hello, I have a question regarding hook on product page. My current template has on product page some modules hooked " pb-right-column-content" but on my new template those modules are not visible there because that theme does no support for that hook. How can i add the modules on the same place in my new template ? Probably new hook must be created so that theme support the new hook but how to accomplish that in some easy steps. I added two screenshots what i want exactly Thanks. Best regards, ysco.. Edited July 26, 2014 by ysco (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 26, 2014 Share Posted July 26, 2014 as long it will not be possible to check code of product.tpl it will be a little hard to help Link to comment Share on other sites More sharing options...
ysco Posted July 26, 2014 Author Share Posted July 26, 2014 (edited) Hello Vekia, So the problem and fix needs to be done in product.tpl ? Thanks. Regards, ysco.. Edit: I attached product.tpl from current and new theme ) Thanks again for having a look. Product_tpl.zip Edited July 26, 2014 by ysco (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 26, 2014 Share Posted July 26, 2014 yout new theme contain this hook it appears below <h1> tag can you verify it, please? Link to comment Share on other sites More sharing options...
ysco Posted July 26, 2014 Author Share Posted July 26, 2014 Hello Vekia, You mean on product page ? I attached a screenshot, i can also add your IP into my test server BO so that you view for yourself ( please let me know if you want ) Regards, ysco.. Link to comment Share on other sites More sharing options...
ysco Posted July 27, 2014 Author Share Posted July 27, 2014 Bump Hello Vekia, Have you a solution for me? Best regards ysco.. Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2014 Share Posted July 27, 2014 Hello Vekia, You mean on product page ? I attached a screenshot, i can also add your IP into my test server BO so that you view for yourself ( please let me know if you want ) Regards, ysco.. can you remove if condition from code that you've got below <h1> ? in addition have you got "exceptions" for modules attached to this hook? Link to comment Share on other sites More sharing options...
ysco Posted July 27, 2014 Author Share Posted July 27, 2014 (edited) Hello Vekia, If i remove if condition the page become blank. I removed the Hook as showed in the sample and i added instead this code, {hook h='productPageRight'} {$HOOK_EXTRA_RIGHT} But then the content block is still not showing on right side but just above H1. See screenshot. If you want i can give you ftp access and BO access if you want to have a look yourself ? Thanks. Best regards, ysco.. Edited July 27, 2014 by ysco (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now