Author |
Message |
sweetmail
Hangin' Around

Joined: Aug 23, 2007
Posts: 40
|
Posted:
Mon Sep 03, 2007 9:40 pm |
|
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. |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Mon Sep 03, 2007 10:26 pm |
|
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 |
|
|
|
 |
sweetmail

|
Posted:
Tue Sep 04, 2007 8:50 am |
|
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
|
Posted:
Tue Sep 04, 2007 9:03 am |
|
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. |
|
|
|
 |
sweetmail

|
Posted:
Tue Sep 04, 2007 10:21 am |
|
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

|
Posted:
Tue Sep 04, 2007 10:26 am |
|
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

|
Posted:
Tue Sep 04, 2007 11:13 am |
|
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
|
Posted:
Tue Sep 04, 2007 1:56 pm |
|
No it's not RN 8.0, or 8.1. Just a copy of FB's release. |
|
|
|
 |
sweetmail

|
Posted:
Tue Sep 04, 2007 2:34 pm |
|
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!!!!  |
|
|
|
 |
jakec

|
Posted:
Tue Sep 04, 2007 2:41 pm |
|
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

|
Posted:
Tue Sep 04, 2007 2:50 pm |
|
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, 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, 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, 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, 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, I meet you in paradise, schoolboy told parents <br />
Any idea?
thanks in advance |
|
|
|
 |
sweetmail

|
Posted:
Tue Sep 04, 2007 2:53 pm |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Tue Sep 04, 2007 5:23 pm |
|
Well the general consensus around here is that PHP-Nuke 8.0 is junk. These things work in RavenNuke.
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 |
|
|
 |
sweetmail

|
Posted:
Tue Sep 04, 2007 6:30 pm |
|
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.
Thank you everybody. |
|
|
|
 |
Raven

|
Posted:
Tue Sep 04, 2007 10:05 pm |
|
That is a function of your browser, not phpnuke. It's a browser documented feature. |
|
|
|
 |
sweetmail

|
Posted:
Wed Sep 05, 2007 7:53 am |
|
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.
Thanks |
|
|
|
 |
Raven

|
Posted:
Wed Sep 05, 2007 11:50 am |
|
|
|
 |
|