Package view linking to other .php files

Permalink
Hi

I have two problem, I'm trying to make a little news module that displays headlines and links to a pge to view the news article.

I'd like to give the user two options for viewing, 1) a pop up window and 2) displaying the content inside the default view of the clients theme.

So my question is how would I link from my custom block view.php to another file that displays the popup e.g. link to viewer.php thats inthe block folder.

Secondly how do you link to the users default theme view.php and pass the $maincontent variable?

designportfolio