OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to change browser title for VehicleManager (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

How to change browser title for VehicleManager

Taras (User)
Platinum Boarder
Posts: 2857
graphgraph
User Offline Click here to see the profile of this user
How to change browser title for VehicleManager 8 Years, 10 Months ago
Karma: 58  
You need edit vehiclemanager.php

in your website/components/com_vehiclemanager folder


find this part of code and rename Vehicle Manager as you need

Code:

$tagtitle = "";
      for ($i = 0; $i < count($title); $i++) {
          $tagtitle = trim($tagtitle) . " | " . trim($title[$i]);
      }

      $vm = "Vehicle Manager ";
      //To set Title
      $title_tag = PHP_vehiclemanager::mylenStr($vm . $tagtitle, 75);
      //To set meta Description
      $metadata_description_tag = PHP_vehiclemanager::mylenStr($vm . $tagtitle, 200);
      //To set meta KeywordsTag
      $metadata_keywords_tag = PHP_vehiclemanager::mylenStr($vm . $tagtitle, 250);

      $doc->setTitle($title_tag);
      $doc->setMetaData('description', $metadata_description_tag);
      $doc->setMetaData('keywords', $metadata_keywords_tag);



Follow attached image
Logged Logged
The administrator has disabled public write access.
Go to top
»