diff --git a/slt/css/components/_contact-view.scss b/slt/css/components/_contact-view.scss new file mode 100644 index 0000000..751a7ca --- /dev/null +++ b/slt/css/components/_contact-view.scss @@ -0,0 +1,4 @@ +.com-contact__thumbnail { + float: right; + margin: 10px 0 10px 10px; +} diff --git a/slt/css/components/_index.scss b/slt/css/components/_index.scss index 4fca922..30f8c50 100644 --- a/slt/css/components/_index.scss +++ b/slt/css/components/_index.scss @@ -6,4 +6,5 @@ @use 'verbandstag'; @use 'vereine'; @use 'contact-list'; +@use 'contact-view'; @use 'read-more'; diff --git a/slt/html/com_contact/contact/default_address.php b/slt/html/com_contact/contact/default_address.php new file mode 100644 index 0000000..6b0ef97 --- /dev/null +++ b/slt/html/com_contact/contact/default_address.php @@ -0,0 +1,153 @@ + + * @license GNU General Public License version 2 or later; see LICENSE.txt + */ + +defined('_JEXEC') or die; + +use Joomla\CMS\Language\Text; +use Joomla\CMS\String\PunycodeHelper; + +$icon = $this->params->get('contact_icons') == 0; + +/** + * Marker_class: Class based on the selection of text, none, or icons + * jicon-text, jicon-none, jicon-icon + */ +?> +
+ params->get('address_check') > 0) && + ($this->item->address || $this->item->suburb || $this->item->state || $this->item->country || $this->item->postcode)) : ?> +
+ params->get('marker_address')) : ?> + + + + params->get('marker_address'); ?> + + +
+ + item->address && $this->params->get('show_street_address')) : ?> +
+ + item->address, false); ?> + +
+ + + item->postcode && $this->params->get('show_postcode')) : ?> +
+ + item->postcode; ?> + + item->suburb && $this->params->get('show_suburb')) : ?> + + item->suburb; ?> + + +
+ + item->state && $this->params->get('show_state')) : ?> +
+ + item->state; ?> + +
+ + item->country && $this->params->get('show_country')) : ?> +
+ + item->country; ?> + +
+ + + +item->email_to && $this->params->get('show_email')) : ?> +
+ params->get('marker_email')) : ?> + + + + params->get('marker_email'); ?> + + +
+
+ + item->email_to; ?> + +
+ + +item->telephone && $this->params->get('show_telephone')) : ?> +
+ params->get('marker_telephone')) : ?> + + + + params->get('marker_telephone'); ?> + + +
+
+ + item->telephone; ?> + +
+ +item->fax && $this->params->get('show_fax')) : ?> +
+ params->get('marker_fax')) : ?> + + + + params->get('marker_fax'); ?> + + +
+
+ + item->fax; ?> + +
+ +item->mobile && $this->params->get('show_mobile')) : ?> +
+ params->get('marker_mobile')) : ?> + + + + params->get('marker_mobile'); ?> + + +
+
+ + item->mobile; ?> + +
+ +item->webpage && $this->params->get('show_webpage')) : ?> +
+ params->get('marker_webpage')) : ?> + + + + params->get('marker_webpage'); ?> + + +
+
+ + + +
+ +