バージョン選択

フォーラム

メニュー

オンライン状況

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

サイト内検索

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

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
ayon120
投稿日時: 2020/9/28 1:05
対応状況: 開発中
新米
登録日: 2020/9/27
居住地:
投稿: 8
Want to go to an external webpage
I have eccube 4.x project which is under development. Suppose I want to use a link tag to go to an external web page (eg. www.google.com). clicking this link will add it to project directory (eccube-4.0.4 / www.google.com) so I cant go to www.google.com. How can I resolve this issue? I am an English user. I also used a Google translator to translate the question into Japanese. Thank you very much. I am new so appreciate the help.

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 Or Any Other Google 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 /
balisys
投稿日時: 2020/9/28 13:38
対応状況: −−−
仙人
登録日: 2020/7/5
居住地:
投稿: 397
Re: Want to go to an external webpage
Doesn't specifying from https solve the problem?
Describe it as https://www.google.com/

Can I confirm the actual writing I gave as "www.google.com"?
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/
balisys
投稿日時: 2020/9/30 11:44
対応状況: −−−
仙人
登録日: 2020/7/5
居住地:
投稿: 397
Re: Want to go to an external webpage
"{{ url('homepage') }}" function outputs your directory.
Is it inconvenient to write? so <a href="https://www.google.com/">

I'm not sure about this English.
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


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

統計情報

総メンバー数は88,698名です
総投稿数は109,943件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1638
8
red
1570
9
mcontact
1283
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.