• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Ajuda _ Title Meta Descrition _ Resumo CGBlog
PostPosted: Mon Jul 30, 2018 8:40 pm 
Offline
Forum Members
Forum Members

Joined: Mon Feb 19, 2018 9:13 pm
Posts: 30
Boa tarde.

Preciso muito desta ajuda.

To revirando os devs forums googles, mas não to conseguindo fazer o que eu preciso.

Talvez pelo titulo já fique auto explicativo.
Mas destrinchando:

No CGBlog, ao inserir um novo artigo se insere os campos.
Title -> Resume -> Content

A pretty URL, já está configurada. Só que eu preciso colocar o "Resume" dentro da description da tag meta

Code:
<head>
<meta charset='UTF-8' />
<meta name='description' content='{CGBlog resume=resume|truncate:160:"...":true}' />


Eu já usei até o print_r:1 dentro dos modelos em "Design Manager", para tentar transferir em código puro,, e os "Extra Page Attribute 1-2-3" não aceitam os códigos smarty

Eu to brigando o mês inteiro atrás desta situação e não estou conseguindo resolver.

Desculpa o pedido de ajuda,, mas não estou mais sabendo o que fazer,, embora não tenha desistido,, sei que existe algum meio de fazer por isso o medido de ajuda,, para esclarecimentos..

Att Diego Fernandes.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ajuda _ Title Meta Descrition _ Resumo CGBlog
PostPosted: Mon Jul 30, 2018 8:46 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7569
Location: The Netherlands
I wrote a tutorial about automated meta tags. This might help you!
https://cmscanbesimple.org/blog/base-cm ... d-metatags

Grtz Rolf

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ajuda _ Title Meta Descrition _ Resumo CGBlog
PostPosted: Tue Jul 31, 2018 2:09 am 
Offline
Forum Members
Forum Members

Joined: Mon Feb 19, 2018 9:13 pm
Posts: 30
So my friend.
That's exactly what I need, so much so that I had already seen this code.

I can not get the operation right.


It does not work in the "General Settings", "Page Specific Metadata" (within the content), nor in the "Core :: Page".

If I insert the code "{$page_description = $entry->summary|default:$entry->content|strip_tags:false|strip|truncate:300 scope=global}"

it works by inserting {$page_description} into the page content, but out of content it does not display anything.

Sorry for the lack of grammar, if any, it's because I use Google / Translate.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ajuda _ Title Meta Descrition _ Resumo CGBlog
PostPosted: Tue Jul 31, 2018 8:28 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7569
Location: The Netherlands
This part about the content block in the template is important! It is often forgotten
Code:
{$content = "{content}" scope=global}
< html >
  < head >
  < /head >
  < body >
    ...
    {$content}
    ...
  < /body >
< /html >

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Ajuda _ Title Meta Descrition _ Resumo CGBlog  Topic is solved
PostPosted: Sat Aug 04, 2018 2:42 am 
Offline
Forum Members
Forum Members

Joined: Mon Feb 19, 2018 9:13 pm
Posts: 30
Dude, forgive me for the delay.
I did not forget you.
Thank you very much, I got the blog.
We really set aside the important things.
And worst of all, I had already struggled a lot with my blog because of it.

Now you're going to develop some modules.
I'm thinking of a boleto bancário and the theme AdminLte.

Thank you very much Mr. Rolf.

[Origin]
Cara, me perdoa pela demora.
Eu não te esqueci.
Muito obrigado, consegui arrumar o blog.
Nós realmente deixamos de lado as coisas importantes.
E o pior de tudo, eu já tinha lutado muito com o meu blog por causa disso.

Agora você vou desenvolver algunsmódulos.
Estou pensando em um boleto bancário e no tema AdminLte.

Muito obrigado Sr. Rolf.
[origin]


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting