[TYPO3-english] Powermail wrap fields

2013-07-19 Thread Jogvan Olsen

Hi List

I use Powermail 2.0.9, and need to change the wrapping of some fields in 
the mails sent to the receiver and sender - but I can't get it to work.


In the form I have some checkboxes - by default are each checkbox 
selection comma separated in the mail - I need to change the separation 
character to br/.


I have tried to use:
plugin.tx_powermail_pi1.field.checkboxSplitSign.noTrimWrap = |br/ ||
but it has on effect.


Can anybody help?

Thanks in advance
Jogvan Olsen
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] WEC Staff Directory - list and singleview on same page

2013-01-09 Thread Jogvan Olsen

Hi List

The solution was:
plugin.tx_wecstaffdirectory_pi1.multiplePluginsPerPage = 1

in the case of someone else missed it in the manual :-)

Regards
Jogvan


On 19-12-2012 16:58, Jogvan Olsen wrote:


Hi List
Is it possible to have list view and single view on the same page (just
like it can be done with tt_news).

I want to have a list of all staff members in the right column - and
when you click on a staff member, single view open in the center column.
The list view in right column must still be visibly when single view
opens in the center column.

Regards
Jogvan Olsen


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] WEC Staff Directory : Department listing in singleview

2013-01-09 Thread Jogvan Olsen

Hi List

In singleview I want to display all staff departments which the staff 
member works in.


But it seems not to work in singleview - only in listview. In singleview 
only one department is listed (the department with the lowest id).


Can anyone tell what I am missing / do wrong?

I have enabled Use Staff Department Records in the Extension Manager.

If I disable Use Staff Department Records, and enter departments 
manually (dep1|dep2|dep3), all departments show up in singleview.


Does someone have a solution?



Regards
Jogvan Olsen

I use:
TYPO3 ver. 4.5.22
WEC Staff Directory ver.  2.1.2
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] How to Display FE_user name instead of feuser_id in menu - 'WEC Staff Directory'

2012-12-20 Thread Jogvan Olsen

Hi List


I am using a modified version of this menu:
http://typo3.toaster-schwerin.de/typo3_english/2007_01/msg00900.html
to display a list-menu of all staff members in 'WEC Staff Directory'. It 
works as supposed, but I have one problem.


I use 'Use Front-End users to store data': meaning that the members 
names are stored in the fe_users table.


My problem is: I can't figure out how to display the fe_users name 
instead of the feuser_id.  I can't figure out how to read the name from 
the fe_users table with the feuser_id from tx_wecstaffdirectory_info


Can somebody please help me with the problem.

Thanks in advance
Jogvan Olsen



Here is the code I use

---
menuFunc_2.inc

?php
class user_menuFunc {
 function makeMenuArray($content,$conf) {
$GLOBALS[TSFE]-set_no_cache();
 $menuArr = array();
 $lConf = $conf[userFunc.];
 $overridehref = $lConf['_OVERRIDE_HREF'];
 $res =
$this-cObj-exec_getQuery($lConf[table],$lConf[select.]);
 if ($error = $GLOBALS['TYPO3_DB']-sql_error()) {
 $GLOBALS['TT']-setTSlogMessage($error,3);
 } else {
 $GLOBALS['TT']-setTSlogMessage('NUMROWS:
'.$GLOBALS['TYPO3_DB']-sql_num_rows($res));
 while ($row = $GLOBALS['TYPO3_DB']-sql_fetch_assoc($res)) {

$row['_OVERRIDE_HREF'] = 'index.php?id=' . $overridehref
. 
'tx_wecstaffdirectory_pi1[curstaff]=' . $row['uid'];


 $menuArr[] = $row;
 }
 }
 return $menuArr;
 }
}
?
-



TS setup:
-
## STAFF menu start
page.includeLibs.usermenu = fileadmin/script/menuFunc_2.inc

lib.field_wec_staff_list = HMENU
lib.field_wec_staff_list.protectLvar = 1
lib.field_wec_staff_list.wrap = ul|/ul
lib.field_wec_staff_list.special = userfunction
lib.field_wec_staff_list.special.userFunc = user_menuFunc-makeMenuArray
lib.field_wec_staff_list.special.userFunc.table = tx_wecstaffdirectory_info
lib.field_wec_staff_list.special.userFunc.select.pidInList = 27
lib.field_wec_staff_list.special.userFunc._OVERRIDE_HREF = 17
lib.field_wec_staff_list.1 = TMENU
lib.field_wec_staff_list.1 {
  NO {
stdWrap.cObject = CASE
stdWrap.cObject {
  default = COA
  default {
10 = TEXT
10.stdWrap.data = field:feuser_id
10.wrap = | br/
20 = TEXT
20.stdWrap.data = field:position_title
  }
}
allWrap = li|/li
  }
  ACT  .NO
  ACT = 1
  ACT {
ATagParams = class=selected
  }
}
## STAFF menu end

-
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] WEC Staff Directory - list and singleview on same page

