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

Metronic Laravel Framework: Updating Page Title


Why does it appear on my web page tab that Laravel is written? I want to change this


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)


How exactly ?
resources/views/layout/master.blade.php

<title>{{ $title. ' | '.config('app.name', 'Laravel') }}</title>

and i want to pass that from my controller

public function profile()
{
..................
$pageOptions = [
"title" => "Profile Update",
..................
];
return view("pages.dashboards.profile",$pageOptions);
}

Now can you please tell me what do i pass in app/View/Components/DefaultLayout.php

in order to get all the pageOption keys available to resources/views/layout/master.blade.php



You can modify the title tag in the master.blade.php file.
Open the master.blade.php file located in the /resources/views/layout/ directory.
Look for the <title> tag within the <head> section of the HTML.
Update the content of the <title> tag to the desired title for your web page.

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  :(
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  :(