Menu

News

Saturday 03. of June 2006 Advanced pop-up and acronym manager

Site Sponsors

Advertise using Text-Link-Ads

CMS Solutions

System CMS

 

Foro Apple

Foro Apple

 

Cocktails

Cocktails of the World

of the world!

Want to advertise here?

Single page or site-wide advertisements. Gain your PR with back-links from a high ranked site.

Click here to request more information

03.06.06 05:07 Age: 4 yrs

Advanced pop-up and acronym manager

Category: Extension Developments

By: R. van Twisk

Advanced pop-up and acronym manager

For a fun project I started to work on a advanced based pop-up and acronym manager. Typo3 has a couple of pop-up/acronym managers but not do really what I want it to do or they are simply not advanced enough. Also I wanted to play and fool around with PHP's XML parser to check out the speed. Well it's is fast! This page has been parsed, replace and put back together in about ###RVT_INTELLIPOPS_PARSETIME_STAGE_0###ms. This means that I can do all replacement of text on a non-cache site and thus all dynamically generated content will also be replaced by this system. If you re-load this page you will see the parsing time change. However this page IS cached in typo3's caching system. Leaving the number as a prove of it's speed.

This extension is still in a very early alpha stage and can't do anything special then replace keywords or change colors. Here are a couple of examples:

red (should show red, stage 1 only),
green (should show green),
blue (should show blue),
typo3 (should uppercase),
acronym (should show title based pop-up window),
just a link (links to typo3.org with a title attribute
userFunction (Calling of an user function, this make it simply bold [EXT:rvt_intellipops/api/class.intellipops_worker.php:&user_textCallFunction->testFunctionMakeBold])

This are the panned features for the first beta release:

  • Color changes for any text [Implemented]
  • Textual changes for any text [Implemented]
  • Calling a typoscript object for any text [Implemented]
  • Show a nice pop up window above the text when you click on a acronym [Partly Implemented]
  • Hook to get content from any place (XML feeds for example) [Implemented using user functions]
  • Theme management for popups. [Partly Implemented]
  • Group management, to pre-define settings for a replacement group [I don't see a reason anymore right now]
  • Play MP3's, show flash
  • Show graphics on pop-ups [Partly Implemented]
  • Linking of text [Partly, Implemented]
  • Acronym replacement [Implemented]
  • Keywords matcher on pages table [Implemented]
  • In Cach (stage 0) and during output (stage 1) processing [Implemented]

 

Try this page for a demonstration of this extension replacing text with a GIFBUILDER object.

TODO: Put kaspers powered by message back in, it's currently removed from the XML...sorry Kasper, it will come back in....

Ries van Twisk

If you like this extension and see it comming on TER you might concider sponsoring me. This can be done by sending money to this address: paypal(at)remove-this.rvt.dds.nl. Why sponsor, well... if you sponsor you can also put your own whishes in, wouldn't that be really cool? Ofcourse you get mentioned on this site about your sponsoring and in the documentation.

Total parse time stage 0: ###RVT_INTELLIPOPS_PARSETIME_STAGE_0###ms [Note: this time is only once during cache generation]
Total parse time stage 1: ###RVT_INTELLIPOPS_PARSETIME_STAGE_1###ms [Note: this time is oper page generation]

Note: Currently I do have some problems with stage 0&1 processing Stage 0 & 1 processing seems to be solved now. 19-06-2006