2012-12-19 Thread Jogvan Olsen


Hi List
Is it possible to have list view and single view on the same page (just 
like it can be done with tt_news).


I want to have a list of all staff members in the right column - and 
when you click on a staff member, single view open in the center column. 
The list view in right column must still be visibly when single view 
opens in the center column.


Regards
Jogvan Olsen
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Indexed Search - exclude sections / pages

2012-04-12 Thread Jogvan Olsen

HI

I have a single TYPO3 installation with 9 different homepages - al 
homepages have a lot of thing in common.
There are only one Root TS template and an Extensions TS template for 
each new homepage.


The structure looks like this:

Mainsite (root TS template)
|
|--SubSite1 (extension TS template)
|  |
|  |SUB-Subsite_A (extension TS template)
|  |
|  |SUB-Subsite_B (extension TS template)
|  |
|  |SUB-Subsite_C (extension TS template)
|  |
|  |SUB-Subsite_D (extension TS template)
|
|--Subsite3 (extension TS template)
|--Subsite4 (extension TS template)
|--Subsite5 (extension TS template)


Everything works fine. But now I want to indexed search to all homepages.

When I make a search on 'SubSite1' - I only want to find pages on 
'SubSite1'. I want to exclude all result from 'SUB-Subsite_A', 
'SUB-Subsite_B', 'SUB-Subsite_C' and 'SUB-Subsite_D'.


Is it possibly?



In my root TS template i have:

config.index_enable = 1
config.index_externals = 1
plugin.tx_indexedsearch.search.rootPidList = 402
plugin.tx_indexedsearch.show.advancedSearchLink = 0
plugin.tx_indexedsearch.show.rules = 1



In my extension template on 'SubSite1'
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl1_605

In the extension template on 'SUB-Subsite_A' iI have:
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl1_700

Is there a way to exclude serpent section / pages for indexed search, 
when I make a search on 'SubSite1'?





Thanks in advance
Jogvan Olsen



My installation uses:
TYPO3 ver. 4.5.11
Indexed Search ver. 2.12.0

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Realurl - Scandinavian characters and SB portfolio

2011-07-12 Thread Jogvan Olsen

Hi List

I have a little problem for SB Portfolio. I have adapted the Realurl 
setup from the manual to site - and it works perfect except from one thing.


The 'tag' ('GETvar' = 'tx_sbportfolio_pi1[tag]'):

- The Scandinavian characters (ÆØÅæøå) are not converted to their ASCII 
equivalents

- Spaces are not converted to space character '-'
- Is not converted to lowercase.

ex.
My url look like this:
http://my-domain.dk/eksempler/tag/Jubilæumsskrift 2010/

I want them to look like this:
http://my-domain.dk/eksempler/tag/jubilaeumsskrift-2010/



All other parts of the url are converted  to nice looking lowercase 
ASCII characters, with '-' as space-character.


I have pasted my realurs setting below - Can anyone see what I am 
missing, and give me some advice?






Thanks in advance
Jogvan Olsen



