Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Order of lines in /conf/config.php matter?

This discussion is related to the RedWoodMobile addon.

Would it make a difference if I reversed the order of the lines?

$Configuration['Garden']['Theme'] = 'RedWood';
$Configuration['Garden']['MobileTheme'] = 'RedWoodMobile';
«1

Comments

  • short answer no. not in this case

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    UnderDog
  • these are really things you should test for yourself.

    well lets see. does it? try it. thats how you learn.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    UnderDog
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    no it does not matter.

    they are separate configurations.

    Mobile theme is different than Full site theme.

    You may need to use the plugin Go back mobile so you can go back to Mobile from Full site view on the mobile and not get the 404 error. As it says in the theme page and the readme in the theme folder.

    http://vanillaforums.org/addon/gobackmobile-plugin

    UnderDog
  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited July 2013

    You** do not select** the theme for mobile in the dashboard, that will just get you the mobile theme on the full site.

    The only way for the mobile theme to be called is if you made a mistake in the config. Or selected the wrong theme in the dashboard.

    this link you will need to change as you did with other links in the past, if you find there is an error 404 or image not found, look using web inspector and edit the links until it works then change that in the file. It is easy to fix anything if you practice using the web inspector first to edit live the stuff.

    from this

    /forum/profile/nomobile

    to this

    /profile/nomobile

    UnderDog
  • peregrineperegrine MVP
    edited July 2013

    @vrijvlinder

    V you should take over the mobile theme switcher plugin and put all of your themes in there.
    Ask Todd or someone or just create a new mobile the switcher plugin 2 with your name on it.

    I am not and will not ever be updating or changing either that plugin or the admin theme switcher and I consider them yours if you will have them :).

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinderUnderDog
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Yes you offered that a long time ago too, and I said sure thing , was waiting to see if anyone had questions but seems people are not aware of mobile themes and the switcher , a great plugin to have for sure.

    I think they have to delete the whole thing they can't edit the info, but If someone does ask for help on it I can take over with that.

    You can just put on it that any questions about the plugin or css files, to ask vrijvlinder the new manager of the plugin, and if I make an update, I will upload a MTS2 version .... How about that? then after that we can ask them to delete the original if you still want to?

    UnderDog
  • ok and here's what I will do - I'll mark it obsolete - and point to you.

    Have fun supporting it :).

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    UnderDog
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    lol it is not obsolete .... it is just under new management !! :)

    peregrineUnderDog
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    @DavidColburn

    Here is another tip , get a USER AGENT browser extension so you can view the site and how it looks on other devices. This is a good way to tell between full and mobile themes.

    http://chrispederick.com/work/user-agent-switcher/

    you need to also install the device files.

    Safari has one too in the Web Inspector .

    peregrineDavidColburnUnderDog
  • excellent agent I might add.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    UnderDog
  • @vrijvlinder said:

    Here is another tip , get a USER AGENT browser extension so you can view the site and how it looks on other devices. This is a good way to tell between full and mobile themes.

    http://chrispederick.com/work/user-agent-switcher/

    Done.

    you need to also install the device files.

    Y'alls killing me ... "device files"?

    vrijvlinder
  • peregrineperegrine MVP
    edited July 2013

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    vrijvlinder
  • If a reference to "device files" is here:
    chrispederick.com/work/user-agent-switcher/
    I sure can't find it ...

  • I see nothing about device files and a search there comes up blank as well.

  • peregrineperegrine MVP
    edited July 2013

    ok semantics aside that is what it is. they're synonymous. slow down take some time.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited July 2013

    That is because the agents are supplied by others

    try this list follow the instructions, I wish they used larger letters or the links highlighted ...

    A Large, Regularly Updated Import List Of User Agents

    http://techpatterns.com/forums/about304.html

    while you are at it, install this too for the whole package

    http://chrispederick.com/work/web-developer/

    peregrineDavidColburn
  • @vrijvlinder

    while you are at it, install this too for the whole package http://chrispederick.com/work/web-developer/

    yes, don't leave home without it. :).

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

    UnderDog
  • When I first tried to learn coding a few decades ago I was told that every tiny detail was critical.

    My frustration ever since has been the use of multiple terms to refer to the same thing - presuming that everyone knows what is intended.

    I'm not a peer with you all, you have to presume that I won't guess right - or even have a hope of figuring things out - unless they are paint-by-numbers concise.

    I'm trying, and am sure I am very-trying, but have not the slightest knowledge-basis upon which to associate "user agents" with "device files". Really.

    My time is fragmented so I jump into this when I can and then am off to something else - it's all volunteer work and not a constant-immersion. I appreciate your patience!

  • @vrijvlinder said:
    A Large, Regularly Updated Import List Of User Agents

    http://techpatterns.com/forums/about304.html

    OK, downloaded and imported ... mama mia!

    while you are at it, install this too for the whole package

    http://chrispederick.com/work/web-developer/

    You already had me do this - I have made some very small use of it - so much to learn!

Sign In or Register to comment.