Osclass forums
Support forums => General help => Topic started by: zachdude on April 18, 2013, 05:42:52 am
-
Exactly what the subject says. I want to edit it to say "Post an item"
Also, is there a way to remove the Location part when creating an ad?
-
it is in the header.php of your theme.
For modern theme in the header.php /oc-content/themes/modern/header.php :
Go line 41 replace <a href="<?php echo osc_register_account_url(); ?>"><?php _e('Register for a free account', 'modern'); ?></a>
With<a href="<?php echo osc_register_account_url(); ?>"><?php _e('Post an item', 'modern'); ?></a>
If your problem is solved mark it solved please...
For the location what do you want to do: remove it ?
Regards,
Van.
-
3.1.1
oc-content\themes\modern\header.php (line 77)
-
I have the same problem but with osclass bender theme, Can I change the "Publish your ad for free" button to say something else?
-
I have the same problem but with osclass bender theme, Can I change the "Publish your ad for free" button to say something else?
You have detailed info in your post https://forums.osclass.org/repurpose/help-with-free-classifieds-osclass-script-35679/msg149455/#msg149455
-
Turns out there is a shorter way on changing the original english words.
/oc-content/languages/en_US
Edit theme.po
replace
#: footer.php:43 header.php:55 item-sidebar.php:64 user-login.php:58
msgid "Register for a free account"
msgstr ""
#: footer.php:50 header.php:60
msgid "Publish your ad for free"
msgstr ""
with
#: footer.php:43 header.php:55 item-sidebar.php:64 user-login.php:58
msgid "Register for a free account"
msgstr "Your register text here"
#: footer.php:50 header.php:60
msgid "Publish your ad for free"
msgstr "Your publish text here"
Then generate the .mo file and put it onto the server and you're done.