Page 1 of 1

Version 2 (seo)

Posted: Sat Dec 26, 2015 9:12 pm
by landex
Hello!
I would like to ask a question decisions which I was looking forward to the second version but can not wait to see already.
Actually the question: what about the basic tags for new pages? Where to put the title, description, keywords ????
Why is again necessary to sculpt the crutches? Why is not this in the database?
Not only that the system was put through the stump deck giving 500 error in hosting so radically new that and there is nothing ...
Guru, a question for you - put 1 * branch or at the customer site is to suffer with the new deuce? there may not be looking at?
PS
posed system from scratch
a new domain
those. everything is clear

Re: Version 2 (seo)

Posted: Tue Dec 29, 2015 8:21 pm
by DIGI3
I usually use Smarty for that, gives you more options than just having a field for default. That way you can test for blank, and fill it with various info depending upon other variables. (e.g. if page has the News module, get the title from the News article, etc.)

In its most simple form, you can just do something like

Code: Select all

<meta name="description" content="{$description|default:'foo'}">
in your template, but wrap that in some if statements and you can be much more flexible.

I don't really understand the rest of your questions, but it seems like you want there to be global settings for lots of things that can easily be done, with more power, in your template.

Re: Version 2 (seo)

Posted: Tue Dec 29, 2015 8:36 pm
by Rolf