Hello zenners,
I am wandering if it is possible to have a twitter sidebox that is only displayed on the home-page. Below is what I am after;
Thanks!!!
Hello zenners,
I am wandering if it is possible to have a twitter sidebox that is only displayed on the home-page. Below is what I am after;
Thanks!!!
Yes. That can be done.
I'm not aware of a twitter sidebox for Zen Cart, so you'd have to write that yourself, but part of the standard structure for sidebox modules includes a block to limit their display. You would want yours to show only when$this_is_home_page == true
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Great I have set-up a blank sidebox and added the twitter widget. Now which .php file do i add the
ThanksCode:$this_is_home_page == true
See previous thread at
http://www.zen-cart.com/forum/showth...debox+override
Hi Misty I have read all that forum but still no luck. I know i have to edit
/includes/modules/sideboxes/mydfa/blank_sidebox.php
but i don't know where and what else i have to add???![]()
I found the solution for this one,
go where the twitter sidebox is ,
mine is at /includes/modules/sideboxes/twitter_sidebox.php
edit the file
find this argumentdelete it and replace withCode:$show_blank_sidebox = true;
Code:if ($this_is_home_page) { $show_blank_sidebox = true; } else { $show_blank_sidebox = false; }
i found the solution from here
https://www.zen-cart.com/tutorials/i...hp?article=270
![]()