Forum Replies Created
-
AuthorPosts
-
Javier
ParticipantHello Steven,
I want to select only the work type, and then show on the user profile only type work
if ($ atts ['show_addresses']) $ entry-> getAddressBlock (array ('format' => $ atts ['addr_format'], 'type' => 'work'));As I can put the address input is single type work and in select not show me all types
cnHTML::field( array( 'type' => 'select', 'class' => '', 'id' => 'address[' . $token . '][type]', 'options' => $addressTypes, (ONLY TYPE WORK) 'required' => FALSE, 'before' => '', 'label' => __( 'Address Type', 'connections' ), 'return' => FALSE, ), $address->typeThanks!
Javier
ParticipantThank you very much Steven!
Javier
ParticipantHello Steven,
Already you solved the links into categories. Then the code (class.entry-output.php)
if ( empty( $atts['separator'] ) ) { $atts['list'] === 'unordered' ? $out .= '<ul class="cn_category_list">' : $out .= '- ';
foreach ( $categories as $category ) {
$out .= 'term_id . '"><li class="cn_category" id="cn_category_' . $category->term_id . '">' . $category->name . '';
}
$atts['list'] === 'unordered' ? $out .= '' : $out .= '
I managed to make me a checkbox to filter by state, but need to make a CheckboxGroup to select more than one state. Could you help, please?
My code:
array( 'name' => 'States Group', 'show_label' => TRUE, // Show field label 'desc' => 'field description', 'id' => 'address[::FIELD::][state]', 'type' => 'checkboxgroup', 'options' => array( 'Barcelona' => 'Barcelona', 'Madrid' => 'Madrid', 'Sevilla' => 'Sevilla', ),Because it doesn’t work?
Thank you very much!
Javier
ParticipantThank you!
Can I put categories as permanent links?
Javier
ParticipantThanks!!
Perfect!
Javier
ParticipantThank you very much.
This would be the link: http://s574341219.mialojamiento.es/directorio-2
I just need to know how I can put it all on one line
Javier
ParticipantI’m lost and I don’t know how modify the css to display all the data in a line.
Thanks
Javier
ParticipantMy php Code
echo '<h3 class="" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid ; color:#000000' , $atts['color'] , ';">' , $entry->getNameBlock( array( 'format' => $atts['name_format'] ) ) , $entry->getAddressBlock( array( 'format' => 'Localidad: %city% Provincia: %state%' , 'type' => $atts['address_types'] ) ) , '</h3>'; -
AuthorPosts
