TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Section index and option split

This is a discussion on [TYPO3] Section index and option split within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi I have problems with section index default # "Section index (pagecontent w/Index checked - liststyle)" 3.wrap = <...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 12.05.2007, 11:40
Tapio Markula
Gast
 
Beiträge: n/a
Standard [TYPO3] Section index and option split

Hi

I have problems with section index

default


# "Section index (pagecontent w/Index checked - liststyle)"
3.wrap = <ul class="csc-menu csc-menu-3">|</ul>
3.renderObj.noBlur = 1
3.renderObj.wrap = <li class="csc-section">|</li>

I would like to reset that
This doesn't work:

tt_content.menu.20.3 {
wrap =<div class="csc-menu csc-menu-3">|</div>
renderObj.wrap = |
1.NO.wrapItemAndSub=|
1.NO.linkWrap= <span class="csc-section">|&nbsp;|&nbsp;</span> |*|
<span class="csc-section">|&nbsp;|&nbsp;</span> |*|<span
class="csc-section lastItem">|</span>
1.NO.ATagParams = class="sectionLink"
}

1.NO has no effect - apparently because of subsection of a page

If I set
tt_content.menu.20.3 {

wrap =<div class="csc-menu csc-menu-3">|</div>
renderObj.wrap = <span class="csc-section">|&nbsp;|&nbsp;</span>
|*| <span class="csc-section">|&nbsp;|&nbsp;</span> |*|<span
class="csc-section lastItem">|</span>
}

option split for renderObj.wrap doesn't work

I don't figure how I could in this case option split for links
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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 12.05.2007, 18:02
Christopher Torgalson
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

Hi,

On 5/12/07, Tapio Markula <tapio.markula (AT) atwebteam (DOT) com> wrote:
> Hi
>
> I have problems with section index
>
> default
>
>
> # "Section index (pagecontent w/Index checked - liststyle)"
> 3.wrap = <ul class="csc-menu csc-menu-3">|</ul>
> 3.renderObj.noBlur = 1
> 3.renderObj.wrap = <li class="csc-section">|</li>
>
> I would like to reset that
> This doesn't work:
>
> tt_content.menu.20.3 {
> wrap =<div class="csc-menu csc-menu-3">|</div>
> renderObj.wrap = |
> 1.NO.wrapItemAndSub=|
> 1.NO.linkWrap= <span class="csc-section">|&nbsp;|&nbsp;</span> |*|
> <span class="csc-section">|&nbsp;|&nbsp;</span> |*|<span
> class="csc-section lastItem">|</span>
> 1.NO.ATagParams = class="sectionLink"
> }
>
> 1.NO has no effect - apparently because of subsection of a page
>
> If I set
> tt_content.menu.20.3 {
>
> wrap =<div class="csc-menu csc-menu-3">|</div>
> renderObj.wrap = <span class="csc-section">|&nbsp;|&nbsp;</span>
> |*| <span class="csc-section">|&nbsp;|&nbsp;</span> |*|<span
> class="csc-section lastItem">|</span>
> }
>
> option split for renderObj.wrap doesn't work
>
> I don't figure how I could in this case option split for links




It CAN'T work. The object you're working on is NOT a menu cObject.
Your entire "1.NO.whatever..." constructs make no sense in the context
you're using them.

According to the TSref, optionSplit is "primarily used in the
menu-objects." This implies that it might work elsewhere, but I'm not
actually aware of anywhere else it works.

To mark up items differently in your sectionIndex menu according to
their position/order, you're going to have to approach it differently;
maybe look at the way that lib.stdheader uses LOAD_REGISTER with
cObjarentRecordNumber to mark up the /first/ header in the page
differently. You could use this approach to mark up the first item in
the menu normally:


renderObj.wrap = <span class="csc-section">|</span>


....and then wrap all others something like this:


renderObj.wrap = <span class="csc-section">&nbsp;|&nbsp;|</span>


Unlike with lib.stdheader though, I'd say the best way to do your menu
might be to use a CASE cObject instead of .if.


--
Christopher Torgalson
http://www.typo3apprentice.com/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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 12.05.2007, 18:37
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

Christopher

