conf.template_default.inc.php with no effects VARIABLES

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

conf.template_default.inc.php with no effects VARIABLES

Post by Jensensen »

[x]
Last edited by Jensensen on Sat 20. Sep 2008, 04:13, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
hendrik
Posts: 66
Joined: Thu 9. Dec 2004, 21:18
Location: Berlin
Contact:

Re: conf.template_default.inc.php with no effects VARIABLES

Post by hendrik »

So what would I have to do if I want to have back this <div class="articleSummary"> in the Summery?!

thx
Hendrik
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: conf.template_default.inc.php with no effects VARIABLES

Post by update »

You then of course could style the appropriate template(s) to get it (back)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
hendrik
Posts: 66
Joined: Thu 9. Dec 2004, 21:18
Location: Berlin
Contact:

Re: conf.template_default.inc.php with no effects VARIABLES

Post by hendrik »

Sorry, but I never really edited such a template. And which one?
Do I have to edit /template/inc_cntpart/articlesummary/article/sample.tmpl and set article detail from default to sample.tmpl?
Or is there somewhere a default.tmpl??
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: conf.template_default.inc.php with no effects VARIABLES

Post by update »

to get an idea of which is what just try - to fill in some text and hit reload. You then will see the result very quickly . The defaults are in inc_default, aren't they? just test it out!
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
hendrik
Posts: 66
Joined: Thu 9. Dec 2004, 21:18
Location: Berlin
Contact:

Re: conf.template_default.inc.php with no effects VARIABLES

Post by hendrik »

Yep, I changed in template/inc_default/article_summary.tmpl

Code: Select all

[SUMMARY][IMAGE]<span style="float:left;margin:2px 10px 5px 0;">{IMAGE}[CAPTION]<br />
{CAPTION}[/CAPTION]</span>
[/IMAGE]{SUMMARY}[/SUMMARY]
to

Code: Select all

[SUMMARY]<div class="articleSummary">[IMAGE]<span style="float:left;margin:2px 10px 5px 0;">{IMAGE}[CAPTION]<br />
{CAPTION}[/CAPTION]</span>
[/IMAGE]{SUMMARY}</div>[/SUMMARY]
thanks
Hendrik
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: conf.template_default.inc.php with no effects VARIABLES

Post by update »

Yes - should work as intended :wink:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Post Reply