[Typo3] Modern Guestbook CSS question

Mike Meir mike at gateseven.co.uk
Thu Feb 17 17:49:07 CET 2005


Hi 

I had the same problem with the size of the text used for comments when displayed on the page. Added a style to the css, then added the style to the template in the appropriate place.

Mike

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of typo3-english-request at lists.netfielders.de
Sent: 17 February 2005 16:00
To: mike
Subject: Typo3-english Digest, Vol 17, Issue 90

Send Typo3-english mailing list submissions to
	typo3-english at lists.netfielders.de

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
or, via email, send a message with subject or body 'help' to
	typo3-english-request at lists.netfielders.de

You can reach the person managing the list at
	typo3-english-owner at lists.netfielders.de

When replying, please edit your Subject line so it is more specific than "Re: Contents of Typo3-english digest..."


Today's Topics:

   1. Re: can I include typoscript from a file... (Ries van Twisk)
   2. RE: AWStats Logfile Dir (Csaba Weisz)
   3. Re: How to have an inline fram directed to a Typo3 (dynamic)
      page (Georg Rehfeld)
   4. <h1> visible in content (Mark)
   5. Re: Copy content-element (as a reference) (Martin Rud)
   6. RE: AWStats Logfile Dir (Michael Stucki)
   7. Re: unset newloginbox _css_default_style (Boris Senker)
   8. Clear.gif and tables in text w/image and images content
      (Boris Senker)
   9. Modern Guestbook CSS question (Marlies C)
  10. Freetype quality problems (Jan Wulff)
  11. Re: Reproduce "sitetitle: pagetitle" in typoscript
      (Peter Niederlag)


----------------------------------------------------------------------

Message: 1
Date: Thu, 17 Feb 2005 09:09:42 -0500
From: Ries van Twisk <typo3 at rvt.dds.nl>
Subject: Re: [Typo3] can I include typoscript from a file...
To: TYPO3 English <typo3-english at lists.netfielders.de>
Message-ID:
	<mailman.473.1108649463.16343.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Michael Stucki wrote:

>Stefan Beylen wrote:
>
>  
>
>>>in the SETUP of your template:
>>><INCLUDE_TYPOSCRIPT: source="FILE: 
>>>fileadmin/your/path/to/thefile.txt">
>>>      
>>>
>>sorry, too fast...u have to clear your cache though all the time you 
>>make changes to thefile.txt ;)
>>    
>>
>
>No problem - set "config.no_cache = 1" while developing.
>
>- michael
>  
>
Thanks all,

that worked perfectly :)

cheers,
Ries

--
R. van Twisk
http://www.metamorf.net

Our Typo3 enabled website: http://www.livetravelguides.com
Instand help for Typo3?    irc:/irc.freenode.net/typo3
Looking for documentation? http://typo3.org/documentation/




------------------------------

Message: 2
Date: Thu, 17 Feb 2005 15:36:41 +0100
From: "Csaba Weisz" <csaba.weisz at llpgroup.com>
Subject: RE: [Typo3] AWStats Logfile Dir
To: "TYPO3 English" <typo3-english at lists.netfielders.de>
Message-ID:
	<mailman.478.1108651003.16343.typo3-english at lists.netfielders.de>
Content-Type: text/plain;	charset="us-ascii"

Michael,
Thanks for the answer.
>From your comment I understood now that awstat should also WRITE to the
logfile (which it never does for me. Thats why i tried to use apache's log)

So now I try to find out why it never updates its own logfile (even though I gave write permission to the account Apache is running with)

Best regards,
csaba

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de]On Behalf Of Michael Stucki
Sent: Thursday, February 17, 2005 2:31 PM
To: typo3-english at lists.netfielders.de
Subject: RE: [Typo3] AWStats Logfile Dir


Hi Csaba,

> (2) But should this logfile be the one which apache already creates as 
> part of normal logging (under Debian in /var/log/apache/access.log)
> -or-
> awstat module will create and update its own logfile, therefore it is 
> even dangerous to specify the apache's logfile as awstat will owerwrite it.

The big difference between TYPO3s logfile and that of Apache is that TYPO3 will only store the pages in the log - images and all other kinds of files are not logged here.

> I've tried this 2nd approach with a copy of my original 
> /var/log/apache/access.log. Awstats will properly process it, but it 
> newer updates it. That's what I thought: maybe the path of the 
> original apache log must be specified.

I think it's currently not possible to disable logging while AWstats should still read from the specified log (in fact it could use the Apache log file
- filtering out everything but *html files).

I will have a deeper look at this but can you please file it to the bugtracker?

- michael
--
Want support? Please read the list rules first: http://typo3.org/1438.0.html _______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



------------------------------

Message: 3
Date: Thu, 17 Feb 2005 16:04:08 +0100
From: Georg Rehfeld <georg.rehfeld at gmx.de>
Subject: Re: [Typo3] How to have an inline fram directed to a Typo3
	(dynamic)	page
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108652734.10770.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

