diff --git a/templates/Binarity/Resources/views/modules/contactform/visitor/default.blade.php b/templates/Binarity/Resources/views/modules/contactform/visitor/default.blade.php
index 57085cbb..cbef575b 100644
--- a/templates/Binarity/Resources/views/modules/contactform/visitor/default.blade.php
+++ b/templates/Binarity/Resources/views/modules/contactform/visitor/default.blade.php
@@ -18,7 +18,7 @@
@if(session('error'))
- Zprávu bohužel nebylo možné odeslat, zkuste nám napsat na {{$page->moduleSettings->contactEmail}}.
+ Zprávu bohužel nebylo možné odeslat, zkuste nám napsat na {{$page->moduleSettings['contactEmail']}}.
@endif
@@ -45,15 +45,15 @@
-
{{$page->moduleSettings->companyName}}
+
{{$page->moduleSettings['companyName']}}
- {!! nl2br($page->moduleSettings->address) !!}
+ {!! nl2br($page->moduleSettings['address']) !!}
{{$page->moduleSettings->email}}
+ href="mailto:{{$page->moduleSettings['email']}}">{{$page->moduleSettings['email']}}
{{$page->moduleSettings->phone}}
+ href="tel:{{str_replace(' ', '', $page->moduleSettings['phone'])}}">{{$page->moduleSettings['phone']}}
diff --git a/templates/Binarity/Resources/views/modules/staticpages/visitor/referenceDetail.blade.php b/templates/Binarity/Resources/views/modules/staticpages/visitor/referenceDetail.blade.php
index 648a49e7..3d217e6c 100644
--- a/templates/Binarity/Resources/views/modules/staticpages/visitor/referenceDetail.blade.php
+++ b/templates/Binarity/Resources/views/modules/staticpages/visitor/referenceDetail.blade.php
@@ -27,7 +27,7 @@
{{$page->title}}
- {!! $page->content !!}
+ {!! $page->pageContent !!}
diff --git a/templates/Binarity/Resources/views/modules/staticpages/visitor/references.blade.php b/templates/Binarity/Resources/views/modules/staticpages/visitor/references.blade.php
index 6af83d82..858d5d8f 100644
--- a/templates/Binarity/Resources/views/modules/staticpages/visitor/references.blade.php
+++ b/templates/Binarity/Resources/views/modules/staticpages/visitor/references.blade.php
@@ -6,7 +6,7 @@
{{$page->title}}
- {!! $page->content !!}
+ {!! $page->pageContent !!}
diff --git a/templates/Binarity/Resources/views/visitor/metaInformation.blade.php b/templates/Binarity/Resources/views/visitor/metaInformation.blade.php
index 0e533197..cc391e99 100644
--- a/templates/Binarity/Resources/views/visitor/metaInformation.blade.php
+++ b/templates/Binarity/Resources/views/visitor/metaInformation.blade.php
@@ -3,7 +3,7 @@
@section('pageDescription', $page->meta_description)
@section('pageKeywords', $page->meta_keywords)
@section('pageTitleImage')
-@if (!empty($page->titlePhoto) && \App\CMS\Helpers\Template::upload($page->titlePhoto))@upload($page->titlePhoto)
+@if (!empty($page->titlePhoto) && \App\CMS\Helpers\Path::upload($page->titlePhoto))@upload($page->titlePhoto)
@else{{asset_path('visitor/images/social-cover.png')}}@endif
@endsection
@endif
\ No newline at end of file