< 022019-06-03⋎04 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
00:47*JustTB has quit (Ping timeout: 246 seconds)
07:26*JustTB has joined
07:41*lablab[m] has quit (*.net *.split)
07:41*amber65[m] has quit (*.net *.split)
07:41*chriswilliams[m] has quit (*.net *.split)
07:41*donblair[m] has quit (*.net *.split)
07:47*trankennykhang[m has quit (*.net *.split)
07:47*scollette[m] has quit (*.net *.split)
07:47*yenzand[m] has quit (*.net *.split)
07:47*mstenta[m] has quit (*.net *.split)
07:52*trankennykhang[m has joined
07:52*mstenta[m] has joined
07:52*yenzand[m] has joined
07:52*scollette[m] has joined
07:53*lablab[m] has joined
07:53*amber65[m] has joined
07:53*chriswilliams[m] has joined
07:53*donblair[m] has joined
08:47johanness_charleHello, where can I edit "Powered by farmOS" because I want it to read [Our software] is powered by farmOS software
08:59*christju has joined
09:47*JustTB has quit (Quit: Leaving.)
09:51*JustTB has joined
10:42*christju has quit (Ping timeout: 256 seconds)
12:15mstenta[m]@johanness_charles :
12:16mstenta[m]github.com/farmOS/farmOS/blob/7.x-1.x/th
12:33*christju has joined
12:33*christju has quit (Client Quit)
15:17*JustTB has quit (Ping timeout: 258 seconds)
15:31*JustTB has joined
16:32johanness_charle<mstenta[m] "@johanness_charles :"> I wonder why in my "themes" there is no "/farm_theme/template.php" I tried to edit this one "farm-7.x-1.1/profiles/farm/themes/farm
16:33mstenta[m]johanness_charles: there is a `themes` folder in the webroot, but that is only for Drupal core themes... the one in `profiles/farm/themes` is where the farmOS installation profile themes reside
16:33mstenta[m]As to why your change isn't working... that could be due to a number of things...
16:34mstenta[m]First, are you installing it directly with Apache on the server, or are you using the Docker image?
16:37johanness_charle<mstenta[m] "First, are you installing it dir"> Via Apache, I am editing the file with SSH on Google Cloud VM instances
16:37mstenta[m]Ok
16:37mstenta[m]So one thing that may cause it is PHP opcode cache
16:38mstenta[m]the opcode cache caches PHP code in memory so that it doesn't have to read it from disk
16:38mstenta[m]You can test this by adding the following line at the top of your `.htaccess` file:
16:40mstenta[m]`php_flag opcache.enable Off`
16:41mstenta[m]i wouldn't recommend leaving that in there... it will just tell you if that's the problem. if your change still doesn't show up with that included, then it's not opcode cache
16:45johanness_charle<mstenta[m] "You can test this by adding the "> Where is this .htaccess file located ?
16:45mstenta[m]that is in the webroot
16:46johanness_charle<mstenta[m] "that is in the webroot"> OK
16:47mstenta[m]johanness_charles: one thing to note here... by overriding the `farm_theme/template.php` file directly, you are technically "hacking core"
16:47mstenta[m]www.drupal.org/docs/7/site-building-best
16:47mstenta[m]that just means that when it comes time to upgrade farmOS to a new version, you're responsible for maintaining that modification
16:48mstenta[m]another approach would be for you to write a simple custom module that simply alters the footer text to be what you want... that would live in `sites/all/modules/custom/[mycustommodule]` which you would not touch during an upgrade
16:53johanness_charle<mstenta[m] "johanness_charles: one thing to "> Thank you for the note. What if during upgrade I replace the same file then I Upgrade the Drupal will it work. This means I have to take a backup of the file before editing it
16:54mstenta[m]yep - it just means that when you upgrade, your change would be lost... so you would have to redo it each time
16:55johanness_charle<mstenta[m] "yep - it just means that when yo"> That is Ok, then I will have to keep the backup file
16:56mstenta[m]Yea, it's not difficult... just another thing to remember... hence the slogan "don't hack core" :-)
16:57johanness_charle<mstenta[m] "Yea, it's not difficult... just "> Sure, mean wile I will practice writing custom code
17:07johanness_charle<mstenta[m] "`php_flag opcache.enable Off`"> This did not work I don't know why
17:08mstenta[m]johanness_charles: ok. are you logged into farmOS when you are looking at the footer?
17:09johanness_charle<mstenta[m] "johanness_charles: ok. are you l"> Yes
17:09mstenta[m]hmm ok... try going to /admin/config/development/performance and clicking the "Clear cache" button
17:09mstenta[m]I doubt that will work... but worth a try
17:10johanness_charleOk
17:17johanness_charle<mstenta[m] "I doubt that will work... but wo"> I don't know why it has not changed
17:19johanness_charleDoes it mean after some time these changes will take effect?
17:20mstenta[m]Can you paste the line of code that you changed? Maybe there's a bug in it?
17:25johanness_charle '#type' => 'markup',
17:25johanness_charle '#markup' => '<p>' . l('Login to Outreach Traders', 'user', array('query' => array('destination' => current_path()))) . '</p>',
17:29*sent a long message: < matrix.org/_matrix/media/v1/download/mat >
17:31johanness_charleI just did a little editing like that
17:32mstenta[m]Hmm that looks OK
17:32mstenta[m]I'm not sure johanness_charles why your code change isn't being picked up on your server
17:33mstenta[m]Assuming everything else is normal with your installation
17:34mstenta[m]You didn't change the theme in /admin/appearance did you?
17:35johanness_charle<mstenta[m] "I'm not sure johanness_charles w"> I tried on the localhost on my laptop it is working well don't know why it does not work on the Google server side
17:35mstenta[m]oh ok
17:35mstenta[m]hmm yea i don't know either
17:35johanness_charle<mstenta[m] "You didn't change the theme in /"> I haven't changed the theme
17:36mstenta[m]if you figure it out... let me know... i'm curious now :-)
17:36johanness_charle<mstenta[m] "if you figure it out... let me k"> Sure I will
17:37mstenta[m]sorry i couldn't be more help
17:40johanness_charle<mstenta[m] "sorry i couldn't be more help"> Thank you I have learnt allot
20:15*lablab[m] has quit (*.net *.split)
20:15*amber65[m] has quit (*.net *.split)
20:15*chriswilliams[m] has quit (*.net *.split)
20:15*donblair[m] has quit (*.net *.split)
20:22*lablab[m] has joined
20:22*donblair[m] has joined
20:22*chriswilliams[m] has joined
20:26*amber65[m] has joined
20:26*amber65[m] has quit (Changing host)
20:26*amber65[m] has joined

< 022019-06-03⋏04 >