Subrion CMS Support Forums  

Go Back   Subrion CMS Support Forums > Subrion CMS Core Discussion > Subrion Core Discussion

Subrion Core Discussion Here we discuss everything that is related to Subrion CMS core functionality. Additional features related to plugins and templates engines. New features that are related to Manage Pages functionality or anything that's not related to Subrion packages.

Reply

 

LinkBack Thread Tools Display Modes
Old 03-26-2008   #1 (permalink)
Senior Member
 
Join Date: Apr 2007
Location: YOZGAT[TR]-StraSbourg[Fr]
Posts: 167
TurXaliM is on a distinguished road
Send a message via ICQ to TurXaliM Send a message via MSN to TurXaliM Send a message via Skype™ to TurXaliM
Default Can i disable the field "within"?

Can i disable the field "within", "10, 20miles" etc ?
I can't find in ADMIN CP
__________________
Excuse me all, My English isn't good
TurXaliM is offline   Reply With Quote
Old 04-01-2008   #2 (permalink)
Junior Member
 
Join Date: Mar 2008
Posts: 11
Ruslan A. is on a distinguished road
Default Re: Can i disable the field "within"?

Hi TurXaliM,

As I understood you don't want to use search by distance option?
if so, follow instructions

1. open '../templates/AutoClassifieds/header.tpl'
find following code
Code:
                        <td style="width: 50px;">Within:</td>
                        <td>
                            <select name="distance" class="text">
                                <option value="0" selected="selected">{$lang.any}</option>
                                {html_options options=$distances}
                            </select>
                        </td>
replace it with
Code:
                        <td style="width: 50px;">&nbsp;</td>
                        <td>&nbsp;</td>
find following code
Code:
                        <td style="width: 50px;">of {$lang.field_zip}:</td>
                        <td>
                            <input type="text" name="zip" size="7" class="text" />
                        </td>
replace with following code
Code:
                        <td style="width: 50px;">&nbsp;</td>
                        <td>&nbsp;</td>
save and close it.

2. open '../templates/AutoClassifieds/search.tpl'

find and remove following piece of code
Code:
<div class="searchingOptions">
        <fieldset class="collapsible" style="float:left;margin:10px;">
            <legend>Distance</legend>
            <table cellpadding="5" cellspacing="0">
                    <tr>
                        <td>Within:</td>
                        <td>
                            <select name="_settings[distance]" id="distance" class="text">
                                <option value="0" selected="selected">{$lang.any}</option>
                                {html_options options=$distances}
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td>of {$lang.field_zip}:</td>
                        <td>
                            <input type="text" id="zip_domid" name="_settings[zip]" size="7" class="text" />
                        </td>
                    </tr>
                </table>
            </fieldset>
</div>
save and close it.

HTH
Ruslan A. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Clicking "Preview" submits article webgomer Subrion CMS Packages Discussion 3 03-12-2008 03:11 AM
What does it mean "Petal", this is English? TurXaliM General Chat 6 09-05-2007 03:16 AM
We can't disabled the "READ FULL"? TurXaliM Subrion CMS Packages Discussion 8 08-01-2007 11:29 PM
"Move to .. " - FIXED redeye Subrion CMS Packages Discussion 10 04-30-2007 09:06 PM
Getting "page not found" on all menu items - SOLVED lexscripta Subrion CMS Packages Discussion 3 04-26-2007 10:29 PM


All times are GMT -6. The time now is 02:50 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0