Osclass forums

Support forums => Themes => Twitter => Topic started by: tatedewey on April 13, 2014, 12:31:18 am

Title: Change "Region" in Location (SOLVED!)
Post by: tatedewey on April 13, 2014, 12:31:18 am
Hey everyone, I'm wanting to change where it says "Region" in the Listing Location when publishing an Ad and also get rid of the city and neighborhood options. Here's a screenshot of what I'm talking about. Thanks for the help!
Title: Re: Change "Region" in Location
Post by: S.Trajkov on April 13, 2014, 05:51:26 am
Open item-post.php and from line 92 to 101, you can change the Region, and remove Neighborhood as well and the City box. :)

Code: [Select]
<!-- location -->
                            <h3><?php _e('Location''twitter'?></h3>
                            <?php item_country_box(__("Country""twitter"), __("Select a country...""twitter")) ; ?>
                            <?php item_region_box(__("Region""twitter"), __("Select a region...""twitter")) ; ?>
                            <div class="clearfix">
                                <label for="cityArea"><?php _e('Neighborhood''twitter') ; ?></label>
                                <div class="input">
                                    <?php item_city_area( ) ; ?>
                                </div>
                            </div>
Title: Re: Change "Region" in Location
Post by: tatedewey on April 13, 2014, 06:16:33 am
Didn't work when I uploaded it :( does anyone else have a fix?
Title: Re: Change "Region" in Location
Post by: innoserv on April 21, 2014, 06:11:20 pm
hi tatedewey
did you use twitter or modern theme??
Title: Re: Change "Region" in Location
Post by: design on April 21, 2014, 07:37:21 pm
that wasn't supposed to be uploaded. he was showing you where to edit to what you want.
remove the clear fix div and change the word(in red) to what you want it to say
Title: Re: Change "Region" in Location
Post by: tatedewey on April 28, 2014, 07:47:08 pm
I did exactly that and it's still not even showing up on the Manage Themes page when I upload the new theme with those fixes.
Title: Re: Change "Region" in Location
Post by: design on April 28, 2014, 08:05:43 pm
                            <h3><?php _e('Location', 'twitter') ?></h3>
                            <?php item_country_box(__("Country", "twitter"), __("Select a country...", "twitter")) ; ?>
                            <?php item_region_box(__("State", "twitter"), __("Select a State...", "twitter")) ; ?>
Title: Re: Change "Region" in Location
Post by: tatedewey on April 28, 2014, 10:05:41 pm
I changed the "Country" and "Select a country" parts and it's not working, could it be I have to make those changes in other files?
Title: Re: Change "Region" in Location
Post by: design on April 28, 2014, 11:35:44 pm
are you using any other language besides USA?
are you uploading to the right place? that is the only place to change that, unless your theme is wacky and it is defaulting to the core bender theme.
what is your website? you can pm me
Title: Re: Change "Region" in Location
Post by: tatedewey on April 30, 2014, 04:20:21 am
All set now! Don't know what the problem was before but now it's working. Thanks everyone!