My site runs:
TYPO3  4.5.3
Realurl 1.11.2
utf-8 ($TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';)


In TS setup:
# RealUrl
config.simulateStaticDocuments = 0
config.baseURL = http://my-domain.dk/
config.tx_realurl_enable = 1
config.uniqueLinkVars = 1
config.linkVars = L
config.defaultToHTMLsuffixOnPrev = 1


?php

// Start RealUrl -

$tx_realurl_config = array(
'init' = array(
'enableCHashCache' = true,
'appendMissingSlash' = 'ifNotFile',

'enableUrlDecodeCache' = true,
   'emptyUrlReturnValue' = '/',
),
'preVars' = array(
),
'postVarSets' = array(
'_DEFAULT' = array(

// news archive parameters
'archive' = array(
array(
'GETvar' = 'tx_ttnews[year]' ,
),
array(
'GETvar' = 'tx_ttnews[month]' ,
'valueMap' = array(
'january' = '01',
'february' = '02',
'march' = '03',
'april' = '04',
'may' = '05',
'june' = '06',
'july' = '07',
'august' = '08',
'september' = '09',
'october' = '10',
'november' = '11',
'december' = '12',
)
),
),
// news pagebrowser
'browse' = array(
array(
'GETvar' = 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' = array (
array(
'GETvar' = 'tx_ttnews[cat]',
),
),
// news articles and searchwords
'article' = array(
array(
'GETvar' = 'tx_ttnews[tt_news]',
'lookUpTable' = array(
'table' = 'tt_news',
'id_field' = 'uid',
'alias_field' = 'title',
'addWhereClause' = ' AND NOT deleted',
'useUniqueCache' = 1,
'useUniqueCache_conf' = array(
'strtolower' = 1,
'spaceCharacter' = '-',
),
),
),
array(
'GETvar' = 'tx_ttnews[swords]',
),
),
),
 ),

 // sb portfolio start


 'postVarSets' = array(
  '_DEFAULT' = array(
 'item' = array (
  array (
'GETvar' = 'tx_sbportfolio_pi1[uid]',
'lookUpTable' = array (
  'table' = 'tx_sbportfolio_items',
  'id_field' = 'uid',
  'alias_field' = 'title',
  'addWhereClause' = ' AND NOT deleted AND NOT hidden',
  'useUniqueCache' = 1,
  'useUniqueCache_conf' = array (
'strtolower' = 1,
'spaceCharacter' = '-',
  ),
),
'noMatch' = 'bypass',
  ),
),
  'kategori' = array (
  array (
'GETvar' = 'tx_sbportfolio_pi1[cat]',
'lookUpTable' = array (
  'table' = 'tx_sbportfolio_categories',
  'id_field' = 'uid',
  'alias_field' = 'title',
  'addWhereClause' = ' AND NOT deleted AND NOT hidden',
  'useUniqueCache' = 1,
  'useUniqueCache_conf' = array (
'strtolower' = 1,
'spaceCharacter' = '-',
  ),
),
  ),
),
'kunder' = array (
  array (
'GETvar

[TYPO3-english] Powermail - send link in E-mail to recipient

2010-05-15 Thread Jogvan Olsen

Hi

I am trying to send a link to specific page (domain.dk/inspiration/) in 
the email to the recipient, but when I mark a text as a link in RTE, the 
baseurl is removed from the link in the mail - the link in the mail only 
contain /inspiration/


In BE the link look like this:
 a href=http://www.domain.dk/?id=283; class=internal-link 
title=Opens internal link in current window Visit our page for 
inspiration /a


--
If I just type in www.domain.dk/inspiration/ - the link work fine in the 
mail, but I wish to show some nice text instead of the url.

--

The marker ###POWERMAIL_BASEURL###  also work fine

Can anybody tell me what I am missing?


Thanks in advance,
Jogvan Olsen

The site use:
TYPO3 4.3.2
Powermail 1.5.3
RealURL 1.8.1
...

___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Google AJAX Search and url's containing =[]? not working

2010-05-13 Thread Jogvan Olsen

Hi

I am trying to use Google AJAX Search ( googleajaxsearch ) on at site 
running TYPO3 4.3.2 and utf-8. Everything seems to work fine - except 
that all url from the search result look like this:


.../%3Ftt_products%255BbackPID%255D%3D402%26tt_products%255Bproduct%255D%3D92%26cHash%3D8d515544cd5a0779e1a92577adfc7e40

instead of:
.../?tt_products[backPID]=402tt_products[product]=90cHash=960b04dcc7408c960c846362e8e8be17


Can anybody tell me how to fix it?

Thanks in advance,
Jogvan Olsen
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Google AJAX Search and url's containing =[]? not working

2010-05-13 Thread Jogvan Olsen

Dmitry Dulepov wrote:



Use RealURL.



Hi
The site use REALurl, but it not set up do decode tt_products pages - 
can ' Google AJAX Search' not handle that?


Jogvan Olsen
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] RealUrl 1.8.0 and TYPO3 4.3.2 display blank pages

2010-04-17 Thread Jogvan Olsen


Hi List

I am aware of that there are a couple of threads with the same subject, 
but I can't find any solution to the problem.


My situation:
I had a site running TYPO3 4.2.6 and RealRrl - RealUrl worked fine.
TYPO3 has been updated to 4.3.2 and RealUrl updated to 1.8.0 - Result: I 
can only get a blank page displayed in FE (the page take about 20 sec. 
to load).


If I uninstall RealUrl all pages are displayed fine in FE.

Can anybody guide me to a solution on this problem?


thank you in advance
Jogvan Olsen
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english