Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 9 matches
Smarty Forum Index
Author Message
  Topic: For each page, a different image
Breakstuff

Replies: 4
Views: 6317

PostForum: General   Posted: Thu Aug 22, 2013 2:35 pm   Subject: For each page, a different image
Thank you for your advice, this works good :
<img src="{$page.Node->getHeading($response.lang)}.png">

But i have one more question.

Now i need a new picture for every page.
...
  Topic: Anfänger braucht hilfe: Bilder anzeigen in Abhängingkeit von
Breakstuff

Replies: 1
Views: 6684

PostForum: Language: German   Posted: Thu Jul 25, 2013 10:18 am   Subject: Anfänger braucht hilfe: Bilder anzeigen in Abhängingkeit von
Hallo,

ich habe leider noch nicht sonderlich viel Erfahrung mit Smarty aber ich komme ganz gut zu recht.

Nun habe ich aber ein Problem (was wahrscheinlich ganz einfach zu lösen ist) bei dem ich ...
  Topic: For each page, a different image
Breakstuff

Replies: 4
Views: 6317

PostForum: General   Posted: Wed Jul 24, 2013 5:04 pm   Subject: For each page, a different image
Hi thank you for your reply.

But I have a problem with this solution.

I have index.smarty for the mainpage and I have default.smarty for all other pages.

For default.smarty I want to change p ...
  Topic: For each page, a different image
Breakstuff

Replies: 4
Views: 6317

PostForum: General   Posted: Wed Jul 24, 2013 9:33 am   Subject: For each page, a different image
Hi,

This is my first try with smarty but it looks very good.

But now I have a question:
On my Homepage I want for each page (ex. products, contacts...) a different picture.
For ex. Page = Prod ...
  Topic: For each page a other picture
Breakstuff

Replies: 4
Views: 6326

PostForum: General   Posted: Wed Nov 09, 2011 5:28 pm   Subject: For each page a other picture
Thank you very much.

One last question Smile

How i have to change this:

<div id="teaser">
<img alt="" src="{$response.basePath}/img/teaser/default.jpg" wi ...
  Topic: For each page a other picture
Breakstuff

Replies: 4
Views: 6326

PostForum: General   Posted: Wed Nov 09, 2011 4:16 pm   Subject: For each page a other picture
Ok, thank you.

I'm running a Wordpress Blog and on this page i have:

<div id="header" style="background: url('<?php
bloginfo('stylesheet_directory');
...
  Topic: For each page a other picture
Breakstuff

Replies: 4
Views: 6326

PostForum: General   Posted: Wed Nov 09, 2011 2:27 pm   Subject: For each page a other picture
Hi,

i have a smarty template "default.smarty"
There is a <div id="teaser">
<img alt="" src="{$response.basePath}/img/teaser/default.jpg" width=&qu ...
  Topic: Smarty und Xampp, Homepage emulieren
Breakstuff

Replies: 1
Views: 5303

PostForum: Language: German   Posted: Mon Sep 20, 2010 12:07 pm   Subject: Smarty und Xampp, Homepage emulieren
Lösung war nun doch ganz einfach:

ini_set(
'include_path',
implode(
'.;',
array(
ini_get('include_path'),
NW_INC,
SHARED_INC . '/lib',
...
  Topic: Smarty und Xampp, Homepage emulieren
Breakstuff

Replies: 1
Views: 5303

PostForum: Language: German   Posted: Thu Sep 16, 2010 1:01 pm   Subject: Smarty und Xampp, Homepage emulieren
Ich möchte eine Website die bei uns auf einem rootserver läuft bei mir auf dem PC zum laufe bekommen, da ich etwas an der Homepage änder will aber das immer erst bei mir testen.

Nun habe ich xampp ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP