-
AuthorPosts
-
July 28, 2014 at 2:47 pm #200055
Hi all,
Well, after a lot of blood, sweat and tears (and an external developer for the payment module) I am almost ready to go live.
A few questions on customisation:
1: Is it possible to customize the invoice? My customer would like it to look a little more official
2: When displaying a list of jobs it shows the amount of days before the job expires. Can this be changed to the date the job starts? Since our site is mostly meant to be used for short-term jobs this would be easier.
3: When you enter the wrong credentials, there is a link you can click if you do not have an account already. If you click this, you get the registration module for Joomla, not for Jobboard. Where can I change this?
4: Can I change the maximum length of a username? When using e-mail adresses as username sometimes there is not enough space.And then I found a strange error.
In some cases, when you look at the profile/resume page of a user, it show the username with () instead of a .
Since I am using mail adresses as username, it happens a lot. In the database it is correct and logging in with the dots works, but it is a nuisance that it doesn’t display correctly.I hope to go live on August 1st so I would be very happy with a quick reply.
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
July 30, 2014 at 4:16 am #543866Hello,
Regarding your questions:
<blockquote>1: Is it possible to customize the invoice? My customer would like it to look a little more official</blockquote>
Yes, you can edit invoice page by overridding layout files as below:
– For Employer’s invoice:
components/com_jajobboard/views/jaemployers/tmpl/invoices_detail.php– For Job Seeker’s invoice
components/com_jajobboard/views/jajobseekers/tmpl/invoices_detail.php<blockquote>2: When displaying a list of jobs it shows the amount of days before the job expires. Can this be changed to the date the job starts? Since our site is mostly meant to be used for short-term jobs this would be easier.</blockquote>
by default, it will display published date on Job list page not days before the job expires. Could you please give me URL to that page on your site for further checking<blockquote>3: When you enter the wrong credentials, there is a link you can click if you do not have an account already. If you click this, you get the registration module for Joomla, not for Jobboard. Where can I change this?</blockquote>
To do that, you need override login form of Users component to update registration link to Jobboard registration page.
The file need to be overrided is:
components/com_users/views/login/tmpl/default_login.php<blockquote>4: Can I change the maximum length of a username? When using e-mail adresses as username sometimes there is not enough space.</blockquote>
To increase max length of username filed, please override template files below:
components/com_jajobboard/views/jauserregister/tmpl/regemployerform.php
components/com_jajobboard/views/jauserregister/tmpl/regjobseekerform.php– For detail, you need search for the code:
<input type=”text” id=”username” name=”username” size=”40″ value=”<?php echo JRequest::getVar(‘username’);?>” class=”inputbox required validate-username” maxlength=”25″ /> <span style=”color:red;”>*</span>– and update maxlength=”25″ to maxlength=”100″
<blockquote>when you look at the profile/resume page of a user, it show the username with () instead of a .</blockquote>
You can give me a link to that page for further checking
P/S: you need to override templates files on your template, not directly edit file of component, so your customization will not be lost when you upgrade extension to newer version.
July 30, 2014 at 8:12 pm #543952Hi,
Thanks for the answers, very helpful.
I will PM you user account and url’s so you can take a look.One last thing: I translated the whole thing to dutch, but some elements remain in english, such as dates.
Any idea where to find this?thanks.
Thanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
July 31, 2014 at 8:23 am #544006I have replied you in PM, please have a look.
July 31, 2014 at 8:07 pm #544072Thanks a bunch!
Still struggling with a few things:
– The login form, I can’t seem to get it to display a different link. Can you elaborate a little bit what I should change?
– The dates, if I enable it to show the name of the day, it displays those in English instead of Dutch. Same goes with months. Any clue?
Other things are fixed!
Thanks a lotThanh Nguyen Viet FriendThanh Nguyen Viet
- Join date:
- September 2014
- Posts:
- 1461
- Downloads:
- 0
- Uploads:
- 44
- Thanked:
- 258 times in 217 posts
August 1, 2014 at 2:28 am #544087Hello,
<blockquote>- The login form, I can’t seem to get it to display a different link. Can you elaborate a little bit what I should change?</blockquote>
– In the file
components/com_users/views/login/tmpl/default_login.php– Find the code line:
[PHP]<a href=”<?php echo JRoute::_(‘index.php?option=com_users&view=registration’); ?>”>[/PHP]– And replace it with below one for Register as Employer link:
[PHP]<a href=”<?php echo JRoute::_(‘index.php?option=com_jajobboard&view=jauserregister&layout=regemployerform’); ?>”>[/PHP]– Or use this one for Register as Job Seeker link:
[PHP]<a href=”<?php echo JRoute::_(‘index.php?option=com_jajobboard&view=jauserregister&layout=regjobseekerform’); ?>”>[/PHP]<blockquote>- The dates, if I enable it to show the name of the day, it displays those in English instead of Dutch. Same goes with months. Any clue?</blockquote>
– Please open language file of JA Jobboard component and adding language texts belows if they are not existed:
TODAY="Today"
YESTERDAY="Yesterday"
DAYS_AGO="Ago"
TOMORROW="Tomorrow"
DAYS="Days"timmieboy Friendtimmieboy
- Join date:
- January 2013
- Posts:
- 344
- Downloads:
- 0
- Uploads:
- 59
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
August 14, 2014 at 8:05 pm #546045<em>@Dead Code 438980 wrote:</em><blockquote>Hello,
– In the file
components/com_users/views/login/tmpl/default_login.php– Find the code line:
[PHP]<a href=”<?php echo JRoute::_(‘index.php?option=com_users&view=registration’); ?>”>[/PHP]– And replace it with below one for Register as Employer link:
[PHP]<a href=”<?php echo JRoute::_(‘index.php?option=com_jajobboard&view=jauserregister&layout=regemployerform’); ?>”>[/PHP]– Or use this one for Register as Job Seeker link:
[PHP]<a href=”<?php echo JRoute::_(‘index.php?option=com_jajobboard&view=jauserregister&layout=regjobseekerform’); ?>”>[/PHP]
</blockquote>And how can you change this so it will refer to a menu item register.
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by timmieboy 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum