Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Symfony] Problem z componets
Mgorka
post
Post #1





Grupa: Zarejestrowani
Postów: 209
Pomógł: 3
Dołączył: 6.04.2010
Skąd: Słupca

Ostrzeżenie: (0%)
-----


Witajcie chcę utworzyć komponent do strony robię tak jak w poradniku plik components.class.php umiszczam w katalagu modules\global\actions a widok od komponentu w modules\global\templates\ i np nazywam _menu.php. Lecz dostaję error The template "_menu.php" does not exist or is unreadable in "". co może być nie tak dołaczał pliki:
components
  1. <?php
  2. class globalComponents extends sfComponents
  3. {
  4. /**
  5.   * Executes index action
  6.   *
  7.   * @param sfRequest $request A request object
  8.   */
  9. public function executeMenu()
  10. {
  11. $this->news= 'ss';
  12. }
  13. }


Ten post edytował Mgorka 10.01.2012, 12:59:07
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.12.2025 - 18:30