Jump to content

donatas

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

3 Neutral

About donatas

  • Rank
    Newbie
  1. Hi. Something from this thread has worked for me in the past - https://processwire.com/talk/topic/9322-change-default-language-for-homepage/?do=findComment&comment=89925
  2. I have some trouble using setting() function - the setting() returns nothing in an included file. I set the setting() inside a function - could this be the culprit? _inti.php file, that is auto-included: function calendar($source){ setting('calendar', $source->id); } include_once('./_head.php'); _head.php file, that returns nothing for this setting: <?=setting('calendar')?> Is there an option to make it "global" from inside the function? API functions are turned on, and those that are set "statically" (not within function) and works fine.
×
×
  • Create New...