Welcome, Guest ( Login | Register )
Remember Me  
 
 
All times are UTC
 
 
How do I use underscore between file names instead of hyphen
 
Page 1 of 1 [ 3 posts ]
Author Message
Post subject: How do I use underscore between file names instead of hyphen
Posted: Wed Jan 27, 2010 9:51 pm

Tenderfoot

Tenderfoot

Posts: 8

Online

When generating the link directory, how can I alter the code so that an underscore "_" appears between words rather than the default hyphen "-"?

For the particular directory I'm placing the link directory files, my software requires underscores between file names and won't recognize hyphens in the file name.

For example, if I create a category called 'miscellaneous', the generated file name and links to it is called 'resources-miscellaneous.php' but I would need the generated file to be named 'resources_miscellaneous.php'. Likewise if I create a category called 'office supplies', Link Assistant generates a file called 'resources-office-supplies.php' but I would require the name to be called 'resources_office_supples.php'


Top
Post subject: Re: How do I use underscore between file names instead of hyphen
Posted: Fri Jan 29, 2010 5:06 pm

Site Admin

User avatar

Posts: 2720

Online

You need to add a parameter into your directory template.

In the beginning there's a

<[DIRECTORY_VIEW]> tag.

You need to insert the parameter
Code:
pageNaming="underscore-delimited"


so it all looks this way:

Code:
<[DIRECTORY_VIEW pageNaming="underscore-delimited" ...[i]other parameters[/i]...

_________________
Search Engine Optimization Software SEO PowerSuite

See a spammer? Click "Report this Post" (bottom right) and help keep our forum clean!


Top
Profile   |   Website
Post subject: Re: How do I use underscore between file names instead of hyphen
Posted: Fri Jan 29, 2010 11:59 pm

Tenderfoot

Tenderfoot

Posts: 8

Online

Thanks alot, that worked perfectly...


Top
Display topics from previous:  Sort by  
Page 1 of 1 [ 3 posts ]

 
 
All times are UTC
Jump to: