Firefox Profile Manager and Backup/restore Profiles on Portable Firefox

A. Creating a New Firefox Profile.
1. Close all instances of Firefox:

2. Run the following code:
F:\PortableApps\FireFox3Portable\App\Firefox\firefox.exe -P

NOTE: Make sure the above path suits your install location

4. It is nice to put the profiles into a central location, thus convenient in future.
Ex:
F:\PortableApps\FireFoxProfiles/ff3
F:\PortableApps\FireFoxProfiles/ff4
F:\PortableApps\FireFoxProfiles/ff5

3. You will get profile manager, now create as many profiles as you need
ex: firefox2, firefox3, firefox 4, firefox5 etc…

B. How to Backup Profile Data/Copy Profile data from one profile to a new one?

Profile data contains several things, the bookmarks, passwords, settings addons etc…

1. Just browse to “F:\PortableApps\FireFoxPortable\Data\profile”

2. Copy this to your profile folder ex to “F:\PortableApps\FireFoxProfiles/ff4”

C. Running the browser using a specific profile.
That’s all run your new Firefox Browser usign following Shortcut:
F:\PortableApps\Firefox4Portable\App\Firefox\firefox.exe -p firefox4 -no-remote

Real URL Config for tt_products

There are many posts regarding adding realurl to tt_products but I found that the fillowing code works well.

Copy this code to your realurl configuration file. Disable the realurl autoconf in the Backend.

// product categories
‘categories’ => array (
array (
‘GETvar’ => ‘tt_products[cat]’ ,
‘lookUpTable’ => array (
‘table’ => ‘tt_products_cat’ ,
‘id_field’ => ‘uid’ ,
‘alias_field’ => ‘title’ ,
‘addWhereClause’ => ‘ AND NOT deleted’ ,
‘languageGetVar’ => ‘L’,
‘useUniqueCache’ => 1 ,
‘useUniqueCache_conf’ => array (
‘strtolower’ => 1 ,
‘spaceCharacter’ => ‘-‘ ,
)
)
)
),
// products
‘products’ => array (
array (
‘GETvar’ => ‘tt_products[product]’ ,
‘lookUpTable’ => array (
‘table’ => ‘tt_products’ ,
‘id_field’ => ‘uid’,
‘alias_field’ => ‘title’ ,
‘addWhereClause’ => ‘ AND NOT deleted’ ,
‘languageGetVar’ => ‘L’,
‘useUniqueCache’ => 1 ,
‘useUniqueCache_conf’ => array (
‘strtolower’ => 1 ,
‘spaceCharacter’ => ‘-‘ ,
)
)
)
),
// backPID
‘backPID’ => array (
array (
‘GETvar’ => ‘tt_products[backPID]’ ,
‘lookUpTable’ => array (
‘table’ => ‘pages’ ,
‘id_field’ => ‘uid’ ,
‘alias_field’ => ‘title’ ,
‘addWhereClause’ => ‘ AND NOT deleted’ ,
‘languageGetVar’ => ‘L’,
‘useUniqueCache’ => 1 ,
‘useUniqueCache_conf’ => array (
‘strtolower’ => 1 ,
‘spaceCharacter’ => ‘-‘ ,
)
)
)
) ,

Display News Title as Page Title in tt_news detail view

To Display the news title in the detail view of tt_news instead of page title use the following code

[globalVar = TSFE:id = {$newsSinglePid}]
temp.newsTitle = RECORDS
temp.newsTitle {
source = {GPvar:tx_ttnews|tt_news}
source.insertData = 1
tables = tt_news
conf.tt_news >
conf.tt_news = TEXT
conf.tt_news.field=title
wrap = <title>|</title>
}
page.config.noPageTitle = 2
(Your Object) >
(Your Object) < temp.newsTitle
[global]

Technorati : , ,

Open the Images present in tt_products List and Single view in Lightbox using Perfectlightbox

Hi Friends,

The following code is used to open the images in Lightbox that are present in the tt_product, List and Single views. Please add these lines in typoscript.

plugin.tt_products {
image {
imageLinkWrap {
typolink {
parameter.cObject = IMG_RESOURCE
parameter.cObject.file.import.data = TSFE:lastImageInfo|origFile
parameter.cObject.file.maxW = {$plugin.perfectlightbox.lightBoxMaxW}
parameter.cObject.file.maxH = {$plugin.perfectlightbox.lightBoxMaxH}

ATagParams = rel=”lightbox”
ATagParams.override = rel=”lightbox[sb{field:uid}]” #hier UID übergeben
ATagParams.override.if.isTrue = {$plugin.perfectlightbox.imgtext.navigable}
ATagParams.insertData = 1
}
}
}
listImage < .image
listImage.file.maxW = {$plugin.tt_products.maxW_list}
listImage.file.maxH = {$plugin.tt_products.maxH_list}
listImage.imageLinkWrap = {$plugin.tt_products.clickEnlarge_list}
}

If the image needs to be rotated in the Lightbox please add the following line

parameter.cObject.file.params = -rotate 90

Technorati : , , ,

How to get an old TYPO3 Extension from Repository

In some cases we may need to get an old TYPO3 extension, this may be for several reasons.

In order to do this, we can follow any of the following methods:

METHOD 1:

  1. Go to http://www.typo3.org/extensions then search for your extension, say tt_news
  2. Just copy yhe download link of the t3x file, and now my link looked as below: http://typo3.org/fileadmin/ter/t/t/tt_news_3.0.1.t3x
  3. We need the version 2.5.2, so change the version number of above URL to as follows:
    http://typo3.org/fileadmin/ter/t/t/tt_news_2.5.2.t3x

METHOD 2:

This is one way, the other way is when we use the update manager within TYPO3 BE, we get a drop down to select the version, and load it’s detail. Then we can install/update the necessary version. Sometimes the drop down may not have the needed version, so Method 1 may work in such cases!

METHOD3:

Most extensions were also under version control on typo3 forge, even here we can get the old files. We may however get some files/updates/changes that were not really published to the Extension Repository. So this may be slightly risky as well. Generally the first two methods are much more easier.