Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jan 2008
    Location
    PA
    Posts
    31
    Plugin Contributions
    0

    red flag Template Rotator Mod

    Hey all don't know how hard this would be.. i have it in CGI but i would like to make a mod for zin in PHP what it would do is this i would make like a few diff templates for my site like one for Christmas one for halloween and one for Easter and so on and it would flip to that template at a certain time of year for a certain time of days that would be allotted in the admin area.... anyone interested in helping would be GREAT beings i don't know how to code.. but i can debug and Alter the code to tweak it.. some help would be great.. like i said i have it for CGI but i don't have it for PHP..

    Any Suggestions would be great.....

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Template Rotator Mod

    Changing template is not that hard, you can just go to admin and change it, so I don't see the reason to do that.
    Why? Because as you say you will change the template for special occasions, lets say there are 10/year. Now, to achieve this you need to use Cron job for sure, and have your server runs it at least once per day.
    1 more thing: before changing template, you have to make sure that one works well (lets say you upgraded to new version recently and have not had time to upgrade all templates yet, what will happen if the site automatically change to those templates? Crash)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Jan 2008
    Location
    PA
    Posts
    31
    Plugin Contributions
    0

    red flag Re: Template Rotator Mod

    Quote Originally Posted by yellow1912 View Post
    Changing template is not that hard, you can just go to admin and change it, so I don't see the reason to do that.
    Why? Because as you say you will change the template for special occasions, lets say there are 10/year. Now, to achieve this you need to use Cron job for sure, and have your server runs it at least once per day.
    1 more thing: before changing template, you have to make sure that one works well (lets say you upgraded to new version recently and have not had time to upgrade all templates yet, what will happen if the site automatically change to those templates? Crash)
    Ok part one the reason is you have same layout just diff images... for like christmass and holloween and so on... so you dont have to goto the admin area and change it.. it will change the images itself.. for each hollady.. so acually it will be a Full site teplate image rotator that can be maintained in the admin area.. how would someone go about doing this? hope not too hard

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Template Rotator Mod

    you just create complete new templates for each holiday or season,
    the same way that you created the original,
    then just flip the switch in
    admin -> tools -> template manager

  5. #5
    Join Date
    Jan 2008
    Location
    PA
    Posts
    31
    Plugin Contributions
    0

    Default Re: Template Rotator Mod

    Quote Originally Posted by Merlinpa1969 View Post
    you just create complete new templates for each holiday or season,
    the same way that you created the original,
    then just flip the switch in
    admin -> tools -> template manager
    Yes i can just do that but i am trrying to make it a fully automated procesess... that way i dont have to use the template mod.. it will rotate.. the images for me..

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Template Rotator Mod

    Unless you hire someone to do this, I dont see anyone would be interested in such module to actually code it.
    This is a waste of time and system resources.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  7. #7
    Join Date
    Jun 2007
    Posts
    145
    Plugin Contributions
    0

    Default Re: Template Rotator Mod

    I can't see it being much of a problem to set up a cron job to run every night at midnight (or thereabouts) and swap the template as dictated by a calendar file of some sort.

    OTOH, I can't see it being much of a problem to set an alarm and log on for a few seconds to change it either.

    For me this would be such a low priority as to be unlikely to ever happen.

    An even better mod - maybe it already exists - would be a user selectable template mod. Users who need a high contrast screen could choose it, or users with a talking browser could select an extra-simple template that doesn't waffle on through a list of over 1000 authors ...
    We're now settled in at our final home - http://www.swiftbooks.co.uk - where you'll find an eclectic collection of used books. Still a lot of work to do, though!

  8. #8
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Template Rotator Mod

    GSIS, that mod is great for a forum, but I dont think any ecommerce site ever used it. Maybe in the near future, who knows.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #9
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Template Rotator Mod

    An even better mod - maybe it already exists - would be a user selectable template mod.
    Template Switcher Box.. top right hand side at
    http://(sorry, site offline)/138/index.php
    but as yellow1912 commented, not suitable for
    zencart live production sites re security reasons

  10. #10
    Join Date
    Jan 2008
    Location
    PA
    Posts
    31
    Plugin Contributions
    0

    Default Re: Template Rotator Mod

    Quote Originally Posted by misty View Post
    Template Switcher Box.. top right hand side at
    http://(sorry, site offline)/138/index.php
    but as yellow1912 commented, not suitable for
    zencart live production sites re security reasons
    is that available for DL? i can work on it to get it to work with the site.. and make it do what i need it to do

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Image Rotator Issues
    By newbie11 in forum General Questions
    Replies: 2
    Last Post: 12 Jan 2012, 06:13 PM
  2. image/banner rotator
    By lucianman in forum General Questions
    Replies: 5
    Last Post: 12 Nov 2011, 01:57 AM
  3. javascript photo rotator
    By brad073 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Nov 2010, 05:15 AM
  4. Banner Rotator
    By Berserker in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Jun 2009, 07:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg