TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-templavoila@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 15.06.2008, 17:33
Manfred Mirsch
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] Hiding empty content

I want to display a content element with a surrounding border for the
rigt column. If there isn't any content I will see an empty rectangle
with the border I defined for the corresponding div-tag.

Is there a way to prevent templavoila from displaying that element and
if not, is it planned to incorporate this feature?

Thanks,
Manfred
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 15.06.2008, 17:47
Christian Wolff
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Hiding empty content

On Sun, 15 Jun 2008 17:33:33 +0200, Manfred Mirsch
<manfred.mirsch (AT) tandemmedia (DOT) de> wrote:

> I want to display a content element with a surrounding border for the
> rigt column. If there isn't any content I will see an empty rectangle
> with the border I defined for the corresponding div-tag.
>
> Is there a way to prevent templavoila from displaying that element and
> if not, is it planned to incorporate this feature?
>
> Thanks,
> Manfred


Hi Manfred. you could use the stdWrap on
the colum to generate the div only if needet. this is only a minor edit
to the typo script inside the DataStructure

and don't include the "border-div" in your "static template" in the FCE

greets chris

--
Christian Wolff // Berlin
http://www.connye.com

Latest Projects:
http://www.flycall.de | http://www.atr24.de | http://www.titanic.de
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 15.06.2008, 22:18
Manfred Mirsch
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Hiding empty content

Hi Christian,
Thanx for your quick reply. I tried to insert a "required" into my TS
inside the XML:
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap.required = 1
10.wrap = <!--TYPO3SEARCH_begin--><div id="content_r"> |
</div><!--TYPO3SEARCH_end-->
]]></TypoScript>

But this wasn't successfull. Do you know how I could modify the TS to
display the div "content_r" only in case of an existing element in the
corresponding column?

Have a nice evening,
Manfred

> On Sun, 15 Jun 2008 17:33:33 +0200, Manfred Mirsch
> <manfred.mirsch (AT) tandemmedia (DOT) de> wrote:
>
>> I want to display a content element with a surrounding border for the
>> rigt column. If there isn't any content I will see an empty rectangle
>> with the border I defined for the corresponding div-tag.
>>
>> Is there a way to prevent templavoila from displaying that element and
>> if not, is it planned to incorporate this feature?
>>
>> Thanks,
>> Manfred

>
> Hi Manfred. you could use the stdWrap on
> the colum to generate the div only if needet. this is only a minor edit
> to the typo script inside the DataStructure
>
> and don't include the "border-div" in your "static template" in the FCE
>
> greets chris
>

_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 16.06.2008, 10:55
Christian Wolff
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Hiding empty content

On Sun, 15 Jun 2008 22:18:19 +0200, Manfred Mirsch
<manfred.mirsch (AT) tandemmedia (DOT) de> wrote:

> Hi Christian,
> Thanx for your quick reply. I tried to insert a "required" into my TS
> inside the XML:
> <TypoScript><![CDATA[
> 10= RECORDS
> 10.source.current=1
> 10.tables = tt_content
> 10.wrap.required = 1
> 10.wrap = <!--TYPO3SEARCH_begin--><div id="content_r"> |
> </div><!--TYPO3SEARCH_end-->
> ]]></TypoScript>
>
> But this wasn't successfull. Do you know how I could modify the TS to
> display the div "content_r" only in case of an existing element in the
> corresponding column?
>


Hi Manfred, it looks like RECORDS does not support full stdWrap featurers.
thats what i have seen after a look in the TS-ref. but you could use a COA
to get the full stdWrap Features


<TypoScript><![CDATA[
1 =COA
1 {
stdWrap.required = 1
stdWrap.wrap = <!--TYPO3SEARCH_begin--><div
id="content_r">|</div><!--TYPO3SEARCH_end-->
10= RECORDS
10.source.current=1
10.tables = tt_content
}
]]></TypoScript>

i think this should work for your border.

greets chris


--
Christian Wolff // Berlin
http://www.connye.com

Latest Projects:
http://www.flycall.de | http://www.atr24.de | http://www.titanic.de
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 16.06.2008, 19:27
Manfred Mirsch
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Hiding empty content

SUPER!!!
now it works.

Seems, that I have to study the TS-Ref a bit deeper.

Bye,
Manfred

> On Sun, 15 Jun 2008 22:18:19 +0200, Manfred Mirsch
> <manfred.mirsch (AT) tandemmedia (DOT) de> wrote:
>
>> Hi Christian,
>> Thanx for your quick reply. I tried to insert a "required" into my TS
>> inside the XML:
>> <TypoScript><![CDATA[
>> 10= RECORDS
>> 10.source.current=1
>> 10.tables = tt_content
>> 10.wrap.required = 1
>> 10.wrap = <!--TYPO3SEARCH_begin--><div id="content_r"> |
>> </div><!--TYPO3SEARCH_end-->
>> ]]></TypoScript>
>>
>> But this wasn't successfull. Do you know how I could modify the TS to
>> display the div "content_r" only in case of an existing element in the
>> corresponding column?
>>

>
> Hi Manfred, it looks like RECORDS does not support full stdWrap featurers.
> thats what i have seen after a look in the TS-ref. but you could use a COA
> to get the full stdWrap Features
>
>
> <TypoScript><![CDATA[
> 1 =COA
> 1 {
> stdWrap.required = 1
> stdWrap.wrap = <!--TYPO3SEARCH_begin--><div
> id="content_r">|</div><!--TYPO3SEARCH_end-->
> 10= RECORDS
> 10.source.current=1
> 10.tables = tt_content
> }
> ]]></TypoScript>
>
> i think this should work for your border.
>
> greets chris
>
>

_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-templavoila
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3-templavoila] upgrade to 4.2 TV elements empty Costa Papadopoulo typo3-project-templavoila@lists.netfielders.de 1 31.05.2008 12:10
[TYPO3-templavoila] Remove empty FCE tags Benjamin Todd typo3-project-templavoila@lists.netfielders.de 0 31.01.2008 16:09
[TYPO3] Random content empty 50% of the time Patrick Scholman typo3-english@lists.netfielders.de 0 11.01.2008 08:58
[TYPO3-templavoila] hiding complicated settings of frontendextensions by using an FCE Claudius Heitz typo3-project-templavoila@lists.netfielders.de 4 05.12.2007 22:26
[TYPO3-templavoila] Hiding non-mapped fields in TV Page module Francois Suter typo3-project-templavoila@lists.netfielders.de 5 03.09.2007 15:16


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:07 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75