Search the Community
Showing results for tags 'integers'.
Found 2 results
Hello - Total newbie here. I'm using the Profields module to make a table for settings. I would like for one row to contain a "copyright date" with a corresponding integer value according to https://processwire.com/talk/topic/8373-use-delimited-texarea-table-or-yaml-for-settings/ I have this code (courtesy of @Macrura) $copyYear = 2015; // Set your website start date $curYear = date('Y'); // Keeps the second year updated echo $copyYear . (($copyYear != $curYear) ? '-' . $curYear : ''); I want to set the value for $copyYear in a text field. Will it be parsed as an integer? Thanks!!
I am having issues with the search function when searching by numbers. I need to search items like: 18-29-201 201 201.1.2 I am using admin to edit /wire/modules/Process/ProcessPageSearch/ProcessPageSearch.module and have added the fields to search and also tried changing the operators to =Equals and ~= Contains all the words with no luck or success. Am I in the right area? Cache?