Prodotto
Store Demo
Vetrina
Caratteristiche
Per gli sviluppatori
Per i proprietari di negozi
Industrie
Moda
Salute & bellezza
Cibi & bevande
Automazione
Industriale & Scientifico
Mobili
eCommerce B2B
Internazionale
Download
Scarica nopCommerce
Marketplace
Traduzioni
Rimozione del copyright
Applicazione mobile
Web API
Assistenza & Servizi
Formazione
Documentazione
Forum della community
Servizi di supporto premium
Richiedi un preventivo
Contattaci
Partner
Italiano
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Iniziamo
Shopping cart
Profilo
Accesso
Registrati
Home
>
Forum
>
General
>
Development
>
Advertisement
Advertisement
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
waleed44
Messaggi totali:
6
Karma:
40
Sottoscritto:
07/06/2015
Località:
Egypt
Inviato:
8 anni tempo fa
Can I place ads on the side of Home page or show an advertising message appears when openning the site?
sohel
MVP
Sviluppatori certificati
Messaggi totali:
1623
Karma:
15968
Sottoscritto:
25/11/2013
Località:
Bangladesh
Inviato:
8 anni tempo fa
waleed44 wrote:
Can I place ads on the side of Home page or show an advertising message appears when openning the site?
Yes, you can.
waleed44
Messaggi totali:
6
Karma:
40
Sottoscritto:
07/06/2015
Località:
Egypt
Inviato:
8 anni tempo fa
how?
sohel
MVP
Sviluppatori certificati
Messaggi totali:
1623
Karma:
15968
Sottoscritto:
25/11/2013
Località:
Bangladesh
Inviato:
8 anni tempo fa
waleed44 wrote:
how?
Find out the Index.cshtml file
Path(DefautClean Theme): ~\Views\Home\Index.cshtml
Theme path: ~\Themes\{YourThemeName}\Views\Home\Index.cshtml
Way 1
: Write the required html in the Index.cshtml file
Way 2
: Create topic from admin and call it from Index.cshtml file
i.e. See how "HomePageText" topic work.
@Html.Action("TopicBlock", "Topic", new { systemName = "HomePageText" })
Note: you will need write your own css according to your theme
a.m.
Membri del team
Messaggi totali:
16619
Karma:
155940
Sottoscritto:
22/10/2008
Località:
Armenia
Inviato:
8 anni tempo fa
Or simply edit existing "HomePageText" topic
mohsenhajikarimian
Messaggi totali:
3
Karma:
15
Sottoscritto:
19/05/2018
Località:
Iran (Islamic Republic of)
Inviato:
5 anni tempo fa
sohel wrote:
@Html.Action("TopicBlock", "Topic", new { systemName = "HomePageText" })
in Nop v4.0 use it:
@await Component.InvokeAsync("TopicBlock",new { systemName = "advertisement" })
note: "advertisement" is system name of your new topic.
New York
MVP
Messaggi totali:
11338
Karma:
101102
Sottoscritto:
22/05/2011
Località:
United States
Inviato:
5 anni tempo fa
Or,
use a Widget Zone with a plugin that lets you enter any html in any zone
;)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hai ancora qualche domanda o hai bisogno di aiuto?
.
Servizi di supporto premium
.
Ottieni supporto dedicato dal team di nopCommerce con una risposta garantita entro 24 ore.
.
Corso online per sviluppatori
.
Ottieni le competenze pratiche e tecniche necessarie per gestire e personalizzare i siti web realizzati con nopCommerce.