ANDY3

Home | Contact | Donate Money

Modern Linklist

How can I display the link description in the LIST view?

Just overwrite the provided (static) TypoScript setup in your (extension) template like this:
# listView link/category parameter settings
listView {
	# Wraps
	linkTeaser_stdWrap {
		wrap = |
		crop = 1000 | ... | 1
	}
}
Since version 1.7.2 you also have the possibility to substitute the ###LINK_TEASER### marker with the ###LINK_DESCRIPTION### marker in the ###VIEW_CATEGORY### template subpart.


How can I define/change indention factor for the TREE view?

Just overwrite the provided (static) TypoScript setup in your (extension) template. The following indentionFactor has been predefined:
# treeView link parameter settings
treeView {
	# indentionFactor
	indentionFactor = 40
}


How can I define/change the wraps for the generated output?

Just overwrite the provided (static) TypoScript setup in your (extension) template. The following wraps, crops, etc. have been predefined:
# General stdWraps
categoryPath_stdWrap.wrap = |
linkLabel_stdWrap.wrap = |
addLink_stdWrap.wrap = |
addLinkText_stdWrap.wrap = |
reportLinkBrokenText_stdWrap.wrap = |
rateLinkText_stdWrap.wrap = |
formErrorMsg_stdWrap.wrap = |
 
# listView link/category parameter settings
listView {
	# Wraps
	categories_stdWrap.wrap = |
	category_stdWrap.wrap = |
	categoryPath_stdWrap.wrap = |
	categoryLabel_stdWrap.wrap = |
	categoryDescription_stdWrap {
		wrap = |
		crop =
	}
 
	links_stdWrap.wrap = |
	linkAddNew_stdWrap.wrap = |
	linkTeaser_stdWrap {
		wrap = |
		crop = 30 | ... | 1
	}
 
	linkLabel_stdWrap.wrap = |
	linkDetails_stdWrap.wrap = |
	linkReportBroken_stdWrap.wrap = |
	linkRate_stdWrap.wrap = |
}
 
# treeView link parameter settings
treeView {
	# Wraps
	categoryLabel_stdWrap.wrap = |
	categoryDescription_stdWrap {
		wrap = |
		crop =
	}
 
	linkAddNew_stdWrap.wrap = |
	linkTeaser_stdWrap {
		wrap = |
		crop = 30 | ... | 1
	}
 
	linkLabel_stdWrap.wrap = |
	linkDetails_stdWrap.wrap = |
	linkReportBroken_stdWrap.wrap = |
}
 
# searchView link parameter settings
searchView {
	# Wraps
	resultMessage_stdWrap.wrap = |
	noLinksMessage_stdWrap.wrap = |
	categoryPath_stdWrap.wrap = |
	links_stdWrap.wrap = |
	linkTeaser_stdWrap {
		wrap = |
		crop = 30 | ... | 1
	}
 
	linkLabel_stdWrap.wrap = |
	linkDetails_stdWrap.wrap = |
	linkReportBroken_stdWrap.wrap = |
	linkRate_stdWrap.wrap = |
}
 
# topView link parameter settings
topView {
	# Wraps
	topMessage_stdWrap.wrap = |
	linkLabel_stdWrap.wrap = |
}
 
# catalogView link parameter settings
	catalogView {
		# Separator and appendix
		separator = , 
		appendix = ...		
 
		# Wraps
		categoryPath_stdWrap.wrap = |
		categoryLabel_stdWrap.wrap = |
		categoryDescription_stdWrap {
			wrap = |
			crop =
		}
 
		subcategoryLabel_stdWrap.wrap = |
		subcategoryDescription_stdWrap {
			wrap = |
			crop =
		}
 
		links_stdWrap.wrap = |
		linkAddNew_stdWrap.wrap = |
		linkTeaser_stdWrap {
			wrap = |
			crop = 30 | ... | 1
		}
		linkDescription_stdWrap.wrap = |
		linkLabel_stdWrap.wrap = |
		linkImage.imageLinkWrap = 1
		linkImage.imageLinkWrap {
			enable = 1
			bodyTag = <body bgColor="#ffffff">
			wrap =  | 
			width = 500m
			height = 500
			JSwindow = 1
			JSwindow.newWindow = 1
			JSwindow.expand = 17,20
		}
		linkDetails_stdWrap.wrap = |
		linkReportBroken_stdWrap.wrap = |
		linkRate_stdWrap.wrap = |
}


How can I define/change the parameters (ATagParams) of the frontend links?

Just overwrite the provided (static) TypoScript setup in your (extension) template. The following default style classes for the links have been predefined:
# listView link/category parameter settings
listView {
	# ATagParams
	categoryLabel.ATagParams = class="tx_ablinklist_listView_categoryLabel"
 
	linkAddNew.ATagParams = class="tx_ablinklist_listView_linkAddNew"
	linkLabel.ATagParams = class="tx_ablinklist_listView_linkLabel"
	linkDetails.ATagParams = class="tx_ablinklist_listView_linkDetails"
	linkReportBroken.ATagParams = class="tx_ablinklist_listView_linkReportBroken"
	linkRate.ATagParams = class="tx_ablinklist_listView_linkRate"
	linkImage.ATagParams = class="tx_ablinklist_listView_linkImage"
}
 
