| 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:47 | johanness_charle | Hello, 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:15 | mstenta[m] | @johanness_charles : |
| 12:16 | mstenta[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:32 | 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 |
| 16:33 | 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 |
| 16:33 | mstenta[m] | As to why your change isn't working... that could be due to a number of things... |
| 16:34 | mstenta[m] | First, are you installing it directly with Apache on the server, or are you using the Docker image? |
| 16:37 | johanness_charle | <mstenta[m] "First, are you installing it dir"> Via Apache, I am editing the file with SSH on Google Cloud VM instances |
| 16:37 | mstenta[m] | Ok |
| 16:37 | mstenta[m] | So one thing that may cause it is PHP opcode cache |
| 16:38 | mstenta[m] | the opcode cache caches PHP code in memory so that it doesn't have to read it from disk |
| 16:38 | mstenta[m] | You can test this by adding the following line at the top of your `.htaccess` file: |
| 16:40 | mstenta[m] | `php_flag opcache.enable Off` |
| 16:41 | 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 |
| 16:45 | johanness_charle | <mstenta[m] "You can test this by adding the "> Where is this .htaccess file located ? |
| 16:45 | mstenta[m] | that is in the webroot |
| 16:46 | johanness_charle | <mstenta[m] "that is in the webroot"> OK |
| 16:47 | mstenta[m] | johanness_charles: one thing to note here... by overriding the `farm_theme/template.php` file directly, you are technically "hacking core" |
| 16:47 | mstenta[m] | www.drupal.org/docs/7/site-building-best |
| 16:47 | mstenta[m] | that just means that when it comes time to upgrade farmOS to a new version, you're responsible for maintaining that modification |
| 16:48 | 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 |
| 16:53 | 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 |
| 16:54 | mstenta[m] | yep - it just means that when you upgrade, your change would be lost... so you would have to redo it each time |
| 16:55 | johanness_charle | <mstenta[m] "yep - it just means that when yo"> That is Ok, then I will have to keep the backup file |
| 16:56 | mstenta[m] | Yea, it's not difficult... just another thing to remember... hence the slogan "don't hack core" :-) |
| 16:57 | johanness_charle | <mstenta[m] "Yea, it's not difficult... just "> Sure, mean wile I will practice writing custom code |
| 17:07 | johanness_charle | <mstenta[m] "`php_flag opcache.enable Off`"> This did not work I don't know why |
| 17:08 | mstenta[m] | johanness_charles: ok. are you logged into farmOS when you are looking at the footer? |
| 17:09 | johanness_charle | <mstenta[m] "johanness_charles: ok. are you l"> Yes |
| 17:09 | mstenta[m] | hmm ok... try going to /admin/config/development/performance and clicking the "Clear cache" button |
| 17:09 | mstenta[m] | I doubt that will work... but worth a try |
| 17:10 | johanness_charle | Ok |
| 17:17 | johanness_charle | <mstenta[m] "I doubt that will work... but wo"> I don't know why it has not changed |
| 17:19 | johanness_charle | Does it mean after some time these changes will take effect? |
| 17:20 | mstenta[m] | Can you paste the line of code that you changed? Maybe there's a bug in it? |
| 17:25 | johanness_charle | '#type' => 'markup', |
| 17:25 | johanness_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:31 | johanness_charle | I just did a little editing like that |
| 17:32 | mstenta[m] | Hmm that looks OK |
| 17:32 | mstenta[m] | I'm not sure johanness_charles why your code change isn't being picked up on your server |
| 17:33 | mstenta[m] | Assuming everything else is normal with your installation |
| 17:34 | mstenta[m] | You didn't change the theme in /admin/appearance did you? |
| 17:35 | 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 |
| 17:35 | mstenta[m] | oh ok |
| 17:35 | mstenta[m] | hmm yea i don't know either |
| 17:35 | johanness_charle | <mstenta[m] "You didn't change the theme in /"> I haven't changed the theme |
| 17:36 | mstenta[m] | if you figure it out... let me know... i'm curious now :-) |
| 17:36 | johanness_charle | <mstenta[m] "if you figure it out... let me k"> Sure I will |
| 17:37 | mstenta[m] | sorry i couldn't be more help |
| 17:40 | johanness_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 |