dario wrote:
> Every page consists of really two pages, example:
> index.htm
> &
> index_contents.htm
> 
> its not really FRAMES. What it is is that the main page (index.htm) 
> has the menues and the logos and an iframe window (inline frame) that 
> shows whats on the contents page (index_contents.htm).
> ...
> I was able to get "into" typo3 both the main and the content page.
> But the main page I created in Typo 3, its Template Setup links to the 
> static template I made wich is basically the:
> index.html
> file.
> And obviously that index.html file its iframe links to a static external:
> index_content.html
> page.

I'm neither using frames nor iframes, so my advice might be wrong:
Typo3 can generate 2 (or more) pages at the same time for you.
The trick is to have 2 PAGE top level objects in the your TS template with _different_ types:

page = PAGE
page.typeNum = 0
page {
   ### your code for the main page
   ...
}

iframe = PAGE
iframe.typeNum = 1
iframe {
   ### your code for the content iframe
   ...
}

And instead of setting the src attribute of the iframe to a static html you set it to fetch "index.php?id=<same as main page>&type=1".
This could be achieved by something along the lines:

temp.iframeurl = TEXT
temp.iframeurl {
   ### set id to current page
   typolink.parameter.data = field:uid
   ### but fetch type 1 instead of type 0
   typolink.parameter.wrap = |,1
   ### we don't want a complete a tag, only the correct url
   typolink.returnLast = url
}

Note, the code samples are untested, meant to give you the idea.

Compare:
http://typo3.org/documentation/document-library/doc_core_tsref/quot_PAGE_quot/
http://typo3.org/documentation/document-library/doc_core_tsref/typolink/

hth, Georg
-- 
  ___   ___
| + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
|_|_\ |___   georg.rehfeld.nospam at gmx.de    +49 (40) 23 53 27 10


------------------------------

Message: 4
Date: Thu, 17 Feb 2005 21:07:42 +0600
From: "Mark" <mark at zapadinform.com>
Subject: [Typo3] <h1> visible in content
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108652893.11200.typo3-english at lists.netfielders.de>

<hx> tags are visible in the content after editing in the RTE. In the code they're being escaped to "&lt;h3&gt;"

It doesn't matter if the content is created within the RTE, or cut'n'pasted from Word.

You can see it at http://www.silkoffroad.kz/index.php?id=36&L=1&L=0 . (I can't take credit for the design.)

It doesn't matter which RTE editor is used. I've tried every possible solution found on the Typo3 site, and dozens of TSConfig changes.

Any ideas?






------------------------------

Message: 5
Date: Thu, 17 Feb 2005 16:14:26 +0100
From: Martin Rud <rudi at rudekuvert.dk>
Subject: Re: [Typo3] Copy content-element (as a reference)
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108653296.11620.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Thanks...!

:o)

Albert (Pod-Dubon) wrote:
> Martin,
> Insert new content element. Choose "regular text" (or whatever).
> Once you see the new content element you change the Type from "text" 
> to "insert records". Then it is logical further. The record then is 
> linked and not copied.
> 
> Albert
> 
> 
> Martin wrote:
> 
> Hi
> 
> I want to have the same instance of an element to be on several pages. 
> So what I need, is not to copy the element, but to make a "reference" 
> to the same element on several pages.
> 
> Can I do that with TYPO3?
> 
> Best regards, Martin
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 


------------------------------

Message: 6
Date: Thu, 17 Feb 2005 16:03:10 +0100
From: Michael Stucki <michael at typo3.org>
Subject: RE: [Typo3] AWStats Logfile Dir
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108653335.11865.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=us-ascii

Csaba Weisz wrote:

> From your comment I understood now that awstat should also WRITE to 
> the logfile (which it never does for me. Thats why i tried to use 
> apache's
> log)

No it doesn't write - it only reads. Writing is done by the TYPO3 core in class.tslib_fe.php.

- michael
--
Want support? Please read the list rules first: http://typo3.org/1438.0.html


------------------------------

Message: 7
Date: Thu, 17 Feb 2005 16:33:58 +0100
From: Boris Senker <typo3 at dvotocka.hr>
Subject: Re: [Typo3] unset newloginbox _css_default_style
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108654469.13883.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed


Hardy Kintsch wrote:
> hi,
> got a problem: i unsetted the _css_default_style in my main-template with:
> plugin.tx_newloginbox_pi1._CSS_DEFAULT_STYLE >
> 
> i copied the css-selectors in my default-stylesheet, wich is also included
> in the template, but it doesnt work. the css-selectors dont change anything
> from my stelysheet. did i forgot something? thx in advance.
> 
> hardy
> 


plugin.tx_newloginbox_pi3._CSS_DEFAULT_STYLE >


Boris Senker


: dvotocka design
________________________________________________________________

Graphic Design for Print and Web, Prepress, Website Production

J. Laurencica 8, 10000 Zagreb, Croatia
http://www.dvotocka.hr


------------------------------

Message: 8
Date: Thu, 17 Feb 2005 16:34:42 +0100
From: Boris Senker <typo3 at dvotocka.hr>
Subject: [Typo3] Clear.gif and tables in text w/image and images
	content
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108654511.13883.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Although I am using Ingmar's IMGTEXT extension, it works for RTE 
submitted images.

