Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to include css from controller and view in zend



How to include css from controller and view in zend..

Answer / Atendra Singh

In Zend Framework, you can include CSS files by specifying their paths in the layout file (usually located at application/layouts/scripts/layout.phtml). For example, to include a stylesheet located at public/css/styles.css, add the following line: `<link rel="stylesheet" type="text/css" href="$this->baseUrl('/css/styles.css')" />`. In the controller or view, you can also use the baseUrl() function to generate the correct URL.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

How to create model file in zend framework?

1 Answers  


How to install zend on your local machine?

1 Answers  


Difference between javascript ajax request vs jquery $.ajax?

1 Answers  


Which class extend the zend controller? Zend_controller_action

1 Answers  


How we can add custom view helpers to zend framework 2?

1 Answers  


Explain form element decorators in zend framework2?

1 Answers  


What is zend engine?

1 Answers  


Tell me what is the function of model in mvc architecture?

1 Answers  


What are the advantages of zend framework 3? Explain

1 Answers  


How to include js from controller and view in zend?

1 Answers  


How to check request is ajax in zend framework?

1 Answers  


Name some important component in zend framework?

1 Answers  


Categories