NC forum
September 08, 2010, 03:34:28 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: To grab a free add-on you must be an Active member (min. 10 posts).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Capitalising Keyword List - My list disappeared!  (Read 157 times)
Dave4559
Subscribers
Newbie
*
Posts: 7


« on: July 28, 2007, 10:56:24 AM »

Hi,

I have just tried implement the free add-on which capitalises the keywords, however, after uploading the modified index.php file, the whole keyword list on the site dissappeared!

I have noticed this difference:
The instructions say to search for:

$line2 = str_replace(" ", "-", ($line);
$keyword_array .= "<a href=\"".$image_path ."/". $line2.".htm\">".$line. "</a>";

However, in my index.php file, these lines look like this (keyword list, instead of keyword array, and one less'(' ):

$line2 = str_replace(" ", "-", $line);
$keyword_list .= "<a href=\"".$image_path ."/". $line2.".htm\">".$line."</a>";

Could someone please assist??
Thanks!
Logged
Admin
Administrator
Jr. Member
*****
Posts: 65


Work smart not hard


« Reply #1 on: July 28, 2007, 05:43:40 PM »

Hi,

I have just tried implement the free add-on which capitalises the keywords, however, after uploading the modified index.php file, the whole keyword list on the site dissappeared!

I have noticed this difference:
The instructions say to search for:

$line2 = str_replace(" ", "-", ($line);
$keyword_array .= "<a href=\"".$image_path ."/". $line2.".htm\">".$line. "</a>";

However, in my index.php file, these lines look like this (keyword list, instead of keyword array, and one less'(' ):

$line2 = str_replace(" ", "-", $line);
$keyword_list .= "<a href=\"".$image_path ."/". $line2.".htm\">".$line."</a>";

Could someone please assist??
Thanks!

Hi Dave,

Obviously I made a faulty instruction line. thank you to point this out. I already corrected the instruction post. Sorry for any inconvenience I caused by this.

Admin

« Last Edit: July 28, 2007, 06:29:35 PM by Admin » Logged
Ozzy
Guest
« Reply #2 on: August 07, 2007, 08:50:20 AM »

I cut and paste my keyword lists into Word. I can then either Capitalize them, have only the first letter of every word capitalized or change every word to lower-case.
Cheers,
Ozzy.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!