Render from another path

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.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
lakeweb
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Feb 01, 2008 5:45 pm
Location: Vernon AZ
Contact:

Render from another path

Post by lakeweb » Sat Feb 02, 2008 9:30 pm

I posted this in another thread but I think this is the right place with where I've gone...

****
I started working with Joomla yesterday. I thought I would experiment with 'one install'. We have a dozen domains, much less subdomains. So far, just by hacking the index.php at:

define('JPATH_BASE', '/var/www/vhosts/lakeweb.net/httpdocs/jmla' );

I can get this:
http://lakeweb.net/test

Here is the real page:
http://lakeweb.net/jmla/
****
Using 1.5

Since then I've worked my way down to:
JDocumentHTML::render where I've put:

It doesn't look it would be much to get the engine to put the proper links in. But I don't know as I've just started looking under the hood.

$directory is correct
/var/www/vhosts/lakeweb.net/httpdocs/jmla/templates

I can only see that the content is rendered here. If I comment load and parse, the style sheet links and such still make it to my browser.

Any Ideas?

Thanks, Dan.

Post Reply