{{ __('vCard URLs') }}
  • @php $pathUrl = env('WEBSITE_HOST') . '/' . $vcard->user->username . '/vcard/' . $vcard->id; @endphp Path Based URL: {{ $pathUrl }}
  • @if (cPackageHasSubdomain($vcard->user))
  • @php $subUrl = $vcard->user->username . '.' . env('WEBSITE_HOST') . '/vcard/' . $vcard->id; @endphp Subdomain Based URL: {{ $subUrl }}
  • @endif @if (cPackageHasCdomain($vcard->user)) @php $domUrl = $vcard->user ->custom_domains() ->where('status', 1) ->orderBy('id', 'DESC') ->first(); @endphp @if (!empty($domUrl))
  • Domain Based URL: {{ $domUrl->requested_domain }}/vcard/{{ $vcard->id }}
  • @endif @endif