Produto
Demonstração da loja
Galeria
Funcionalidades
Porquê para programadores
Porquê para os proprietários de lojas
Industrias
Moda
Saúde e Beleza
Alimentação e Bebidas
Automóvel
Industrial e Científico
Mobiliário
eCommerce B2B
International
Transferências
Descarregar nopCommerce
Mercado
Traduções
Chave de remoção de direitos autorais
Aplicação móvel
Web API
Suporte & serviços
Formação
Documentação
Fóruns da Comunidade
Serviços de suporte premium
Solicitar orçamento
Contacte-nos
Parceiros
Português
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Iniciar
Shopping cart
A Minha conta
Iniciar sessão
Registe-se
Início
>
Fóruns
>
General
>
Development
>
Advertisement
Advertisement
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
waleed44
Total de postagens:
6
Karma:
40
Ingressou:
07/06/2015
Localização:
Egypt
Postado:
8 anos atrás
Can I place ads on the side of Home page or show an advertising message appears when openning the site?
sohel
MVP
Programador certificado
Total de postagens:
1623
Karma:
15968
Ingressou:
25/11/2013
Localização:
Bangladesh
Postado:
8 anos atrás
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
Total de postagens:
6
Karma:
40
Ingressou:
07/06/2015
Localização:
Egypt
Postado:
8 anos atrás
how?
sohel
MVP
Programador certificado
Total de postagens:
1623
Karma:
15968
Ingressou:
25/11/2013
Localização:
Bangladesh
Postado:
8 anos atrás
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.
Membro da Equipa
Total de postagens:
16619
Karma:
155940
Ingressou:
22/10/2008
Localização:
Armenia
Postado:
8 anos atrás
Or simply edit existing "HomePageText" topic
mohsenhajikarimian
Total de postagens:
3
Karma:
15
Ingressou:
19/05/2018
Localização:
Iran (Islamic Republic of)
Postado:
5 anos atrás
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
Total de postagens:
11341
Karma:
101117
Ingressou:
22/05/2011
Localização:
United States
Postado:
5 anos atrás
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.
Ainda tem dúvidas ou precisa de ajuda?
.
Serviços de suporte premium
.
Obtenha suporte dedicado da equipa nopCommerce com uma resposta garantida em 24 horas.
.
Curso on-line para programadores
.
Obtenha as habilidades práticas e técnicas que necessita para executar e personalizar websites nopCommerce.