バージョン選択

フォーラム

メニュー

オンライン状況

72 人のユーザが現在オンラインです。 (62 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 72
もっと...

サイト内検索

質問 > フロント機能 > Want to go to an external webpage

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
ayon120
投稿日時: 2020/9/28 18:26
対応状況: 開発中
新米
登録日: 2020/9/27
居住地:
投稿: 8
Re: Want to go to an external webpage
Suppose in logo.twig by clicking the logo the default code is:
<a href="{{ url('homepage') }}">
{{ BaseInfo.shop_name }}
</a>
which works but I want to go to google or any other webpages outside my project when clicking logo, so change:
<a href="{{ url('www.google.com') }}">
{{ BaseInfo.shop_name }}
</a>
but then page is not found because it adds my project directory with www.google.com.
It tries to reach: http://49.xxx.xxx.xxx/eccube-4.0.4/404?bind=https://www.google.com/
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   Want to go to an external webpage ayon120 2020/9/28 1:05
     Re: Want to go to an external webpage balisys 2020/9/28 13:38
     » Re: Want to go to an external webpage ayon120 2020/9/28 18:26
         Re: Want to go to an external webpage balisys 2020/9/30 11:44

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,972名です
総投稿数は110,019件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1296
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.