Find Jobs
Hire Freelancers

Modify Drupal entityreference_autocreate (ERA) module

$30-250 USD

Đã đóng
Đã đăng vào hơn 7 năm trước

$30-250 USD

Thanh toán khi bàn giao
Modify Drupal entityreference_autocreate (ERA) module to autocreate a entity with the same title. The ERA module's code (considering its usefulness) is very lightweight and very well documented. Currently, ERA will check to see if a node exists depending on the name of the title. If title exist, ERA will NOT autocreate a new node. The issue with this, in 'our use case' is that sometimes we DO WANT ERA to autocreate a new node with the same title. We feel the solution is to let the user decide whether or not to autocreate the node, by clicking on a toggle button, aka switch. So for this project: Create a toggle button next to the ERA input box. Modify ERA to evaluate the toggle button. We will also need for you to create a new 'data' attribute ie. 'data-era-toggle' on ERA's existing input selector. This attribute is for a joint project. As we are also working on a views ui dialog (similar to the token ui dialog drupal admin has) in where the user can select from existing items and the nid is applied to the 'data' attribute. Modify ERA to also get this data-era-toggle attribute, ie. if not empty && is_numeric, use this nid, in its evaluations. Currently ERA uses entity id retrieved from the autocomplete or the value in the input box to determine if the item exist. By supplying the nid, we can skip all that and target the nid perfectly. And if it's an empty value (no nid), let ERA do its normal validations. The only details left is the js, which is simple click,focus,removeClass,addClass,etc.. The button styling we will post in later project, along with other styling requirements for other elements.
Mã dự án: 11760638

Về dự án

12 đề xuất
Dự án từ xa
Hoạt động 7 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
12 freelancer chào giá trung bình $236 USD cho công việc này
Avatar người dùng
Would not believe you, just reach directly in module code :) I was thinking it should be easy but later I found that no module is not working with node only. It is working with users and Taxonomy as well. Please do not award now as I just want to make sure what is there in your site, please share me the details. I understand that you want to use ERA to autocreate a new node with the same title (Optional). So you need a toggle button to manage this option, please check my findings and what need to below: 1) In ERA module there are some widget validation. We can set only one widget at a time from drupal backend through dru -- entityreference_autocreate_validate -- entityreference_autocreate_validate_tags 2) New node will be create or from will be save if validation are satisfied respective widget validation. 3) In those validation function target id is defined by another function named- [entityreference_autocreate_get_entity_by_title] this function Fetches the named entity for the field, and creates it if not found (by entityreference_autocreate_new_entity). 4) So we need to change the validation of "entityreference_autocreate_validate" and "entityreference_autocreate_validate_tags" function. As well as within related function "entityreference_autocreate_get_entity_by_title" and "entityreference_autocreate_new_entity" in ERA module. 5) We will make a condition to add same title and bypass the process to create the entity for node with same title. I will wait for your reply.
$210 USD trong 7 ngày
4,9 (143 nhận xét)
8,6
8,6
Avatar người dùng
Hello, I'm a PHP/Drupal/WordPress CERTIFIED EXPERT coder and having over 10 years in programming. My top skills are PHP, HTML, CSS, jQuery, Drupal, WordPress. I can create the modules/plugins/themes in Drupal/WordPress as well.I guarantee you that we can easily fulfill your needs within the time and budget . You would love to work with professional who believe in long term relationships. Please look my portfolio at https://www.freelancer.com/u/minhhoangduc.html?pvpReviewLink=true Please let me help you do it. Best Regards, Minh H
$222 USD trong 3 ngày
4,9 (183 nhận xét)
7,4
7,4
Avatar người dùng
++ This is my job. I'm ready to begin now. Pm for me. Thanks Looking forward to hear from you, Feel free to talk about this interesting stuff, give us any questions you have to know more about us ;-) Thanks Oleg!
$200 USD trong 3 ngày
4,5 (53 nhận xét)
5,3
5,3
Avatar người dùng
Hello There, Very excited and glad to see that you are from U.S.A, as i visit frequently to catch up with my clients.. My name is DS, New Zealand based freelance designer/developer here. With more than 12 years of experience i worked for various clients across Australia, New Zealand and UK. Worked on projects ranging from simple to extremely complex and helped clients in achieving better software outcomes. Have had go through the requirements, excited and very keen to work on this project. Strongly believe that me being in NZ, my technical skills along with working in same time will add additional advantage. Why you should consider me? 1. NZ based freelancer, So will be just a call away.  2. Innovative development and testing practices in place such as continuous integration and Agile manifesto. So there will be a definition of done in frequent time frames. 3. You will be working/in contact with the person who is working on the Job. 4. Innovative development and Test practices in place. So we always go live with Zero known defects. 5. Quality is extremely vital for me, Innovative development techniques that i use such as continuous Integration and Delivery add value 5. Competitive pricing strategy. 6. Ongoing Support  PORTFOLIO: Front End/Design Skills HTML4/5 CSS Query AJAX Flash Bootstrap Development Skills PHP Wordpress Joomla Drupal Silver-stripe Python Ruby on Rails DNN Concrete5 .NET Java Frame Works: Magento Shopify MVC Angular JS Open-cart Prestashop
$250 USD trong 5 ngày
4,9 (7 nhận xét)
5,0
5,0
Avatar người dùng
Hi there, I am a full-time professional Drupal developer at a leading UK digital agency (please feel free to query me on this for more information). I am seeking part-time freelance work to increase my income. As a perfectionist, I pride myself in my quality of work and strive to please. My ratings are next to non-exsitent as I am new to the freelancing world (other than one in another field), however rest assured, your project will be in professional hands with me - to be honest, your requirements sounds like child's play - tasks I would complete on daily basis. Kind Regards, Dan
$149 USD trong 2 ngày
0,0 (0 nhận xét)
0,0
0,0
Avatar người dùng
A proposal has not yet been provided
$222 USD trong 3 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của UNITED STATES
Miami, United States
5,0
11
Phương thức thanh toán đã xác thực
Thành viên từ thg 5 9, 2012

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.