> To mark up items differently in your sectionIndex menu according to
> their position/order, you're going to have to approach it differently;
> maybe look at the way that lib.stdheader uses LOAD_REGISTER with
> cObjarentRecordNumber to mark up the /first/ header in the page
> differently. You could use this approach to mark up the first item in
> the menu normally:
>
>
> renderObj.wrap = <span class="csc-section">|</span>
>
>
> ...and then wrap all others something like this:
>
>
> renderObj.wrap = <span class="csc-section">&nbsp;|&nbsp;|</span>


ok - that could work also if there is just one object
In fact if,case and load_register stuff in TypoScipt is part,
which I don't propely understand.
Honestly I can do those stuff only if somebody gives good examples
because in this stuff TypoScript is really difficult - ten
times more difficult than PHP!

You mean something like

tt_content.menu.20.3 {
wrap =<div class="csc-menu csc-menu-3">|</div>
renderObj=CASE {
cObjarentRecordNumber=LOAD_REGISTER
default
wrap= <span class="csc-section">&nbsp;|&nbsp;|</span>
1
wrap= <span class="csc-section">|</span>
}
}
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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 12.05.2007, 18:57
Tyler Kraft
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

Hi,

> It CAN'T work. The object you're working on is NOT a menu cObject.
> Your entire "1.NO.whatever..." constructs make no sense in the context
> you're using them.
>
> According to the TSref, optionSplit is "primarily used in the
> menu-objects." This implies that it might work elsewhere, but I'm not
> actually aware of anywhere else it works.



Another thought... I think Joey (JoH asenau - info (AT) cybercraft (DOT) de) has
built a extension that gives option split to all wraps now - might be
helpful?

Tyler
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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 12.05.2007, 18:57
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

Tyler Kraft kirjoitti:
> Hi,
>
>> It CAN'T work. The object you're working on is NOT a menu cObject.
>> Your entire "1.NO.whatever..." constructs make no sense in the context
>> you're using them.
>>
>> According to the TSref, optionSplit is "primarily used in the
>> menu-objects." This implies that it might work elsewhere, but I'm not
>> actually aware of anywhere else it works.

>
>
> Another thought... I think Joey (JoH asenau - info (AT) cybercraft (DOT) de) has
> built a extension that gives option split to all wraps now - might be
> helpful?
>
> Tyler


Yes - I have sometimes succed to create CASE and if stuff
but I don't understand if properly and I don't understand
at all how LOAD_REGISGER work - examples in TSRef
are not good enough.
Mostly I love TypoScript - but I really hate if-stuff -
is really weird and extremely difficult to understand.
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
  #6  
Alt 12.05.2007, 18:58
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

Tyler Kraft kirjoitti:
> Hi,
>
>> It CAN'T work. The object you're working on is NOT a menu cObject.
>> Your entire "1.NO.whatever..." constructs make no sense in the context
>> you're using them.
>>
>> According to the TSref, optionSplit is "primarily used in the
>> menu-objects." This implies that it might work elsewhere, but I'm not
>> actually aware of anywhere else it works.

>
>
> Another thought... I think Joey (JoH asenau - info (AT) cybercraft (DOT) de) has
> built a extension that gives option split to all wraps now - might be
> helpful?
>
> Tyler


what might be the name of the extension?
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
  #7  
Alt 12.05.2007, 19:10
Tyler Kraft
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

LOL

I don't know, i don't sit around and memorise the extension repository ;-)

Do a search from the extensions list on the BE of one of your
installations! Try "wrap" or "option" perhaps as the words...

hth



Tapio Markula wrote:
> Tyler Kraft kirjoitti:
>> Hi,
>>
>>> It CAN'T work. The object you're working on is NOT a menu cObject.
>>> Your entire "1.NO.whatever..." constructs make no sense in the context
>>> you're using them.
>>>
>>> According to the TSref, optionSplit is "primarily used in the
>>> menu-objects." This implies that it might work elsewhere, but I'm not
>>> actually aware of anywhere else it works.

>>
>>
>> Another thought... I think Joey (JoH asenau - info (AT) cybercraft (DOT) de) has
>> built a extension that gives option split to all wraps now - might be
>> helpful?
>>
>> Tyler

>
> what might be the name of the extension?

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
  #8  
Alt 12.05.2007, 19:36
Tapio Markula
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

Tyler Kraft kirjoitti:
> LOL
>
> I don't know, i don't sit around and memorise the extension repository ;-)
>
> Do a search from the extensions list on the BE of one of your
> installations! Try "wrap" or "option" perhaps as the words...


found
nh_stdwrap_plus
fullstdwrap
kb_betterstdwrap

