Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
full-link
Goto page Previous  1, 2
 
Reply to topic    Forum Index » Bugs and errors View previous topic
View next topic
full-link
Author Message
CLC



Joined: 11 Nov 2005
Posts: 13

Post Reply with quote
Ramon wrote:
Trie to place the PHP_self tag where you include the news..



Simply add this line, where page.php is the page you want to refer it to Wink

Quote:
$PHP_SELLF = "page.php";




...It's still not working... Thanks for trying, though...
Mon Nov 14, 2005 7:56 pm View user's profile Send private message
Guest








Please login to hide the ads.

Ramon



Joined: 12 Oct 2005
Posts: 550
Location: Hoogeveen, NL

Post Reply with quote
Try dumping all your cache files Wink



It should work, as it works for me Wink



I also saw I made a little error Sad, its
Quote:
$PHP_SELF = "page.php";
instead of
Quote:
$PHP_SELLF = "page.php";

Mon Nov 14, 2005 7:57 pm View user's profile Send private message Visit poster's website
CLC



Joined: 11 Nov 2005
Posts: 13

Post Reply with quote
Ramon wrote:
Try dumping all your cache files Wink



It should work, as it works for me Wink



I also saw I made a little error Sad, its
Quote:
$PHP_SELF = "page.php";
instead of
Quote:
$PHP_SELLF = "page.php";




(Don't worry. I noticed that little error before. Very Happy )



I GOT IT TO WORK!!!!

:D Very Happy Very Happy Very Happy



I was tinkering with the help file by taking some of that Russian and translating it with an online translator. When I had translated a small portion of it, I saved the file then checked my help file again. I now noticed the following:

Quote:
It is a very simple process. It is necessary only on the top of a file in which will be displayed News to write:



include 'head.php';







So I included that at the top of my page; and now it works!!!! Very Happy Very Happy



Hey, Chupa2k, maybe that's your problem, too!!!



Thanks for the help everyone. Very Happy



I think there is more useful information on the help page; but not all of the Russian words seem to be translating; and the sentences aren't always configured in proper English grammar when translated like that.

If only some kind and generous *wheedle wheedle* *butter up Razz* person could help the writer of the script, at least, translate that one page. I think a lot of problems would be avoided that way.
Mon Nov 14, 2005 8:27 pm View user's profile Send private message
marcusmagalhaes



Joined: 24 Apr 2007
Posts: 73

Post $PHP_SELF doesn't work!! Reply with quote
$PHP_SELF doesn't work!!



I'm using Cutenews.ru last version, and when put this $PHP_SELF = 'newsfront.php'; doesn't go to the specific page..



http://www.mvmweb.com/tvpn/index.php (main page)



when I click in the "Read more"



http://www.mvmweb.com/noticias.php/2007/04/26/videos.html





the directory /tvpn/ gone!!!!!



whats happen?







<?PHP

$static = TRUE;

$category = '2';

$number= 3;

$template = 'Headlines';

$PHP_SELF = 'newsfront.php';

include $cutepath.'/show_news.php';

?>
Thu Apr 26, 2007 5:49 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
I've never used PHP_SELF to do this cause I've always found an easy way to get your full story links to open in any file you want was to do this:



Go to User Friendly URL's in the admin panel (urls.ini)



Add something like:

Code:
[../newsfront]

post = "{title}.html"




Then copy your headlines template to something like 'headlines-newsfront'



Then make your include code for this match your new template. In your template active news change all your full story links to something like this:



Code:
<a href="{link=../newsfront/post}">Read more</a>




That should allow you to produce the same effect that you're having trouble with in PHP_SELF.

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Fri Apr 27, 2007 6:33 am View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Bugs and errors All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to: 
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 cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.