- Posts: 156
- Thank you received: 0
adding more info click to custom fields?
the idea is to have a link that will be a lightbox window with more information about what we are asking for in the field.
should be a core feature
anyway for now i just need to make it happen though, any ideas of the easiest way to implement it?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
if($fieldName=='my_custom_field_column_name_1'){
echo '<a href="http://helplink1" target="_blank">Help link';
}
if($fieldName=='my_custom_field_column_name_2'){
echo '<a href="http://helplink2" target="_blank">Help link';
}
Please Log in or Create an account to join the conversation.
on the same subject in the view fields of check out the main php code is this
<?php
if(!empty($this->extraFields)){
$this->setLayout('custom_fields');
$this->type = 'order';
echo $this->loadTemplate();
}
?>
i would assume this is loading the fields of the table order. i want to control which field load and which don't in other words i want to know what is the code to echo each field separately. i need them in specific places on the page. and this throws it all in a table.
so
How do i echo 1 field of the table order?
What i want to end up having is a radio box list that when they select their option the correct fields are displayed, when filled and they are submitted normally.
Please Log in or Create an account to join the conversation.
echo $this->fieldsClass->display($this->extraFields,$this->order->column_name,'data[order][column_name]');
Please Log in or Create an account to join the conversation.
and lay them out one by one using the code you provided. would this work?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
echo $this->fieldsClass->display($this->extraFields,$this->order->column_name,'data[order][column_name]');
doesn't print out the label.
i am using span with strings for now.. let me know.. thanks.. also i am not eachoing any custom text fields and i am getting the some problem as i posted earlier.
this is what i created
i tested the step with no code and i had the same issue with the flickering in step 4 which becomes step 5 then if i click next again it sends me back to step 2, also i tested it with just one field, and the same issue. the code for that looked like this
Thank you in advance...
Please Log in or Create an account to join the conversation.
echo $this->fieldsClass->getFieldName($this->extraFields);
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Well like I said above I tested it with no fields being echoed and I was still having the issue. I. also tested it just with a text field and still the same issue. This form is really important in my case so I need to get it working nicolas, would you like back-end access to help move this along?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Edit-- login info has been sent.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
That can happens sometimes on servers with a specific configuration and with the session handler being the database. Usually, changing the database handler to "none" in the joomla configuration solves the problem without any drawbacks.
We can't access the configuration of your website and can't modify the configuration.php file so we couldn't test that.
Please change it yourself and logout/login from the front end and try again.
Please Log in or Create an account to join the conversation.