If I wanted to insert paypal logos and comodo ssl logo just below the Share and Connect social media logos, what file would I need to edit to insert the required code?
Thanks in advance.
Les McDonald
If I wanted to insert paypal logos and comodo ssl logo just below the Share and Connect social media logos, what file would I need to edit to insert the required code?
Thanks in advance.
Les McDonald
If you do not have Firefox Developer edition I would get it as it will give you a lot of information on the layout. It will not always give you the exact info you want but it will put you very close.
It shows the Share and Connect section is in the Flexible footer Col4
If you will look at the image below it shows this section based on what is shown in the FF Dev Edition.
Now in the includes/template/winchester_responsive/common folder you will find the tpl_footer.php file
and in the includes/template/winchester_responsive/templates folder you will find the tpl_flexible_footer_menu.php file
in the tpl_footer.php file
Line 38 - 43 you will find this bit of code referencing the Flexible footer
38 -and it ends on line #67Code:<!--bof-flexible footer menu display --> 39 - <div id="flex-navSupp"> 40 - <div class="onerow-fluid <?php echo $fluidisFixed; ?>"> 41 - 42 - <?php require($template->get_template_dir('tpl_flexible_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_flexible_footer_menu.php'); ?> 43 - <br /><br />
Code:<!--eof-flexible footer menu -->
Now in the tpl_flexible_footer_menu.php file
I really did not see anything other than information as to what is supposed to be called to populate the footer.
If you do not feel like actually playing with the PHP code structure this is where I would look!
Now you should be able to edit the Flexible footer from the admin page
Admin/Tools/Flexible Footer Menu
If I open mine I can see the information below.
The Header Share and Connect is on column 4 and sort order is 4
The blank line below is where you are supposed to be able to insert your Social networking data and populate the Icons below Share and Connect of course mine did not work like it should so I just created an SQL file and added the information straight into the database.
I would think that this is where you would enter the information you are wanting to add!
Just make sure it is column 4 and make the sort order higher than 41 and if it works correctly it should be placed under the Social Networking Information!
I would try the information between the blue before I went into the Database unless you are very comfortable with it.
Now my SQL statement from my database looks like the following (of course with out all of the personal information)
and if you take the time to line all the information up it might actually begin to make sense!
Do this is Excel and it might make even more sense as you can see below.Code:INSERT INTO `flexible_footer_menu` (`page_id`, `language_id`, `page_title`, `page_url`, `col_header`, `col_image`, `col_html_text`, `status`, `col_sort_order`, `col_id`, `date_added`, `last_update`) VALUES (26, 1, '', '', '', '', '<a href=\"https://www.facebook.com/\" target=\"_blank\"><i class=\"fa fa-facebook\"></i></a><a href=\"https://twitter.com/\" target=\"_blank\"><i class=\"fa fa-twitter\"></i></a><a href=\"https://www.pinterest.com/\" target=\"_blank\"><i class=\"fa fa-pinterest\"></i></a><a href=\"https://www.youtube.com/channel/\" target=\"_blank\"><i class=\"fa fa-youtube\"></i></a><a href=\"https://www.instagram.com//\" target=\"_blank\"><i class=\"fa fa-instagram\"></i></a>', 1, 41, 4, '2013-06-24 09:44:30', '2014-04-25 09:26:24');
Didnt read this topic so sorry if this was being mentioned earlier but I noticed that the flexible footer does have a language column but nevertheless the footer is not "flexible" considering language..
I made the following change @ \includes\modules\winchester_responsive\flexible_footer_menu.php
org:
new:Code:$page_query = $db->Execute("select * from " . TABLE_FLEXIBLE_FOOTER_MENU . " where status = 1 and col_sort_order > 0 order by col_sort_order, col_header");
Code:if (empty($language)) $language = $_SESSION['languages_id']; $page_query = $db->Execute("select * from " . TABLE_FLEXIBLE_FOOTER_MENU . " where language_id = " . $_SESSION['languages_id'] . " and status = 1 and col_sort_order > 0 order by col_sort_order, col_header");
What PHP versions is winchester responsive 1.4 compatible with? ZC 1.5.5. can run on PHP 7.1, and I'd like to know if this theme works with PHP 7.1 or do I need to stay with PHP 5.6. If it is compatible with PHP 7.1 are there any changes I need to make? Thanks!
I am using:
On a Linux server
pho 7.0.32
MySQL 5.6.40-84
And I hav had no issues.
Hope this helps
You'll find that templates are generally not quite the concern that mods can be. Templates are by nature less likely to use complicated php.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL, Domain, and MagicThumb with semi-annual and longer hosting.
Hi Anne,
Your websites are the best !! Thank you very much.
Im using this one for my shop but im struggling with the social links. it works when the template is installed but when I make a change to it.. its breaks and doesnt display the images just html.
<a href="https://www.facebook.com/martialartsbadges" target="_blank"><i class="fa fa-facebook"></i></a>
<a href="https://twitter.com/mabadges" target="_blank"><i class="fa fa-twitter"></i></a>
<a href="https://www.pinterest.com" target="_blank"><i class="fa fa-pinterest"></i></a>
<a href="https://www.youtube.com" target="_blank"><i class="fa fa-youtube"></i></a>
<a href="https://www.instagram.com" target="_blank"><i class="fa fa-instagram"></i></a>
even if i just copied and paste the code, it breaks.
please hope you can help..
regards
John
The easiest way I have found to Modify, Change, Add too the Social links is the do it directly through the database using SQL Statements as the way to do it. You would think to make changes would be easy admin side but like you said it does not work and will actually break the footer Social Links.
You can look at the following post in this thread and it may make sense to you but then again it might not.
Post 812
There was a sanitize issue that came up with PicaFlor template social links when zc 1.5.5 came out. The hack was to edit directly in the database, but the fix by R Barbour was given here: https://www.zen-cart.com/showthread....or-1-5-x/page7 on post #64
Bookmarks