[TYPO3-UG Dutch] fout in nieuwslinks

Thijs Hakkenberg thijs at hakkenberg.com
Wed Nov 22 16:20:12 CET 2006


Sta me toe hier de Constants en de Setup toe te voegen van m'n template:

*constants*

RTE.default.disableEnterParagraphs = 1
PAGE_TARGET =
content.pageFrameObj =
plugin.tx_srstaticinfo_pi1.languageCode = NL

styles.content.mailform.badMess = Vul alstublieft alle verplichte velden in.
styles.content.mailform.goodMess = Verstuurd!

plugin.tx_srfeuserregister_pi1.file.templateFile = 
fileadmin/template/3/tx_srfeuserregister_pi1_css_tmpl.html
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 3
plugin.tx_srfeuserregister_pi1.formFields = username, password, gender, 
first_name, last_name, email, telephone, company, comments, function, 
module_sys_dmail_html, disable
plugin.tx_srfeuserregister_pi1.requiredFields = 
username,password,first_name,last_name,email
plugin.tx_srfeuserregister_pi1.loginPID = 43
plugin.tx_srfeuserregister_pi1.siteName = Law and Roar
styles.content.loginform.pid = 3
plugin.tx_newloginbox_pi1.userStorage = 3

plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 3
plugin.tx_srfeuserregister_pi1.userGroupAfterAcceptation = 3
plugin.tx_srfeuserregister_pi1.salutation = formal
plugin.tx_srfeuserregister_pi1.pidTitleOverride = 3
plugin.tx_srfeuserregister_pi1.usernameAtLeast = 4
plugin.alt.print.file.stylesheet =
plugin.alt.print.file.template = 
typo3/sysext/cms/tslib/media/scripts/printversion_content.tmpl
plugin.tt_news.file.templateFile = 
fileadmin/template/3/tt_news_v2_template.html
plugin.tt_news.singlePid = 120

*setup*

plugin.tx_newloginbox_pi1.userStorage = 3
plugin.tt_news.displayList {
    date_stdWrap.strftime= %A %d %B %Y
}

#taalgerelateerd
config.language = nl
config.sys_language_uid = 0
config.locale_all = nl_NL
config.locale_all = nl_NL.ISO8859-1
config.locale_all = nl_NL.ISO8859-15
#xhtml ipv html
  config.doctype = xhtml_trans
  config.xhtml_cleaning = all
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
  # Read the template file:
  content = FILE
  content.file = fileadmin/template/3/20060428_template_roar.html
  # Here we define which elements in the HTML that
  # should be wrapped in subpart-comments:
  elements {
    BODY.all = 1
    BODY.all.subpartMarker = DOCUMENT_BODY

    HEAD.all = 1
    HEAD.all.subpartMarker = DOCUMENT_HEADER
    HEAD.rmTagSections = title

    TD.all = 1
    DIV.all = 1
  }

  # Prefix all relative paths with this value:
  relPathPrefix = fileadmin/template/3/
}

# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
  # Normal state properties
  NO.allWrap = <div class="menu1-level1-no"> | </div>
    # Enable active state and set properties:
  ACT = 1
  ACT.allWrap = <div class="menu1-level1-act"> | </div>
}

# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
  # Normal state properties
  NO.allWrap = <div class="menu1-level2-no"> | </div>
    # Enable active state and set properties:

  ACT = 1
  ACT.allWrap = <div class="menu1-level2-act"> | </div>
}
 
# Third level menu-object, textual
temp.menu_1.3 = TMENU
temp.menu_1.3 {
  # Normal state properties
  NO.allWrap = <div class="menu1-level3-no"> | </div>
  # Enable active state and set properties:
  ACT = 1
  ACT.allWrap = <div class="menu1-level3-act"> | </div>
}

# Fourth level menu-object, textual
temp.menu_1.4 = TMENU
temp.menu_1.4 {
  # Normal state properties
  NO.allWrap = <div class="menu1-level4-no"> | </div>
  # Enable active state and set properties:
  ACT = 1
  ACT.allWrap = <div class="menu1-level4-act"> | </div>
}

# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  # Feeding the content from the Auto-parser to the TEMPLATE cObject:
  template =< plugin.tx_automaketemplate_pi1
  # Select only the content between the <body>-tags
  workOnSubpart = DOCUMENT_BODY

  # Substitute the ###content### subpart with some example content:

  subparts.content < styles.content.get
    subparts.links < styles.content.getLeft
    subparts.rechts < styles.content.getRight
 
  # Substitute the ###menu_1### subpart with dynamic menu:

  subparts.menu_1 < temp.menu_1
}

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
  # Feeding the content from the Auto-parser to the TEMPLATE cObject:
  template =< plugin.tx_automaketemplate_pi1
  # Select only the content between the <head>-tags
  workOnSubpart = DOCUMENT_HEADER
}

# Default PAGE object:
page = PAGE
page.typeNum = 0

# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate

# Copying the content from TEMPLATE for <head>-section:
page.headerData.10  < temp.headTemplate

page.10{
marks.DON= RECORDS
marks.DON.tables = tt_content
marks.DON.source = 104

marks.FOOTER= RECORDS
marks.FOOTER.tables = tt_content
marks.FOOTER.source = 189
}

}

plugin.tt_news {
  displayCatMenu {
    mode = nestedWraps
    # wrap for the complete "catmenu"
    catmenu_stdWrap.wrap = <div class="news-catmenu">|</div>
    # wraps for active or inactive category links in the tree
    catmenuItem_ACT_stdWrap.wrap = <img 
src="tslib/media/bullets/bullet1_h.gif" />|
    catmenuItem_NO_stdWrap.wrap = <img 
src="tslib/media/bullets/bullet1_n.gif" />|
    # wrap for level "n"
    catmenuLevel1_stdWrap.wrap = <div class="level1">|</div>
    catmenuLevel2_stdWrap.wrap = <div class="level2">|</div>
    catmenuLevel3_stdWrap.wrap = <div class="level3">|</div>
    catmenuLevel4_stdWrap.wrap = <div class="level4">|</div>
  }
}


Thijs Hakkenberg schreef:
> Beste Lijst,
>
> Ik heb een vreemd probleem. Zoals jullie kunnen zien op bijvoorbeeld 
> http://www.lawandroar.nl/cms/index.php?id=67&no_cache=1&L=1 kan je zien 
> dat het klikken op een nieuwslink goed werkt; echter als hij via direct 
> mail verzonden wordt of als je de link handmatig kopiëert en plakt werkt 
> hij niet. Dat is toch niet logisch? In feite komt het er op neer dat 
> 'hardlinken' naar een nieuwsartikel niet werkt.
>
> Hebben jullie dit wel eens eerder gezien?
>   

-- 

Thijs Hakkenberg,

------------------------------------------------------------------------
Voorzitter Stichting Ebriositas [ KVK: 34210081, Postbank 4906257]
www.ebriositas.nl <http://www.ebriositas.nl>
Student Natuurkunde UvA
www.uva.nl <http://www.uva.nl>
Systeembeheerder Stichting Varkens in Nood
www.varkensinnood.nl <http://www.varkensinnood.nl>

Contact:
Tel: 06-48761131
www.hakkenberg.com <http://www.hakkenberg.com>
thijs at hakkenberg.com <mailto:thijs at hakkenberg.com>




More information about the TYPO3-UG-dutch mailing list