alt="Logo"

Designvorlagen
Maxim
Posts: 95
Joined: Sat 19. Jan 2013, 13:28
Location: Запорожье
Contact:

alt="Logo"

Postby Maxim » Mon 12. Aug 2013, 13:01

Image Здравствуйте, Герт

templates\__cmsimple_default__\template.htm

Code: Select all

if (file_exists($pth['folder']['templateimages'].'logo.jpg')){
echo '<a href="./">'.tag('img src="'.$pth['folder']['templateimages'].'logo.jpg" class="tplge_logo" alt="Logo"').'</a>';
}

Почему alt="Logo"?
Почему не в настройках?
Пользователю будет сложно найти, где поменять "Logo"

Image Hallo, Gert

templates\__cmsimple_default__\template.htm

Code: Select all

if (file_exists($pth['folder']['templateimages'].'logo.jpg')){
echo '<a href="./">'.tag('img src="'.$pth['folder']['templateimages'].'logo.jpg" class="tplge_logo" alt="Logo"').'</a>';
}

Warum alt="Logo"?
Warum nicht in den Einstellungen?
Der Benutzer wird schwierig zu finden, wo ändern "Logo"

Image Hello, Gert

templates\__cmsimple_default__\template.htm

Code: Select all

if (file_exists($pth['folder']['templateimages'].'logo.jpg')){
echo '<a href="./">'.tag('img src="'.$pth['folder']['templateimages'].'logo.jpg" class="tplge_logo" alt="Logo"').'</a>';
}

Why alt="Logo"?
Why not in the settings?
The user will be difficult to find where to change the "Logo"

Gert
Posts: 1083
Joined: Sun 18. Nov 2012, 14:18

Re: alt="Logo"

Postby Gert » Mon 12. Aug 2013, 18:10

Maxim wrote:Why not in the settings?

Because I don't want to extend the settings for that.

The default template is just an example, I think, most users will use another template than the default template.

If one wants to make it configurable, he should use $tx['template']['text1'] - $tx['template']['text9'] for that:

Code: Select all

if (file_exists($pth['folder']['templateimages'].'logo.jpg')){
echo '<a href="./">'.tag('img src="'.$pth['folder']['templateimages'].'logo.jpg" class="tplge_logo" alt="' . $tx['template']['text9'] . '"').'</a>';

But no one knows, for what the user wants to use $tx['template']['text1'] - $ tx ['template']['text9'] ... they are provided for free usage,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services

Maxim
Posts: 95
Joined: Sat 19. Jan 2013, 13:28
Location: Запорожье
Contact:

Мне нравится...

Postby Maxim » Tue 13. Aug 2013, 07:49

Image
Мне нравится шаблон по умолчанию, я использую, он красивый и солидный.
Спасибо за ответ.

Image
Ich mag die Standard-Vorlage, die ich verwende, es ist schön und solide.
Danke für die Antwort.

Image
I like the default template I'm using, it's beautiful and solid.
Thanks for the reply.


Return to “Themes and Templates”

Who is online

Users browsing this forum: No registered users and 1 guest