# treeView link parameter settings
treeView {
	# ATagParams
	linkAddNew.ATagParams = class="tx_ablinklist_treeView_linkAddNew"
	linkLabel.ATagParams = class="tx_ablinklist_treeView_linkLabel"
	linkDetails.ATagParams = class="tx_ablinklist_treeView_linkDetails"
	linkReportBroken.ATagParams = class="tx_ablinklist_treeView_linkReportBroken"
	linkRate.ATagParams = class="tx_ablinklist_treeView_linkRate"
	linkImage.ATagParams = class="tx_ablinklist_treeView_linkImage"
}
 
# searchView link parameter settings
searchView {
	# ATagParams
	categoryLabel.ATagParams = class="tx_ablinklist_searchView_categoryLabel"
 
	linkLabel.ATagParams = class="tx_ablinklist_searchView_linkLabel"
	linkDetails.ATagParams = class="tx_ablinklist_searchView_linkDetails"
	linkReportBroken.ATagParams = class="tx_ablinklist_searchView_linkReportBroken"
	linkRate.ATagParams = class="tx_ablinklist_searchView_linkRate"
	linkImage.ATagParams = class="tx_ablinklist_searchView_linkImage"
}
 
# topView link parameter settings
topView {
	# ATagParams
	linkLabel.ATagParams = class="tx_ablinklist_topView_linkLabel"
	linkDetails.ATagParams = class="tx_ablinklist_topView_linkDetails"
	linkImage.ATagParams = class="tx_ablinklist_topView_linkImage"
}
 
# catalogView link parameter settings
catalogView {
	# ATagParams
	categoryLabel.ATagParams = class="tx_ablinklist_catalogView_categoryLabel"
	subcategoryLabel.ATagParams = class="tx_ablinklist_catalogView_subcategoryLabel"
 
	linkAddNew.ATagParams = class="tx_ablinklist_catalogView_linkAddNew"
	linkLabel.ATagParams = class="tx_ablinklist_catalogView_linkLabel"
	linkDetails.ATagParams = class="tx_ablinklist_catalogView_linkDetails"
	linkReportBroken.ATagParams = class="tx_ablinklist_catalogView_linkReportBroken"
	linkRate.ATagParams = class="tx_ablinklist_catalogView_linkRate"
	linkImage.ATagParams = class="tx_ablinklist_catalogView_linkImage"
}


How can I change the appearance and layout of the linklist?

In subfolder "pi1" of the extension you will find an example template file called "tx_ablinklist_pi1.tmpl" which is used by the extension by default. Copy this file to some other place (perhaps where you store your other templates) and edit it to fit your needs. Afterwards select it in the plugin options under "Template file". As (since version 1.6.0) the ATagParams of the frontend links can be defined/changed you can also use this additional method.


How can I change the label of the search button?

Create an extension template for the page you added the "Modern Linklist" to and add the following TypoScript code in the "Setup" field of that template.   For example a possible German format:
plugin.tx_ablinklist_pi1 {
	_LOCAL_LANG.de {
		pi_list_searchBox_search = Suchen
	}
}


How can I change the labels of the pagebrowser?

Create an extension template for the page you added the "Modern Linklist" to and add the following TypoScript code in the "Setup" field of that template.   For example a possible German format (not using the PiBasePagebrowser):
plugin.tx_ablinklist_pi1 {
	_LOCAL_LANG.de {
		pi_list_browseresults_prev = < vorherige Einträge
		pi_list_browseresults_next = weitere Einträge >
		pi_list_browseresults_displays = Anzeige: %s bis %s von %s
	}
}
Another German example (using the PiBasePagebrowser in this case):
plugin.tx_ablinklist_pi1 {
	# enable the PiBasePagebrowser
	usePiBasePagebrowser = 1
	_LOCAL_LANG.de {
		pi_list_browseresults_prev = < vorherige Einträge
		pi_list_browseresults_next = weitere Einträge >
		pi_list_browseresults_displays (
			Anzeige: ###FROM### bis ###TO### von ###OUT_OF###
		)
	}
}


How can I enable the PiBasePagebrowser/use the new features of the extended TYPO3 v3.8.0 pagebrowser?

Just overwrite the provided (static) TypoScript setup in your extension/main template. The following default settings have been predefined:
usePiBasePagebrowser = 0
pageBrowser {
	maxPages = 50
	showResultCount = 1
	showPBrowserText = 0
	dontLinkActivePage = 1
	tableParams = cellpadding="2" align="center"
	hscText = 1
 
	# settings for the extended pagebrowser from TYPO3 3.8.0
	showFirstLast = 0
	pagefloat = center
	showRange = 0
	disabledLinkWrap = |
	inactiveLinkWrap = |
	activeLinkWrap = |
	browseLinksWrap = |
	showResultsWrap = |
showResultsNumbersWrap = | browseBoxWrap = }


How can I change the display of date and time?

First make sure to set the correct language and locale in your main template (please refer to the TYPO3 Documentation on how to do this). After that just overwrite the provided (static) TypoScript setup in your extension/main template.   For example a possible German format:
plugin.tx_ablinklist_pi1 {
	date_stdWrap.strftime = %d. %B %Y
	time_stdWrap.strftime = %H:%M:%S Uhr
}


How can I change the appearance of the pagebrowser?

When looking at the generated html source code you can see that the pagebrowser and its components are wrapped in several tags which you can freely modify by adding appropriate CSS definitions to your site.   Since version 1.6.6 you also have the possibility to substitute the built-in pagebrowser with your own pagebrowser script. The file "example_userPageBrowserFunc.php" was added in folder "res/" of the extension which contains a example pagebrowser userfunction you can change to fit your needs (see the file for a description and the needed TypoScript setup).


typo3.andreas-bulling.de/ | © 2006-2010 Andreas Bulling
Last update: April 21, 2007