Adding Views in Frontend

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.
User avatar
Joomla! Explorer
Joomla! Explorer
Posts: 375
Joined: Tue Aug 23, 2005 3:31 pm
Location: Austria

Adding Views in Frontend

Post by phreak_02 » Fri Aug 22, 2008 2:33 pm

Hi all,

I looked trough the code of com_weblinks and com_contact, because i wanted to know how i can access a second view in a component frontend from the first one. Sorry to say, i don't get it.

I have a component (edited com_hello) displaying database contents in the frontend and i'd like for example
>> <?php echo "$row->name" ?> to link to another page (another view).

I'm not so god in reading the code, so maybe someone can help and tell what code part needs to be taken and which parts of the MVC play a role in this ?

phreak - I work for you ! - I'm running this !


Return to “Joomla! Coding 101”