| [20:47:31] | * JustTB has quit (Ping timeout: 246 seconds) |
| [03:26:19] | * JustTB has joined #farmos |
| [03:41:57] | * lablab[m] has quit (*.net *.split) |
| [03:41:57] | * amber65[m] has quit (*.net *.split) |
| [03:41:57] | * chriswilliams[m] has quit (*.net *.split) |
| [03:41:57] | * donblair[m] has quit (*.net *.split) |
| [03:47:44] | * trankennykhang[m has quit (*.net *.split) |
| [03:47:44] | * scollette[m] has quit (*.net *.split) |
| [03:47:44] | * yenzand[m] has quit (*.net *.split) |
| [03:47:44] | * mstenta[m] has quit (*.net *.split) |
| [03:52:47] | * trankennykhang[m has joined #farmos |
| [03:52:47] | * mstenta[m] has joined #farmos |
| [03:52:47] | * yenzand[m] has joined #farmos |
| [03:52:47] | * scollette[m] has joined #farmos |
| [03:53:23] | * lablab[m] has joined #farmos |
| [03:53:23] | * amber65[m] has joined #farmos |
| [03:53:23] | * chriswilliams[m] has joined #farmos |
| [03:53:23] | * donblair[m] has joined #farmos |
| [04:47:32] | <johanness_charle> | Hello, where can I edit "Powered by farmOS" because I want it to read [Our software] is powered by farmOS software |
| [04:59:57] | * christju has joined #farmos |
| [05:47:13] | * JustTB has quit (Quit: Leaving.) |
| [05:51:26] | * JustTB has joined #farmos |
| [06:42:57] | * christju has quit (Ping timeout: 256 seconds) |
| [08:15:59] | <mstenta[m]> | @johanness_charles : |
| [08:16:03] | <mstenta[m]> | https://github.com/farmOS/farmOS/blob/7.x-1.x/themes/farm_theme/template... |
| [08:33:21] | * christju has joined #farmos |
| [08:33:46] | * christju has quit (Client Quit) |
| [11:17:52] | * JustTB has quit (Ping timeout: 258 seconds) |
| [11:31:11] | * JustTB has joined #farmos |
| [12:32:35] | <johanness_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 |
| [12:33:43] | <mstenta[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 |
| [12:33:55] | <mstenta[m]> | As to why your change isn't working... that could be due to a number of things... |
| [12:34:19] | <mstenta[m]> | First, are you installing it directly with Apache on the server, or are you using the Docker image? |
| [12:37:24] | <johanness_charle> | <mstenta[m] "First, are you installing it dir"> Via Apache, I am editing the file with SSH on Google Cloud VM instances |
| [12:37:42] | <mstenta[m]> | Ok |
| [12:37:54] | <mstenta[m]> | So one thing that may cause it is PHP opcode cache |
| [12:38:26] | <mstenta[m]> | the opcode cache caches PHP code in memory so that it doesn't have to read it from disk |
| [12:38:48] | <mstenta[m]> | You can test this by adding the following line at the top of your `.htaccess` file: |
| [12:40:40] | <mstenta[m]> | `php_flag opcache.enable Off` |
| [12:41:19] | <mstenta[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 |
| [12:45:31] | <johanness_charle> | <mstenta[m] "You can test this by adding the "> Where is this .htaccess file located ? |
| [12:45:59] | <mstenta[m]> | that is in the webroot |
| [12:46:44] | <johanness_charle> | <mstenta[m] "that is in the webroot"> OK |
| [12:47:01] | <mstenta[m]> | johanness_charles: one thing to note here... by overriding the `farm_theme/template.php` file directly, you are technically "hacking core" |
| [12:47:06] | <mstenta[m]> | https://www.drupal.org/docs/7/site-building-best-practices/never-hack-core |
| [12:47:29] | <mstenta[m]> | that just means that when it comes time to upgrade farmOS to a new version, you're responsible for maintaining that modification |
| [12:48:21] | <mstenta[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 |
| [12:53:14] | <johanness_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 |
| [12:54:15] | <mstenta[m]> | yep - it just means that when you upgrade, your change would be lost... so you would have to redo it each time |
| [12:55:19] | <johanness_charle> | <mstenta[m] "yep - it just means that when yo"> That is Ok, then I will have to keep the backup file |
| [12:56:01] | <mstenta[m]> | Yea, it's not difficult... just another thing to remember... hence the slogan "don't hack core" :-) |
| [12:57:00] | <johanness_charle> | <mstenta[m] "Yea, it's not difficult... just "> Sure, mean wile I will practice writing custom code |
| [13:07:51] | <johanness_charle> | <mstenta[m] "`php_flag opcache.enable Off`"> This did not work I don't know why |
| [13:08:21] | <mstenta[m]> | johanness_charles: ok. are you logged into farmOS when you are looking at the footer? |
| [13:09:12] | <johanness_charle> | <mstenta[m] "johanness_charles: ok. are you l"> Yes |
| [13:09:39] | <mstenta[m]> | hmm ok... try going to /admin/config/development/performance and clicking the "Clear cache" button |
| [13:09:45] | <mstenta[m]> | I doubt that will work... but worth a try |
| [13:10:34] | <johanness_charle> | Ok |
| [13:17:02] | <johanness_charle> | <mstenta[m] "I doubt that will work... but wo"> I don't know why it has not changed |
| [13:19:47] | <johanness_charle> | Does it mean after some time these changes will take effect? |
| [13:20:17] | <mstenta[m]> | Can you paste the line of code that you changed? Maybe there's a bug in it? |
| [13:25:31] | <johanness_charle> | '#type' => 'markup', |
| [13:25:32] | <johanness_charle> | '#markup' => '<p>' . l('Login to Outreach Traders', 'user', array('query' => array('destination' => current_path()))) . '</p>', |
| [13:29:49] | <johanness_charle> | ACTION sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/YOjOGZVaczwqwUtp... > |
| [13:31:29] | <johanness_charle> | I just did a little editing like that |
| [13:32:42] | <mstenta[m]> | Hmm that looks OK |
| [13:32:59] | <mstenta[m]> | I'm not sure johanness_charles why your code change isn't being picked up on your server |
| [13:33:49] | <mstenta[m]> | Assuming everything else is normal with your installation |
| [13:34:18] | <mstenta[m]> | You didn't change the theme in /admin/appearance did you? |
| [13:35:00] | <johanness_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 |
| [13:35:34] | <mstenta[m]> | oh ok |
| [13:35:40] | <mstenta[m]> | hmm yea i don't know either |
| [13:35:58] | <johanness_charle> | <mstenta[m] "You didn't change the theme in /"> I haven't changed the theme |
| [13:36:02] | <mstenta[m]> | if you figure it out... let me know... i'm curious now :-) |
| [13:36:30] | <johanness_charle> | <mstenta[m] "if you figure it out... let me k"> Sure I will |
| [13:37:03] | <mstenta[m]> | sorry i couldn't be more help |
| [13:40:20] | <johanness_charle> | <mstenta[m] "sorry i couldn't be more help"> Thank you I have learnt allot |
| [16:15:09] | * lablab[m] has quit (*.net *.split) |
| [16:15:09] | * amber65[m] has quit (*.net *.split) |
| [16:15:09] | * chriswilliams[m] has quit (*.net *.split) |
| [16:15:09] | * donblair[m] has quit (*.net *.split) |
| [16:22:08] | * lablab[m] has joined #farmos |
| [16:22:15] | * donblair[m] has joined #farmos |
| [16:22:16] | * chriswilliams[m] has joined #farmos |
| [16:26:15] | * amber65[m] has joined #farmos |
| [16:26:17] | * amber65[m] has quit (Changing host) |
| [16:26:17] | * amber65[m] has joined #farmos |