質問 > フロント機能 > 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. |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |