This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

exe2k
exe2k

Hello, community! I'm completely new to October and unfortunately to Laravel either. I know php, oop(in general), MVC concept. So I want to make a settings panel (like urls to social networks, on\off switches, name, slogan, phones fields and other items to make the theme 'easy to use'. I can easily write this functionality in pure php but how to make it with October?

I used Builder plugin and it is probably could be the way to go, but it creates LISTS, what i want is just the single page (form) that shows after I click an item in the list. is it possible to set it up this way? Or should I use anything else?

Last updated

mjauvin
exe2k
exe2k

mjauvin said:

Please, read this section:

https://octobercms.com/docs/themes/development#customization

Thanks. is there a way to edit this settings inside administration panel ?

mjauvin
mjauvin

Yes, under Settings/Front-end-themes/customize

exe2k
exe2k

mjauvin said:

Yes, under Settings/Front-end-themes/customize

You really helped me a lot. Thank you. Could u please answer a few more questions?

  1. What should I learn to customize October however I want and write plugins with any functionality I need?
  2. I have some substantive code in my.php (it access MySQL, do some things with data and output (return) the result to the page. As far as I got I need to rewrite this my.php as an October Plugin to use this on pages?
  3. You told me to look at "Settings/Front-end-themes/customize" but how did you know it? May be I'm reading the wrong manual?))) I even tried to search there but found no words about where to find my custom fields))

Thanks in advance, mjauvin

Last updated

mjauvin
mjauvin

You really helped me a lot. Thank you. Could u please answer a few more questions?

  1. What should I learn to customize October however I want and write plugins with any functionality I need?

You need to read the documentation, look at the core source code how things are done. You can also look at other people's plugins/themes source code to learn how they do stuff (especially the Rainlab plugins)

  1. I have some substantive code in my.php (it access MySQL, do some things with data and output (return) the result to the page. As far as I got I need to rewrite this my.php as an October Plugin to use this on pages?

With OctoberCMS, you should really use the eloquent query builder, it's very powerful and clean. At first it's more difficult, but once you get the hang of it, it's pretty nice.

  1. You told me to look at "Settings/Front-end-themes/customize" but how did you know it? May be I'm reading the wrong manual?))) I even tried to search there but found no words about where to find my custom fields))

Experience... you can also ask questions on the Discord help channels.

Good luck!

Last updated

exe2k
exe2k

Thank you again) I was thinking to learn Laravel to deal with October, but now i see it may be not so helpful as to learn the core code.

1-7 of 7

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.