Osclass forums
Support forums => General help => 3.7.x => Topic started by: CameraGigs on June 11, 2018, 06:54:34 pm
-
Hello. I thought that I could change the wording of "Publish a listing" and "Price" to something else on this page: item-post.php but when I change the text and save changes it doesn't update to the changes I made. Am I trying to change it on the wrong page?
Thanks!
-
By the way, I'm using the standard Bender theme and accessed that page this way:
oc-content/themes/bender/item-post.php
Thank you.
-
Specifically, I'm trying to change the word "Price" on the listings page to "Budget".
I changed this code (Line 78 of the item-post.php page under the Bender Theme) from <label class="control-label" for="price"><?php _e('Price', 'bender'); ?></label>
to:
<label class="control-label" for="price"><?php _e('Budget', 'bender'); ?></label>
but that didn't change it.
Any help would be very much appreciated.
Thanks!
-
Specifically, I'm trying to change the word "Price" on the listings page to "Budget".
I changed this code (Line 78 of the item-post.php page under the Bender Theme) from <label class="control-label" for="price"><?php _e('Price', 'bender'); ?></label>
to:
<label class="control-label" for="price"><?php _e('Budget', 'bender'); ?></label>
but that didn't change it.
Any help would be very much appreciated.
Thanks!
I changed the following to <label class="control-label" for="price"><?php _e('Budget', 'bender'); ?></label>
label class="control-label" for="price"><?php _e('Price', 'bender'); ?></label>
on item-post.php and it worked.
Cheers
-
You're saying that you did the exact same thing I did, but it worked for you?
I guess I need to look again. I don't know why mine didn't take.
-
When I look at this page's source code, I see this:
<div class="control-group control-group-price">
<label class="control-label" for="price">Price</label>
It appears it gets changed there? Where can I find this?
Thanks!
-
When I look at this page's source code, I see this:
<div class="control-group control-group-price">
<label class="control-label" for="price">Price</label>
It appears it gets changed there? Where can I find this?
Thanks!
Now change <label class="control-label" for="price"><?php _e('Price', 'bender'); ?></label> to <label class="control-label" for="price"><?php _e('Budget', 'bender'); ?></label>
It certainly worked for me.
-
Thanks! What file structure/area do I find that Label Class in?
-
Thanks! What file structure/area do I find that Label Class in?
It's in 'item-post.php' file.
Keep playing on you local machine until you get the hang of it and go live once you have gathered enough confidence. Best of luck.
Cheers!
-
So, when I look at it as it resides on my hosting company's file manager (public_html/oc-content/themes/bender/item-post.php) it looks like this:
<div class="control-group control-group-price">
<label class="control-label" for="price"><?php _e('Budget', 'bender'); ?></label>
<div class="controls">
<?php ItemForm::price_input_text(); ?>
<?php ItemForm::currency_select(); ?>
</div>
But when I look at the Live Site's Source Code, it looks like this:
<div class="control-group control-group-price">
<label class="control-label" for="price">Price</label>
<div class="controls">
<input id="price" type="text" name="price" value="" /> <input id="currency" type="hidden" name="currency" value="USD" />$ </div>
</div>
What am I missing? Or what file did I not edit that I should have?
Thank you.
-
On the item-post.php (section of it shown below) change Price to Budget
<?php if( osc_price_enabled_at_items() ) { ?>
<div class="control-group control-group-price">
<label class="control-label" for="price"><?php _e('Price', 'bender'); ?></label>
<div class="controls">
<?php ItemForm::price_input_text(); ?>
<?php ItemForm::currency_select(); ?>
</div>
</div>
<?php } ?>
Cheers!
-
I already have. But for reasons I can't seem to find, it's not changing on the Site itself.
This is the actual code from the File Manager Page on my hosting site (public_html/oc-content/themes/bender/item-post.php) as I've changed it and Saved Changes:
<?php if( osc_price_enabled_at_items() ) { ?>
<div class="control-group control-group-price">
<label class="control-label" for="price"><?php _e('Budget', 'bender'); ?></label>
<div class="controls">
<?php ItemForm::price_input_text(); ?>
<?php ItemForm::currency_select(); ?>
</div>
But for some reason, it's not appearing that way on the site itself.
I'm lost.......
-
The only thing I can think of is that your changes are not getting saved on the server. Why not, make changes on your local machine and upload it.
Best of luck!
-
Because I'm not hosting my own site. It's been hosted by a 3rd Party Company.
-
Duh....I figured it out. I was using the Default Theme. When I "activated" the Bender theme, all was well. Sometimes the simplest things are the hardest for those who can't see them....
Thanks!