fullstdwrap is incompatible with my plugin
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
  #9  
Alt 13.05.2007, 02:02
Tyler Kraft
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

sorry I was wrong, not Joey but Bernhard... It was probably
kb_betterstdwrap that I'm thinking of.





Tapio Markula wrote:
> Tyler Kraft kirjoitti:
>> LOL
>>
>> I don't know, i don't sit around and memorise the extension repository
>> ;-)
>>
>> Do a search from the extensions list on the BE of one of your
>> installations! Try "wrap" or "option" perhaps as the words...

>
> found
> nh_stdwrap_plus
> fullstdwrap
> kb_betterstdwrap
>
> fullstdwrap is incompatible with my plugin

_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
  #10  
Alt 13.05.2007, 12:33
Peter Klein
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Section index and option split

Hi Tapio.
The section menu is not a real menu, but just a select query from the
content on the current page.
One way to get optionSpit support, would be to convert it into a real menu
object.

To do that, you could use the snippet I posted on Typo3Wizard a while ago.
http://www.typo3wizard.com/en/snippe...han-pages.html

And then rewrite the Typoscript of "tt_content.menu.20.3", like this
(Untested

-- cut --
tt_content.menu.20.3 >
tt_content.menu.20.3 < tt_content.menu.20.default
tt_content.menu.20.3 {
wrap = <div class="csc-menu csc-menu-3">|</div>
special >
special = userfunction
special.userFunc = user_menuFunc->makeMenuArray
special.userFunc.table = tt_content
special.userFunc.select.andWhere = sectionIndex!=0
special.userFunc.select.pidInList.override.field = pages
1 = TMENU
1.NO.doNotLinkIt = 1
1.NO.stdWrap.field = header
1.NO.stdWrap.typolink.parameter.field = pid
1.NO.stdWrap.typolink.section.field = uid
1.NO.stdWrap.wrap = <p class="csc-section">|</p>
1.NO.stdWrap.htmlSpecialChars = 1
1.NO.stdWrap.if.isTrue.field = header
}
-- cut --

--
Peter Klein/Umloud Untd

"Tapio Markula" <tapio.markula (AT) atwebteam (DOT) com> wrote in message
news:mailman.1.1178963048.13611.typo3-english (AT) lists (DOT) netfielders.de...
> Hi
>
> I have problems with section index
>
> default
>
>
> # "Section index (pagecontent w/Index checked - liststyle)"
> 3.wrap = <ul class="csc-menu csc-menu-3">|</ul>
> 3.renderObj.noBlur = 1
> 3.renderObj.wrap = <li class="csc-section">|</li>
>
> I would like to reset that
> This doesn't work:
>
> tt_content.menu.20.3 {
> wrap =<div class="csc-menu csc-menu-3">|</div>
> renderObj.wrap = |
> 1.NO.wrapItemAndSub=|
> 1.NO.linkWrap= <span class="csc-section">|&nbsp;|&nbsp;</span> |*|
> <span class="csc-section">|&nbsp;|&nbsp;</span> |*|<span
> class="csc-section lastItem">|</span>
> 1.NO.ATagParams = class="sectionLink"
> }
>
> 1.NO has no effect - apparently because of subsection of a page
>
> If I set
> tt_content.menu.20.3 {
>
> wrap =<div class="csc-menu csc-menu-3">|</div>
> renderObj.wrap = <span class="csc-section">|&nbsp;|&nbsp;</span> |*|
> <span class="csc-section">|&nbsp;|&nbsp;</span> |*|<span
> class="csc-section lastItem">|</span>
> }
>
> option split for renderObj.wrap doesn't work
>
> I don't figure how I could in this case option split for links



_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
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!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
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] Problem with option split and menus Tapio Markula typo3-english@lists.netfielders.de 0 12.05.2007 09:05
[TYPO3-templavoila] Section Container Index lee perry typo3-project-templavoila@lists.netfielders.de 3 03.04.2007 19:09
[TYPO3-templavoila] Section as direct child of section possible? Uschi Renziehausen typo3-project-templavoila@lists.netfielders.de 1 28.02.2007 10:09
[Typo3-UG France] Eclaircissement sur le split option... Pierre typo3-france@lists.netfielders.de 0 05.02.2005 18:20
[Typo3-UG France] Eclaircissement sur le split option... Pierre typo3-france@lists.netfielders.de 0 05.02.2005 18:15


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


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

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