Support Joomla!
Register :
Lost password?
Remember me
Home
Extensions
Template Club
Services
Forum
Rename and remove fields
Forums
Search:
Advanced search
2728
Posts in
652
Topics by
12196
Members
Latest Member:
Rudolph ROBELIN
Forums
Products - English
Extensions
NeoRecruit
Rename and remove fields
« previous
next »
Pages:
[
1
]
Author
Topic: Rename and remove fields (Read 1677 times)
Graham Chapman
Newbie
Posts: 4
Rename and remove fields
«
on:
November 06, 2007, 11:17:20 PM »
I need to rename the "ZIP" field to "Post Code" and remove the "Job(s) available(s) :", "Studies level required :", "Job beginning on :" and the "Country *" fields.
Any help much appreciated.
Thanks
Logged
Raphael
Administrator
Hero Member
Posts: 899
Re: Rename and remove fields
«
Reply #1 on:
November 07, 2007, 09:07:46 AM »
Hello Graham,
To rename the "Zip" text, you just have to edit the language file, in folder /component/com_neorecruit/languages/.
Then, you want to edit the offer form and the application form? You want to remove completely the fields, or just set them as optionnal?
Logged
Graham Chapman
Newbie
Posts: 4
Re: Rename and remove fields
«
Reply #2 on:
November 08, 2007, 02:48:56 AM »
Hi Raphael.
Thanks for the info regarding the renaming of the fields. As for the second problem, yes i would like to remove these options completely.
Thanks
Logged
Raphael
Administrator
Hero Member
Posts: 899
Re: Rename and remove fields
«
Reply #3 on:
November 08, 2007, 09:34:37 AM »
Ok Graham,
You need so to edit the files front.application_form.html.php and front.offer_card.html.php.
Don't forget to modify the javascript too.
Regards,
Logged
Paul Higgins
Newbie
Posts: 19
Re: Rename and remove fields
«
Reply #4 on:
January 16, 2008, 02:25:46 PM »
can you change the location field to a drop down of locations?
Logged
Raphael
Administrator
Hero Member
Posts: 899
Re : Rename and remove fields
«
Reply #5 on:
January 17, 2008, 09:12:41 AM »
Hello Paul,
To replace the field by a select list requires to add a "locations manager" in the backend, to manage the list values.
We can't do this modification now, but we will certainely add it in the next version of the component, in a few months.
Regards,
Logged
Paul Higgins
Newbie
Posts: 19
Re: Rename and remove fields
«
Reply #6 on:
February 03, 2008, 05:00:44 PM »
coming back to this, if i dont want it editable in the back end, and their are only 10 locations that i would want, could this not be be done and the location selected on the drop down is what is displayed?
Logged
Raphael
Administrator
Hero Member
Posts: 899
Re : Rename and remove fields
«
Reply #7 on:
February 04, 2008, 11:01:17 AM »
Sure that could be done!
You can add something like this in the files *.offer_edit.php :
Code:
$locations = array();
$locations[] = mosHTML::makeOption( 0, ' - select a location - ' );
$locations[] = mosHTML::makeOption( 1, 'Lille' );
$locations[] = mosHTML::makeOption( 2, 'Paris' );
$locations[] = ...
$lists['location'] = mosHTML::selectList( $locations, 'location', 'size="1" class="inputbox"', 'value', 'text', $offer->location );
And then replace in the files *.offer_form.html.php the line :
Code:
<td><input name="location" type="text" class="inputbox" id="location" value="
<?php
echo
$offer
->
location
;
?>
" size="50" maxlength="255" /></td>
by :
Code:
<td>
<?php
echo
$lists
[
'location'
];
?>
</td>
Regards,
«
Last Edit: February 04, 2008, 11:02:48 AM by Raphael
»
Logged
Paul Higgins
Newbie
Posts: 19
Re : Rename and remove fields
«
Reply #8 on:
February 04, 2008, 12:22:30 PM »
can this also be included in the search function?
Logged
Raphael
Administrator
Hero Member
Posts: 899
Re : Rename and remove fields
«
Reply #9 on:
February 04, 2008, 12:42:25 PM »
Yes, it's possible.
You need to do the same modifications in the files front.offer_search.php and front.search_form.html.php, and replace the function strval by the intval one, in the file offer_search, on line 30.
Regards,
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
NeoJoomla - English
-----------------------------
=> Announcements
=> General discussions
=> Suggestions & Feedback
=> Your realisations with Joomla!
-----------------------------
Products - English
-----------------------------
=> Extensions
===> NeoRecruit
===> NeoFlashBanner
===> NeoReferences
===> NeoWebtour
===> NeoLegal
===> NeoMenu
===> NeoLatestNews
===> NeoJoomlaBar
=> Templates
===> Musashi
===> RetroGraphix
===> SimplicityDotted
===> MyFlowers
===> ElGancia
===> Oldskool GUI
-----------------------------
NeoJoomla - Français
-----------------------------
=> Annonces
=> Discussions générales
=> Suggestions et retours
=> Vos réalisations avec Joomla!
-----------------------------
Produits - Français
-----------------------------
=> Extensions
===> NeoRecruit
===> NeoFlashBanner
===> NeoReferences
===> NeoWebtour
===> NeoLegal
===> NeoMenu
===> NeoLatestNews
===> NeoJoomlaBar
=> Templates
===> Musashi
===> RetroGraphix
===> SimplicityDotted
===> MyFlowers
===> ElGancia
===> Oldskool GUI
===> Sport's Web
===> Clocking Machine
===> Summer Week
===> Light Skills
===> Underground
===> J!lloween
Loading...
Joomla Professionals
|
Joomla Components
|
Joomla Extensions
|
Joomla Templates
|
Joomla Design
|
Joomla Developers
|
Joomla Blog
|
Contact
|
Quote