Support Spidean

Do you like our FREE downloads? How about the FREE support for the FREE downloads? Please help us out and donate any amount! It's fast and easy through PayPal.

Spidean Forums

Board Index > Support > no link..just show content?


 < Last Thread   Next Thread >New Topic  Post Reply
Author: Subject: no link..just show content?

Newbie





Posts: 4
Registered: 11/11/2002
Status: Offline

  posted on 11/11/2002 at 11:59 AM
Hi,
Great Product you got there,
My only beef so far is can i have it show the content immediately instead of clicing a sublink then it shows an Iframe?

Perhaps i should be looking at another product?

thanks.
Paul n.


[Edited on 11/11/2002 by jestic008]

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Offline

  posted on 11/11/2002 at 02:39 PM
I'm not sure that I understand what you mean, but if you want to show your postwrap content as soon as someone enters your site then do the following:

- download the Redirect module from the downloads section and install
- modify the redirect index.php and add your postwrap url
- set your Startpage in PN admin settings to the redirect module

Voila, when you first enter your site the postwrap content will be shown.

-HTH
-Shawn

 
Reply With Quote

Newbie




Posts: 4
Registered: 11/11/2002
Status: Offline

  posted on 11/11/2002 at 07:01 PM
that didnt work,
i keep getting:
Sorry, you are not allowed to do that.

Ok heres a better description of what i wanna do.

basically on an Old website i had an iframe in middle of the page i called the "News" frame where it would link to a page on the web be it cnn.com or something that loads on the users entrance.
With PostWrap I have to have the user click to get to the link so its kinda not there as fast. I want it to load immediately in an iframe section of the page + maintain the PN look and functionality.
The redirect module doesnt seem to be doing it for me as i keep getting that error i listed above. and yes i did edit it the index.php file to redirect to the proper url that i know works.

thanks for your help

 
Reply With Quote

Newbie




Posts: 4
Registered: 11/11/2002
Status: Offline

  posted on 11/11/2002 at 07:09 PM
actually i dont know what i did but it seems to be working.
Now on the pn load i get that iframe in the center however i cant get it to go away.
i "Deactivated" postwrap and redirect and its still there! argh!

heres the link its throwing in my address bar.

http://www.iraqiweb.org/post/modules.php?op=modload&nam e=PostWrap&file=index&page=http://www.msnbc.com

Its appearing for EVERYONE and it wont go away. i didnt know postwrap can do that cause this is exactly what i wanted however i dont want it to RULE my page.

[Edited on 11/11/2002 by jestic008]

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Offline

  posted on 11/11/2002 at 07:33 PM
I'm lost as to what you want. It is there on the homepage and if someone clicks a link to go somewhere else (i.e. downloads) it goes there and PostWrap is gone until you return to the homepage.

If you want it to be smaller and to be on every page along with other content then you will have to get rid of postwrap and add an iframe in your theme where ever you want.

To get rid of postwrap on the main page, go to admin settings and change your startpage back to news or whatever.

-Shawn

 
Reply With Quote

Newbie




Posts: 4
Registered: 11/11/2002
Status: Offline

  posted on 11/11/2002 at 09:25 PM
drifting off the subject here.
do u know or do u write that something like postwrap or redirect for phpnuke 6?

thanks.

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Offline

  posted on 11/11/2002 at 11:28 PM
I haven't used phpnuke and don't know anything about it, but since postnuke is a phpnuke fork I'm sure someone in the phpnuke community could do an easy conversion. At least on the 1.x release as it is simple and doesn't have admin or db stuff.

-Shawn

 
Reply With Quote

Newbie




Posts: 3
Registered: 5/23/2003
Status: Offline

  posted on 5/23/2003 at 10:06 PM
Hi
I downloaded PostJump and changed the URL . But after setting home page to point to PostWrap in settings I got this error.

Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site2/fst/var/www/html/demopon_property/html/header.php:97) in /home/virtual/site2/fst/var/www/html/demopon_property/html/modules/PostJump /index.php on line 49

Any help would be appreciated.

Thanks

Mazhar

 
Reply With Quote

Administrator




Posts: 4608
Registered: 10/7/2002
Status: Online

  posted on 5/24/2003 at 03:27 PM
You need to set your home page to "PostJump" and configure PostJump to redirect to your "PostWrap" URL.

-Shawn

 
Reply With Quote

Newbie




Posts: 3
Registered: 5/23/2003
Status: Offline

  posted on 5/25/2003 at 12:21 PM

Hi Shawn
Thanks for your reply. Yes the home page is set pointing to "PostJump" . And I have configured PostJump url to point to my"PostWrap" URL. But I still get the same error.
If I set links in postnuke for the same redirections in PostWrap everything works perfectly with no errors. Whatever page I 'wrap', it works great.

The only problem is getting the site to open staright into a postwrap page with Post Jump. Even if I leave your default settings pointing to the URL

modules.php op=modload&name=PostWrap&file=index&page=http://spidean.mckenzi es.net/

I get the same error. If I delete the URL altogether, the same again. (That is very strange).
Could it be anything to do with js settings??

Can you just check the settings on my PostJump/index.php file please. I am sure they seem OK:

-----------------------------------------------------------------

if(!defined("LOADED_AS_MODULE")) {
die("You can't access this file directly...");
}

$ModName = $GLOBALS['name'];
modules_get_language();

include("header.php");

if(!$url) {
//Change this value to the url you want to redirect to
$url = "modules.php?op=modload&name=PostWrap&file=index&page=http://ww w.e-businesschannel.com/demopon_property/property/index.php";
}

//See if redirect is JavaScript or PHP if passed
if($type == "js") {
//This is the JavaScript way to redirect
echo "<script type=\"text/javascript\">window.location.href=\"$url\"</script>\n" ;
} else {
//This is the PHP way to redirect (prefered and default)
header("Location: $url");
}

include("footer.php");

?>

-----------------------------------------------------------------

I came across a similar problem in oscommerce once. The problem there was down to either 'extra lines or spaces' before or after the php tags. Also I had to 'comment out' the time limit in safe mode' expressions in the general php file. I was told that the latter was causing the 'header already sent' error. I am not suggesting anything similar here, but only stating a past experience.

Again, your expertise and help would be appreciated.

Many thanks.

 
Reply With Quote
New Topic    Post Reply


Main Menu

Get AutoTheme

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 180

Powered by the AutoTheme HTML Theme System
Page created in 0.169285 Seconds