On 9 Sep 2005, at 08:56, Ken Nordquist wrote:
> I added a random business feature to my nakes (NAICS Business
> Listings)
> module. I had to add CNT_Nakes_block to layout for it to work
> properly.
> On a new install, everything works great. My problem is making it
> work
> with old installs.
>
> As of now, I have a site which uses branches. I tried adding
> CNT_Nakes_block to mod_layout_box (and adjusting mod_layout_box_seq),
> but to no avail.
>
> How can I accomplish this without backing up the tables, uninstalling
> and reinstalling the mod and then restoring the tables...
There's a function in layout to add the extra box...
eg..
$_SESSION['OBJ_layout']->create_temp("module_name", "CNT_new_box",
"body", "1");
Shaun
aegis design - http://www.aegisdesign.co.uk
aegis hosting - http://www.aegishosting.co.uk
|