However when I add text w/image or images as standard content elements, 
I get a mass of unnecessary/unwanted code:


----------------------------------------------------------------------

<!--  Image block: [begin] -->
			<img src="clear.gif" width="1" height="6" border="0" 
class="spacer-gif" alt="" title="" /><br /><div align="center"><table 
width="454" cellspacing="0" cellpadding="0" 
class="imgtext-table"><tr><td colspan="3"><img src="clear.gif" 
width="454" height="1" alt="" /></td></tr><tr><td valign="top"><img 
src="uploads/pics/povijest-razanca-02.jpg" width="160" height="213" 
align="top" alt="" title="" /><br /></td><td><img src="clear.gif" 
width="10" height="1" alt="" title="" /></td><td valign="top"><img 
src="uploads/pics/povijest-razanca-03.jpg" width="284" height="213" 
align="top" alt="" title="" /><br /></td></tr></table></div>
		<!--  Image block: [end] -->


----------------------------------------------------------------------


Is there any simpler way to remove this by changing some wrap values or 
do I have to change this in class.tslib_content.php ?

All the output I need (and all I would ever need to be able to do some 
proper CSS styling) is this:


----------------------------------------------------------------------

<div class="centered-nowrap"> OR <div class="intext-left"> OR like IMGTEXT
<img src="uploads/pics/povijest-razanca-02.jpg" width="160" height="213" 
  alt="" title="" />
<img src="uploads/pics/povijest-razanca-03.jpg" width="284" height="213" 
  alt="" title="" />

----------------------------------------------------------------------

Is there a way to extend IMGTEXT extension to regular Image and Text 
w/image content? Or I missed something I should do?


Boris Senker


: dvotocka design
________________________________________________________________

Graphic Design for Print and Web, Prepress, Website Production

J. Laurencica 8, 10000 Zagreb, Croatia
http://www.dvotocka.hr


------------------------------

Message: 9
Date: Thu, 17 Feb 2005 11:47:34 -0400
From: "Marlies C" <mc at mcuniverse.com>
Subject: [Typo3] Modern Guestbook CSS question
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108655280.15316.typo3-english at lists.netfielders.de>

I am working with the modern guestbook and seem to have run into a snag. How 
do I adjust the font for the sign in form labels? This is how the page looks 
right now: http://www.mcuniverse.com/05/index.php?id=70 and as you can see 
the font is way to big.

The problem is there is no class associated with the label, so how do I tell 
it what size font I want?

I saw that other people asked the same question, but did not receive helpful 
answers that solved the problem.

Thanks

Marlies
www.mcuniverse.com




------------------------------

Message: 10
Date: Thu, 17 Feb 2005 17:10:53 +0100
From: Jan Wulff <messages at janwulff.de>
Subject: [Typo3] Freetype quality problems
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108656829.18133.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset="us-ascii"

Hi,

I really would like to know, if in the meantime somebody found out, why
some Typo3 installations do render small font types in such a worse
quality. 

I tested the same gmenu with three different Typo3 installations, two on
Linux, one on Windows. All are running with PHP4.3.x, ImageMagick 4.2.9
(from typo3.sunsite.dk), GD2 and Freetype2. The Linux installations do
render the worse kind, only the windows installation renders nearly the
same quality as the reference image.

I've found a lot of threads in this and others lists about this, but
nowhere a solution or even a reason for this behaviour.

Thanks in advance for any hints.

Regards
Jan


------------------------------

Message: 11
Date: Thu, 17 Feb 2005 17:41:11 +0100
From: Peter Niederlag <niederlag at ikd01.de>
Subject: Re: [Typo3] Reproduce "sitetitle: pagetitle" in typoscript
To: typo3-english at lists.netfielders.de
Message-ID:
	<mailman.1.1108658585.21033.typo3-english at lists.netfielders.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hi,

Rickard Andersson schrieb:
> Forgive my ignorance, but I can't really see how that would help me.

no ignorance but since you didn't tell I don't know how far you got and 
what you wanted exactly. maybe put in the details on your post from tghe 
beginning next time does help. ;)

> Essentially, what I want to do is to concatenate sitetitle and title so that
> I can replace the mark ###PAGE_TITLE### with the result of that
> concatenation. Currently, my typoscript looks like this:
> 
> marks.PAGE_TITLE = TEXT
> marks.PAGE_TITLE.field = title
> 
> but as you can see, it only includes the page title. I want to prepend it
> with the site title as well. I've tried numerous things, but I guess my
> TypoScript knowledge is just too limited. My last attempts was something
> like this:
> 
> marks.PAGE_TITLE.value = {sitetitle} - {title}
> 
> Which of course doesn't work :)

I think Sitetitle is set via the latest parsed TEMPLATE?
you have to figure out a way how to acces that, dont know if it is saved 
  in any register, rootLine or getenv...

Easiest way would be if you fix the ID of the template-record from where 
you want to fetch the value, then you can do it by  data = DB : 
sys_template:234:siteteitle or something similar.

Cheers,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *


------------------------------

_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

End of Typo3-english Digest, Vol 17, Issue 90
*********************************************







More information about the TYPO3-english mailing list