Author |
Message |
Dacubz
Worker


Joined: Apr 27, 2004
Posts: 156
Location: Homer Glen, Illinois
|
Posted:
Sat Nov 27, 2004 10:25 am |
|
I'm using Sommiere, and I'd like some of my links to open within my site the same way that my forums do instead of in a new browser window. How can I do this? |
|
|
|
 |
TheosEleos
Life Cycles Becoming CPU Cycles

Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Sat Nov 27, 2004 12:29 pm |
|
Don't put the entire url into the 'link url' box. If you site is www.mysite.com and you want it to open test.html then put just test.html and not www.mysite.com/test.html.
I hope that helps. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
 |
 |
Dacubz

|
Posted:
Sat Nov 27, 2004 12:50 pm |
|
It still doess the same thing. What I'm looking to do is have the link open and keep the left modules intact. Simething like nukewrap would do, but I cant figure out how to get that to work properly. Thanks in advance! |
|
|
|
 |
TheosEleos

|
Posted:
Sat Nov 27, 2004 2:02 pm |
|
What address is it you want people to be directed to? |
|
|
|
 |
Dacubz

|
Posted:
Sat Nov 27, 2004 2:49 pm |
|
I'm just looking for one of my local pages to open in the main area of my site, keeping the left column in place showing the navigation, etc... something similar to frames. |
|
|
|
 |
TheosEleos

|
Posted:
Sat Nov 27, 2004 4:57 pm |
|
|
|
 |
Dacubz

|
Posted:
Sat Nov 27, 2004 5:01 pm |
|
It's the main module that the forums show in when clicking on them. The one that covers the majority of the page, index.php? |
|
|
|
 |
TheosEleos

|
Posted:
Sat Nov 27, 2004 7:00 pm |
|
What is your web address?
What is the url you are trying to get to work? |
|
|
|
 |
Dacubz

|
Posted:
Sat Nov 27, 2004 7:55 pm |
|
mazx.org. trying to get the members listings to show in the main part of the page when clicked. |
|
|
|
 |
TheosEleos

|
Posted:
Sat Nov 27, 2004 8:18 pm |
|
You need to make it as an actual module for the side blocks to show up.
It isn't that hard really. Use the following code in a file and name it index.php.
Code:<?php
if (!eregi("modules.php", $PHP_SELF)) die ("You can't access this file directly...");
$index=1;
$module_name = basename(dirname(__FILE__));
require_once("mainfile.php");
$pagetitle = "- pHenyl's House Roster";
include("header.php");
OpenTable();
include("modules/$module_name/*****.html");
CloseTable();
include("footer.php");
?>
|
Once you have the index.php file create a folder in 'modules' called 'Mazx_members' and put the index.php file in there. Also put the html file you used to make that members page in there. Then edit the index.php file and change '*****.html' to be whatever the name of your html page is called. Once you do this go into your nuke admin/modules and activate your module.
Post here if you have any questions. |
|
|
|
 |
Dacubz

|
Posted:
Sat Nov 27, 2004 9:59 pm |
|
Can't get the module to show up for activation. Using version 7.5 |
|
|
|
 |
TheosEleos

|
Posted:
Sun Nov 28, 2004 7:52 am |
|
Have you added new modules before and had any problems?
Do a search on the forums for modules not showing up and see if any of those fixes work for you. |
|
|
|
 |
Dacubz

|
Posted:
Sun Nov 28, 2004 3:28 pm |
|
Haven't searched yet. I don't believe I've ever had this problem before, but I'm not sure if it was pre-upgrade or not. |
|
|
|
 |
TheosEleos

|
Posted:
Sun Nov 28, 2004 4:53 pm |
|
Well, this usually happens when you install something that changes the 'modules' table in the database and so when you go to your modules admin it can't add the new module to the database.
You can hit me up on Yahoo or MSN if you would like. My IM information is under my sig.  |
|
|
|
 |
|