0
Welcome Guest! Login
0 items Join Now

Preset styles

    • Flyershop's Avatar
    • Flyershop
    • Jr. Rocketeer
    • Posts: 39
    • Thanks: 0

    Preset styles

    Posted 11 years 10 months ago
    • I hope this is the correct thread.

      In all the Joomla template demo's when I select a Preset it changes the whole site,
      When I install a template and try that myself, cache screws it up royally and each page seem to get it's last cached style. What settings do I need to set so that when a user selects a preset it works for them.

      Do I need to change any php setting or just joomla settings.

      Thank you for your time!!!
    • Last Edit: 11 years 9 months ago by Flyershop.
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: Preset styles

    Posted 11 years 10 months ago
    • Users are not able to choose a preset unless you're using something like ?presets=preset1 on the end of your URL which will completely bypass the caching issue.

      How are they going to choose their own preset without access to the template manager?
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
    • Flyershop's Avatar
    • Flyershop
    • Jr. Rocketeer
    • Posts: 39
    • Thanks: 0

    Re: Preset styles

    Posted 11 years 9 months ago
    • Hey Ben,
      Thanks for your response.

      If I use any of the demo's on rocketthemes site and "I" the user select a preset it always stays that preset until "I" select a different Preset which then stays aswell, There are no caching issues when using the demo on any of the demo themes. I would like to set that up the same way and am just wondering what I need to set so caching does not muck up the users choice..

      You said "How are they going to choose their own preset without access to the template manager?"
      Simple, Just like in the rocket theme demo, click on a preset.

      Best Regards
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: Preset styles

    Posted 11 years 9 months ago
    • Maybe I don't understand you question. Doesn't a newly installed RT template offer the same preset menu that the Demo has? What exactly is not working? Can you share a link to the problem?
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
    • Flyershop's Avatar
    • Flyershop
    • Jr. Rocketeer
    • Posts: 39
    • Thanks: 0

    Re: Preset styles

    Posted 11 years 9 months ago
    • Hey Ben,

      Thanks for your time Ben.

      You seem confused, I have a fresh demo installed here:
      www.steampunkcalgary.com
      Yes it is the exact same as the rockettheme demo. If you switch presets often you will see that
      when redirected to the homepage all seems ok, but then when you goto other pages you have been before, templat shows old preset not the one just selected.

      So example:
      Hompage
      goto Styles
      select Preset 4 (dark theme)
      it will take you to home page
      Select in features - Module Positions then
      Select in features - Module Variations then
      Select in features - Typography then
      Select in features - Menuoptions then
      Select Preset 1 (light theme)
      redirect to home page all is GOOD
      NOW Select in features - Module Positions, DARK THEME!
      this does not happen in rockettheme's demo

      what do i need to set to make it work like the demo
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: Preset styles

    Posted 11 years 9 months ago
    • The only way I could make this work was to make a serious modification to the configuration.php file. Beware: This will prevent any components from caching data which could slow down your site and put a greater load on your web server.

      Go to your configuration.php file in your site's root directory, find the line that looks like this: public $cache_handler = 'file'; and remove everything between the single quotes. Should look like this: public $cache_handler = '';

      I would also clear the Joomla cache manually in Site > Maintenance > Clear Cache and Gantry Cache in the Template Manager. I also had to clear my browser cache and "cookies and other site and plug-in data" in Chrome to see the effect immediately.
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...
    • Flyershop's Avatar
    • Flyershop
    • Jr. Rocketeer
    • Posts: 39
    • Thanks: 0

    Re: Preset styles

    Posted 11 years 9 months ago
    • Hey Ben,

      I had responded to this, but I don't see the response,

      What kind of slowing are we talking about in % like 5 /10% or 60/70%?

      Adrian
    • Ben Simon's Avatar
    • Ben Simon
    • Elite Rocketeer
    • Posts: 4301
    • Thanks: 8
    • Full-time web developer

    Re: Preset styles

    Posted 11 years 9 months ago
    • Flyershop wrote:
      I had responded to this, but I don't see the response,
      That's strange. I didn't get a notification for it.
      Flyershop wrote:
      What kind of slowing are we talking about in % like 5 /10% or 60/70%?
      Well if Joomla prevents modules and extensions from caching then it could be 500% or 1000%. It just depends on the site's configuration, size, and the visitors throughput. I don't know what the actual effect on your site would be. You may just have to try it. Probably a good idea to backup before you make any changes though.
    • B e courteous to staff and members that volunteer their time helping you
      E ssential Tool - FireBug
      N ever assume I know what version you're talking about

      S earch the forum for a solution first
      I nclude a link to the problem
      M ark your resolved issues as [SOLVED]
      O nly PM moderators if they request it first
      N o...

Time to create page: 0.059 seconds