 |
 |
 |
 |
 |
| Author |
Message |
snatch518
Joined: 07 Jun 2008 Posts: 8
|
|
Hope this helps. |
|
I was under the impression that the script would automatically search headlines and include the results. That's not the case! If you have the AJAX version, you can do a search and then click the headlines you want to display for related posts. If you do not, you have to manually enter the ID #s of the posts you wanted to include in the related posts section.
|
|
| Mon Jun 23, 2008 6:22 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
|
|
This ajax thingy doesnt work for me..
|
|
| Tue Jun 24, 2008 10:46 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
Wow, I haven't really taken the time to really appreciate your ajax upgrade. I'm going to go play with it real quick. I was thinking man but I don't want to be manually finding ID's, then I read your desc. for ajax lol WALA
edit
Okay, I got to play with it some. It is exactly as described! Perfect and wonderful. I love it. The only thing... I tried to do this myself but failed.
When you search in the add/edit page could you have it so it shows the ID# of the post you're about to click on in a title="$id" sort of fashion. Here was my failed code from your related_results.php:
 |  | $return .= '<li><a href="javascript:insert_related(\''.$key.'\')" title="\''.$id.'\'">'.get_title($key).'</a></li>'."\n"; |
Which DOES show the 'title' box pop up when the mouse hovers BUT it shows '' instead of the #... Then my head blew up.
One last thing I want to say... How hard is this to make an ajax search work this way on a persons website anywhere? It's basic template wouldn't have to be more than:
<a href="url">{title}</a><br>
{short-story}<br><br>
The user could customize it from there. Just a thought. A cool mini search.. although I notice this doesn't support multiple word searching does it?
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Wed Jul 23, 2008 12:12 am |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 268
|
|
|
|
well, when i enter something in the field it just doesnt happen. No ajax search... That is where i stopped.
But one thing that really bothers me, lately i made a fresh install with the sql placed of the older version,
every value ive put in a news story is gone And im not going to put that all back in again for 700+ stories
Maybe a upgrade that related posts saves the values using mysql
Same as Xfields by the way.. no mysql
|
|
| Wed Jul 23, 2008 11:21 am |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1843 Location: US |
|
|
|
Man I'm sorry it doesn't show up for you. Makes me think your sever just doesn't like it..
I noticed that in IE when you hover over the ajax links it shows the IE down in the bottom left status bar but on FF (which is what I used first) it does not which is why I asked for the pop up.. just thought that was interesting.
edit
I also notice it won't search less than 3 characters, is this right? Must be = or > than 3 characters? I like that 
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Wed Jul 23, 2008 1:13 pm |
|
 |
webbber
Joined: 15 May 2008 Posts: 61
|
|
|
|
Its working now, I dunno why I couldnt get it. Now, everytime im gonna post a news I have to enter the related post number, so that the news can show this related post. Is there any way to just select the related category when posting an article?
Understand what I mean? Oh man, my english is so bad!
|
|
| Fri Jul 25, 2008 4:42 pm |
|
 |
|
|
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
|
|
 |
 |
 |
|