Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

How to update theme options from controller


Hi,

We need to override the values in general.php from controller dynamically.

we need to override page title, meta options and adding pixels script.

Please guide me how to do that.

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


My cousin in London went through addiction recovery, but still felt lost even after rehab. She told me she didn’t feel “mentally safe” yet. I looked into psychological safety and was surprised how helpful this page was. It’s UK-based and offers one-on-one guidance with a warm, supportive tone. It even talks about how addiction affects long-term confidence in women. The clarity of advice and emotional care made me want to recommend it to others.



Hi,

Sorry for the late reply.

As I understand you are using your custom PHP code to generate the Metronic templates-based pages. In your case, you can create a config array where you store the title/meta of each page and use it when a page is generated.

If you are using our Laravel Starter Kit then please let us know. We can give you further advice.

Regards.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(