Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0
Author Message
sweetmail
Hangin' Around



Joined: Aug 23, 2007
Posts: 40

PostPosted: Mon Sep 03, 2007 9:40 pm Reply with quote

I am running nuke 8.0 patch 3.3.

Here is my problem,

News modules is on my home page. When I was at nuke 7.0, I was able to use target="_blank" to force the news to open up at a new window.

With this nuke 8.0, I cannot do that anymore. The little nice window at the article/stories edit page to allow you to put a link in your document and choose to either open it at the same window or open it at a new window DOESN'T work. I can never make this option stay in my html code no matter what I do.

Try to edit the html itself, after saving the page, come back to check the code. the code would be gone. News still open up in the same window.

Try to edit the database, no luck.

Any help is greatly appreciated it.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Sep 03, 2007 10:26 pm Reply with quote

See if this works. In your config.php find this line:
Code:
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);


Change
"a"=>2
to
"a"=>3
 
View user's profile Send private message
sweetmail







PostPosted: Tue Sep 04, 2007 8:50 am Reply with quote

I changed it and tried. It doesn't work.

One thing I noticed is that if the application had accepted my change, it will bring me back to the admin.php after the change. If it didn't accept my change, it will take me all the way back to the homepage.

Thanks for the suggestion and thank for your help in advance.
 
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Tue Sep 04, 2007 9:03 am Reply with quote

Hummm ... I wonder if they got religion in doing their editor code? One of the articles you will see on some "how to do good HTML pages" recommends, don't disable the back button. When you open a window in a new page you essentially do that. I don't have the reference handy but if you type "don't disable the back button" into Google you'll get a list of articles. Maybe they fixed the editor so it won't do that. I don't have Nuke 8 and won't so I can't say for sure.
 
View user's profile Send private message Visit poster's website
sweetmail







PostPosted: Tue Sep 04, 2007 10:21 am Reply with quote

Thanks fkelly

I also notice that the Target="_blank" or target=\"_blank\" does not stay at the html code under the admin page.

This is quit an issue here with 8.0 I think
 
Raven







PostPosted: Tue Sep 04, 2007 10:26 am Reply with quote

You might try upgrading to 8.1 to see if that resolves it. Get it in the downloads. Of course we would recommend that you use RavenNuke(tm).
 
sweetmail







PostPosted: Tue Sep 04, 2007 11:13 am Reply with quote

RavenNuke 8.0???

However, I have suffered for almost a month to upgrade this from 7.0 to 8.0. I am exhausted!!! and not sure I want to do another upgrade right now.

Thanks greatly in advance.
 
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Sep 04, 2007 1:56 pm Reply with quote

No it's not RN 8.0, or 8.1. Just a copy of FB's release.
 
View user's profile Send private message
sweetmail







PostPosted: Tue Sep 04, 2007 2:34 pm Reply with quote

Hey jakec

I don't quit follow your answer. Could you explain that a little bit for.

Can't open up a new window is kind of becoming a problem for me!!!! Sad
 
jakec







PostPosted: Tue Sep 04, 2007 2:41 pm Reply with quote

Yes certainly.

You said RavenNuke 8.0???

So I was just explaining that Raven was referring to FB's latest release, not a RavenNuke release.
 
sweetmail







PostPosted: Tue Sep 04, 2007 2:50 pm Reply with quote

I find out another interesting behavior on the html code holder at the admin.php page to edit the news.

e.g I have the following show up when I open the htm code window

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece">I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />

I changed it to

<div> <a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece">I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br /> </div>

or

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece" targer="_blank" >I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />

or

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece" target=\"_blank\" >I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />

After I save the change. phpnuke will take me all the way to the home page. Of course it didn't work. When I come back to the edit page and open up the html code. I got the original code.

<a href="http://www.timesonline.co.uk/tol/news/uk/article2147956.ece">I'm off to join soldiers of Islam,&nbsp;I meet you in paradise, schoolboy told parents <br />


Any idea? Question

thanks in advance
 
sweetmail







PostPosted: Tue Sep 04, 2007 2:53 pm Reply with quote

Thanks jakec.
 
Gremmie
Former Moderator in Good Standing



Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Tue Sep 04, 2007 5:23 pm Reply with quote

Well the general consensus around here is that PHP-Nuke 8.0 is junk. These things work in RavenNuke. Smile

And try getting support for PHP-Nuke 8 from the author. Sorry, you can't.

You'll get plenty of support for RavenNuke here.

_________________
Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module 
View user's profile Send private message
sweetmail







PostPosted: Tue Sep 04, 2007 6:30 pm Reply with quote

Guys,

After reading some more on the internet, I finally found out how to open an new window in nuke 8.0

All you have to do is Shift-click at the link, it will open the new window. If you just only click at the link, it will open in the same window. I love this feature and I wish this were in one of the installation documents so that I didn't have to spend days to try to figure it out.

On the other hand, I did learn a lot about the nuke 8.0 while trying to solve this problem.
Wave
Thank you everybody.
 
Raven







PostPosted: Tue Sep 04, 2007 10:05 pm Reply with quote

That is a function of your browser, not phpnuke. It's a browser documented feature.
 
sweetmail







PostPosted: Wed Sep 05, 2007 7:53 am Reply with quote

Oh!!! thanks. I actually thought about that after I got to sleep on it last night. Anyway, I think I am done with the upgrade. Here is my website link www.shaklee.hk and it is running nuke 8.0 patch 3.3 and NukeSentinel_2511_66-81.

Thank everybody for all of your help, especially Evaders99 and Gremmie and you Raven.


Dance-Y
Thanks
 
Raven







PostPosted: Wed Sep 05, 2007 11:50 am Reply with quote

RavensScripts
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 8.0

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©