Yogesh Raghav Posted March 16, 2017 Share Posted March 16, 2017 I want to create a custom footer content for different category pages. as for exampleif this is my categoryhttp://www.shelltag.com/women/accessories/card-holder-122i should see a content related to this category only in footer.tpl filelif itshttp://www.shelltag.com/accessories/womens-collection/combo-120different content for thsi category and so on. i have more than 100 categories so we need 100 dynamic content for those categories in footer section.. what do i need to do in this case?do i need to change in CategoryController?also i dont want to use if else block like if have 100 categories i dont want to use it based on loop as it will messup the page. can i create a custom hook that can be triggered for all diff categories and content can be call dynamically on that specific page? Link to comment Share on other sites More sharing options...
Yogesh Raghav Posted March 17, 2017 Author Share Posted March 17, 2017 any idea for the same? Link to comment Share on other sites More sharing options...
Yogesh Raghav Posted March 17, 2017 Author Share Posted March 17, 2017 (edited) do i need to create a custom sql query to show diff cms pages in footer based on category id in categoryController.php or Catgeory.php??? Edited March 17, 2017 by Yogesh Raghav (see edit history) Link to comment Share on other sites More sharing options...
Yogesh Raghav Posted March 17, 2017 Author Share Posted March 17, 2017 could anyone help please? Link to comment Share on other sites More sharing options...
Yogesh Raghav Posted March 17, 2017 Author Share Posted March 17, 2017 any idea? Link to comment Share on other sites More sharing options...
Yogesh Raghav Posted March 17, 2017 Author Share Posted March 17, 2017 i need it in urgent.if anyone could help me that would be great. Link to comment Share on other sites More sharing options...
Yogesh Raghav Posted March 19, 2017 Author Share Posted March 19, 2017 noone? Link to comment Share on other sites More sharing options...
Yogesh Raghav Posted March 20, 2017 Author Share Posted March 20, 2017 any one can give some idea? 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