Scenic Living | living with a view on life

TAG | usability

Basically what I do implementing a searchbox that needs to be an all pages, is using some plain typoscript to get this running well.

I used to use macina searchbox when I just started working with TYPO3, but getting more feeling with typoscript, I personally like using as less as extensions as possible.

So, how do I do it?

First of all, make sure you implement Indexed Search (setting up the indexing etc.). You really should read the documentation on that - although if you’re like me you’d like me post it here for you!

Second make sure you a subpart Marker (or when using TemplaVoila make sure you map the location to a typoscript object). Usually mine is named lib.searchbox.

Third thing you do is prepare some constants in your TS template:

plugin.tx_indexedsearch.searchUID = 2
plugin.tx_indexedsearch.showAdvanced = 0

The searchUID constant is the page containing your search results (your page with the indexed_search plugin on it).

In the setup you now use the following code to give you the searchbox.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • eKudos
  • MisterWong
  • Reddit
  • Technorati

, , , , , ,

I have been wondering a while on how to set headerimages in a nice way to Typo3 pages. After some searching and “workarounds”, this is where I have ended (for now… ;-) )

# Image from the page properties
temp.headerImage = IMAGE
temp.headerImage {
	file.import = uploads/media/
	file.import.data = levelmedia:-1, slide
	file.import.listNum=0
}

Read more in it here:

http://www.rggooglemap.com/en/dev/mpossnewsheader.html

http://www.mcuniverse.com/Changing-Section-Pictures.193.0.html

http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/0.0.16/view/6/2/

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • eKudos
  • MisterWong
  • Reddit
  • Technorati

, ,

Yes. It is one of the most hidden secrets of the default mailform element in Typo3, but it is actually possible to have it sent an automatically generated reply: here you find how! 

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • eKudos
  • MisterWong
  • Reddit
  • Technorati

, , , ,

Find it!

Theme Design by devolux.org