[TYPO3] TYPO3-english Digest, Vol 56, Issue 5

mohammad farooq farooq at srijan.in
Sat May 3 14:31:45 CEST 2008


>
> Hi All,
>
> I am facing site search problem with my site, traditional index-search is
> doing fine with page-content and tt_news data, but not returning results
> from database tables of my  custom built extensions.
>

The mechanism of the extension is same as that of tt_news, where records are
created in backend and saved in the related folder.

Then there are two instances of plugins

1. It lists only headers of data (one field from one table), a click on this
header dynamically causes main content (other field of other table)   to
explode on a different page (Where extension's single view is inserted).

I seek help in knowing,  if  index-search can search content from tt_news
table then why it can't from my extension's table (if index-search is made
with tt_news in mind).

Please let me know if it is good idea to try and attempt extending
 index-search to achieve the desired results,  or there is any other plugin
or alternative solution for this.

I tried extension "[AN] Search it!" it makes a link to sysfolder containing
data (which leads to nowhere) since data is shown on-the-fly on single-view
page,

I wonder what to do.

Your replies will be highly valued.

Mohammad Farooq,
Srijan Technologies
New Delhi- India
On Sat, May 3, 2008 at 3:30 PM, <typo3-english-request at lists.netfielders.de>
wrote:

> Send TYPO3-english mailing list submissions to
>        typo3-english at lists.netfielders.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> or, via email, send a message with subject or body 'help' to
>        typo3-english-request at lists.netfielders.de
>
> You can reach the person managing the list at
>        typo3-english-owner at lists.netfielders.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TYPO3-english digest..."
>
>
> Today's Topics:
>
>   1. RealURL woes, still not working. (Felyza Wishbringer)
>   2. Re: RealURL woes, still not working. (Xavier Perseguers)
>   3. Re: RealURL woes, still not working. (Saurabh)
>   4. Re: FE User Reg Extension -  2 questions (Walrick)
>   5. Commerce - 3 columns (Czibolya Csaba)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 2 May 2008 18:14:46 -0400
> From: "Felyza Wishbringer" <felyza at gmail.com>
> Subject: [TYPO3] RealURL woes, still not working.
> To: <typo3-english at lists.netfielders.de>
> Message-ID:
>        <mailman.6973.1209766482.18990.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi list.
>
> I've been trying for most of the day to get RealURL working. I've visited
> the docs, wiki, archives, and various locations Google has spit out to me.
> It does make a change, but nowhere near what I want, and I've yet to get
> any
> customization working. For reference, page title of UID 51 is profile, and
> 45 is dev blog.
>
> Here's what I'm getting...
> --------------------------
> http://www.mydomain.com/51/?tx_srfeuserregister_pi1%5Bcmd%5D=create
> http://www.mydomain.com/45/
>
> http://www.mydomain.com/51/?tx_srfeuserregister_pi1%5BregHash%5D=9a51053a4b1
> 756ebce88<http://www.mydomain.com/51/?tx_srfeuserregister_pi1%5BregHash%5D=9a51053a4b1756ebce88>
>
> Here's what I'm wanting...
> --------------------------
> http://www.mydomain.com/profile/user/create
> http://www.mydomain.com/dev-blog/
> http://www.mydomain.com/profile/user/9a51053a4b1756ebce88
>
> Without RealURL...
> ------------------
>
> http://www.mydomain.com/index.php?id=51&tx_srfeuserregister_pi1[cmd]=create<http://www.mydomain.com/index.php?id=51&tx_srfeuserregister_pi1%5Bcmd%5D=create>
> http://www.mydomain.com/index.php?id=45
>
> My template setup
> ------------------
> config.simulateStaticDocuments = 0
> config.baseURL = http://www.mydomain.com/
> config.tx_realurl_enable = 1
> config.hostname = http://www.mydomain.com
> config.prefixLocalAnchors = all
>
> My .htaccess
> ------------
> RewriteEngine On
> RewriteBase /
> RewriteRule
>
> ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favic
> on\.ico)/ - [L]
> RewriteRule ^typo3$ typo3/index_re.php [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
> RewriteRule .* /index.php [L]
>
>
> My realurlconf.php
> RootPID 'trick' comes from http://wiki.typo3.org/index.php/RealURL, but I
> also tried using _DEFAULT, to no avail.
> -------------------------------------
> <?
> $GLOBAL[$RootPID]= array('www.mydomain.com' => '24','mydomain.com' =>
> '24',);
>
> $GLOBALS[$TYPO3_CONF_VARS]['EXTCONF']['realurl']=array(
>   'init' => array(
>      'useCHashCache' => 0,
>      'enableCHashCache' => 1,
>      'enableUrlDecodeCache' => 1,
>      'enableUrlEncodeHash' => 1
>   ),
>   'pagePath' => array(
>      'type' => 'user',
>      'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>      'spaceCharacter' => '-',
>      'languageGetVar' => 'L',
>      'rootpage_id' => $RootPID[$_SERVER['HTTP_HOST']],
>      'expireDays' => 7
>   ),
>   'postVarSets' => array (
>      'user' => array(
>         array('GETvar' => 'tx_srfeuserregister_pi1[regHash]'),
>         array('GETvar' => 'tx_srfeuserregister_pi1[cmd]')
>      ),
>      'date' => array (
>         array ('GETvar' => 'tx_ttnews[year]'),
>         array ('GETvar' => 'tx_ttnews[month]'),
>         array ('GETvar' => 'tx_ttnews[day]'),
>         array (
>            'GETvar' => 'tx_ttnews[tt_news]',
>            'lookUpTable' => array (
>               'table' => 'tt_news',
>               'id_field' => 'uid',
>               'alias_field' => 'title',
>               'addWhereClause' => ' AND NOT deleted AND NOT hidden',
>               'useUniqueCache' => 1,
>               'useUniqueCache_conf' => array (
>                  'strtolower' => 1,
>                  'spaceCharacter' => '-'
>               )
>            )
>         )
>      ),
>      'show' => array (
>         array (
>            'GETvar' => 'tx_lzgallery_pi1[showUid]',
>            'lookUpTable' => array (
>               'table' => 'tx_lzgallery_galleries',
>               'id_field' => 'uid',
>               'alias_field' => 'title',
>               'addWhereClause' => ' AND NOT deleted',
>               'useUniqueCache' => 1,
>               'useUniqueCache_conf' => array (
>                  'strtolower' => 1,
>                  'spaceCharacter' => '-',
>               )
>            )
>         )
>      )
>   ),
>   'fileName' => array (
>      'defaultToHTMLsuffixOnPrev' => 0,
>      'index' => array (
>         'rss.xml' => array (
>            'keyValues' => array (
>               'type' => 100
>            )
>         ),
>         'print.html' => array (
>            'keyValues' => array (
>               'type' => 98
>            )
>         ),
>         '_DEFAULT' => array ('keyValues' => array ())
>      )
>   )
> );
> ?>
>
> Any help is greatly appreciated.
> -Felyza
> P.S. Yes, I am showing 'mydomain' as the domain.
> P.P.S. No, the correct domain is used in my settings.
>
> ------------------------------
>
> Message: 2
> Date: Sat, 03 May 2008 08:56:54 +0200
> From: Xavier Perseguers <typo3 at perseguers.ch>
> Subject: Re: [TYPO3] RealURL woes, still not working.
> To: typo3-english at lists.netfielders.de
> Message-ID:
>        <mailman.1.1209797815.17245.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> > Here's what I'm wanting...
> > --------------------------
> > http://www.mydomain.com/profile/user/create
> > http://www.mydomain.com/dev-blog/
> > http://www.mydomain.com/profile/user/9a51053a4b1756ebce88
> >
> > My template setup
> > ------------------
> > config.simulateStaticDocuments = 0
> > config.baseURL = http://www.mydomain.com/
> > config.tx_realurl_enable = 1
> > config.hostname = http://www.mydomain.com
> > config.prefixLocalAnchors = all
>
> I do not have any config.hostname in my config.
>
> > My .htaccess
> > ------------
> > RewriteEngine On
> > RewriteBase /
>
> No RewriteBase in .htaccess if I remember well (I do not have it and I
> think I had to remove this line as indicated in comments)
>
> > RewriteRule
> >
> ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favic
> > on\.ico)/ - [L]
> > RewriteRule ^typo3$ typo3/index_re.php [L]
> > RewriteCond %{REQUEST_FILENAME} !-f
> > RewriteCond %{REQUEST_FILENAME} !-d
> > RewriteCond %{REQUEST_FILENAME} !-l
> > RewriteRule .* /index.php [L]
>
> OK.
>
> > My realurlconf.php
> > RootPID 'trick' comes from http://wiki.typo3.org/index.php/RealURL, but
> I
> > also tried using _DEFAULT, to no avail.
>
> You do not need this unless you have multiple domains in your TYPO3 tree.
>
> > -------------------------------------
> > <?
> > $GLOBAL[$RootPID]= array('www.mydomain.com' => '24','mydomain.com' =>
> > '24',);
> >
> > $GLOBALS[$TYPO3_CONF_VARS]['EXTCONF']['realurl']=array(
> >    'init' => array(
> >       'useCHashCache' => 0,
> >       'enableCHashCache' => 1,
> >       'enableUrlDecodeCache' => 1,
> >       'enableUrlEncodeHash' => 1
> >    ),
> >    'pagePath' => array(
> >       'type' => 'user',
> >       'userFunc' =>
> > 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> >       'spaceCharacter' => '-',
> >       'languageGetVar' => 'L',
> >       'rootpage_id' => $RootPID[$_SERVER['HTTP_HOST']],
>
>         'segTitleFieldList' =>
> 'tx_realurl_pathsegment,alias,nav_title,title',
>
> >       'expireDays' => 7
> >    ),
> >    'postVarSets' => array (
> >       // [snip]
> >
>
>         '_DEFAULT' => array(
>            'hash' => array(
>               array( 'GETvar' => 'cHash' )
>            )
>         ),
>
> >       'show' => array (
> >          array (
> >             'GETvar' => 'tx_lzgallery_pi1[showUid]',
> >             'lookUpTable' => array (
> >                'table' => 'tx_lzgallery_galleries',
> >                'id_field' => 'uid',
> >                'alias_field' => 'title',
> >                'addWhereClause' => ' AND NOT deleted',
> >                'useUniqueCache' => 1,
> >                'useUniqueCache_conf' => array (
> >                   'strtolower' => 1,
> >                   'spaceCharacter' => '-',
> >                )
> >             )
> >          )
> >       )
> >    ),
> >    'fileName' => array (
> >       'defaultToHTMLsuffixOnPrev' => 0,
> >       'index' => array (
> >          'rss.xml' => array (
> >             'keyValues' => array (
> >                'type' => 100
> >             )
> >          ),
> >          'print.html' => array (
> >             'keyValues' => array (
> >                'type' => 98
> >             )
> >          ),
> >          '_DEFAULT' => array ('keyValues' => array ())
> >       )
> >    )
> > );
> > ?>
>
> HTH
>
> --
> Xavier Perseguers
> http://xavier.perseguers.ch/en
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 03 May 2008 12:36:25 +0530
> From: Saurabh <saurabh at srijan.in>
> Subject: Re: [TYPO3] RealURL woes, still not working.
> To: TYPO3 English <typo3-english at lists.netfielders.de>
> Message-ID:
>        <mailman.7112.1209798423.18990.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Felyza,
>
> Have you made the required changes in your .htaccess file? If not, add
> following lines at the end of .htaccess :-
>
> RewriteEngine On
> RewriteRule ^/typo3$ - [L]
> RewriteRule ^/typo3/.*$ - [L]
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-l
> RewriteRule .* /index.php
>
> Also add following lines to root page typoscript:-
>
> config.simulateStaticDocuments = 0 \
> config.baseURL = http://www.yoursite.com/
> config.tx_realurl_enable = 1
>
> Also you can use "urltool" plugin to change ids into speaking urls...
>
> Cheers,
> Saurabh
> > Hi list.
> >
> > I've been trying for most of the day to get RealURL working. I've
> visited
> > the docs, wiki, archives, and various locations Google has spit out to
> me.
> > It does make a change, but nowhere near what I want, and I've yet to get
> any
> > customization working. For reference, page title of UID 51 is profile,
> and
> > 45 is dev blog.
> >
> > Here's what I'm getting...
> > --------------------------
> > http://www.mydomain.com/51/?tx_srfeuserregister_pi1%5Bcmd%5D=create
> > http://www.mydomain.com/45/
> >
> http://www.mydomain.com/51/?tx_srfeuserregister_pi1%5BregHash%5D=9a51053a4b1
> > 756ebce88
> >
> > Here's what I'm wanting...
> > --------------------------
> > http://www.mydomain.com/profile/user/create
> > http://www.mydomain.com/dev-blog/
> > http://www.mydomain.com/profile/user/9a51053a4b1756ebce88
> >
> > Without RealURL...
> > ------------------
> >
> http://www.mydomain.com/index.php?id=51&tx_srfeuserregister_pi1[cmd]=create<http://www.mydomain.com/index.php?id=51&tx_srfeuserregister_pi1%5Bcmd%5D=create>
> > http://www.mydomain.com/index.php?id=45
> >
> > My template setup
> > ------------------
> > config.simulateStaticDocuments = 0
> > config.baseURL = http://www.mydomain.com/
> > config.tx_realurl_enable = 1
> > config.hostname = http://www.mydomain.com
> > config.prefixLocalAnchors = all
> >
> > My .htaccess
> > ------------
> > RewriteEngine On
> > RewriteBase /
> > RewriteRule
> >
> ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favic
> > on\.ico)/ - [L]
> > RewriteRule ^typo3$ typo3/index_re.php [L]
> > RewriteCond %{REQUEST_FILENAME} !-f
> > RewriteCond %{REQUEST_FILENAME} !-d
> > RewriteCond %{REQUEST_FILENAME} !-l
> > RewriteRule .* /index.php [L]
> >
> >
> > My realurlconf.php
> > RootPID 'trick' comes from http://wiki.typo3.org/index.php/RealURL, but
> I
> > also tried using _DEFAULT, to no avail.
> > -------------------------------------
> > <?
> > $GLOBAL[$RootPID]= array('www.mydomain.com' => '24','mydomain.com' =>
> > '24',);
> >
> > $GLOBALS[$TYPO3_CONF_VARS]['EXTCONF']['realurl']=array(
> >    'init' => array(
> >       'useCHashCache' => 0,
> >       'enableCHashCache' => 1,
> >       'enableUrlDecodeCache' => 1,
> >       'enableUrlEncodeHash' => 1
> >    ),
> >    'pagePath' => array(
> >       'type' => 'user',
> >       'userFunc' =>
> > 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> >       'spaceCharacter' => '-',
> >       'languageGetVar' => 'L',
> >       'rootpage_id' => $RootPID[$_SERVER['HTTP_HOST']],
> >       'expireDays' => 7
> >    ),
> >    'postVarSets' => array (
> >       'user' => array(
> >          array('GETvar' => 'tx_srfeuserregister_pi1[regHash]'),
> >          array('GETvar' => 'tx_srfeuserregister_pi1[cmd]')
> >       ),
> >       'date' => array (
> >          array ('GETvar' => 'tx_ttnews[year]'),
> >          array ('GETvar' => 'tx_ttnews[month]'),
> >          array ('GETvar' => 'tx_ttnews[day]'),
> >          array (
> >             'GETvar' => 'tx_ttnews[tt_news]',
> >             'lookUpTable' => array (
> >                'table' => 'tt_news',
> >                'id_field' => 'uid',
> >                'alias_field' => 'title',
> >                'addWhereClause' => ' AND NOT deleted AND NOT hidden',
> >                'useUniqueCache' => 1,
> >                'useUniqueCache_conf' => array (
> >                   'strtolower' => 1,
> >                   'spaceCharacter' => '-'
> >                )
> >             )
> >          )
> >       ),
> >       'show' => array (
> >          array (
> >             'GETvar' => 'tx_lzgallery_pi1[showUid]',
> >             'lookUpTable' => array (
> >                'table' => 'tx_lzgallery_galleries',
> >                'id_field' => 'uid',
> >                'alias_field' => 'title',
> >                'addWhereClause' => ' AND NOT deleted',
> >                'useUniqueCache' => 1,
> >                'useUniqueCache_conf' => array (
> >                   'strtolower' => 1,
> >                   'spaceCharacter' => '-',
> >                )
> >             )
> >          )
> >       )
> >    ),
> >    'fileName' => array (
> >       'defaultToHTMLsuffixOnPrev' => 0,
> >       'index' => array (
> >          'rss.xml' => array (
> >             'keyValues' => array (
> >                'type' => 100
> >             )
> >          ),
> >          'print.html' => array (
> >             'keyValues' => array (
> >                'type' => 98
> >             )
> >          ),
> >          '_DEFAULT' => array ('keyValues' => array ())
> >       )
> >    )
> > );
> > ?>
> >
> > Any help is greatly appreciated.
> > -Felyza
> > P.S. Yes, I am showing 'mydomain' as the domain.
> > P.P.S. No, the correct domain is used in my settings.
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 03 May 2008 10:26:00 +0200
> From: Walrick <lists at globalhealingcircle.net>
> Subject: Re: [TYPO3] FE User Reg Extension -  2 questions
> To: Dmitry Martynenko <dima at realt.by>,  TYPO3 English
>        <typo3-english at lists.netfielders.de>
> Message-ID:
>        <mailman.7127.1209803190.18990.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello James,
>
> > JC> I am trying to figure out two things about the FEuser Registration
> > JC> extentsion:
> >
> > JC> 1. I cant figure out how to modify the "not a member yet. click here
> to
> > JC> register" link so that it goes to the registration page. Right now
> it is
> > JC> loading the reg form in the same content area as the link.
> >
> > Simple approach - you can place "register" link as HTML code.
> > Just get HTML code from current "click here to register" link and
> > change page path to you registration page. Then insert this code in
> > you pages (or in you template).
>
> I did it by setting "[plugin.tx_srfeuserregister_pi1.editPID]" in the
> Constant Editor to the PID of the registration page. Same way for the
> editing page and the confirmation page (the two settings above the
> editPID in the Constant Editor.
>
> For me that was the simple approach. I just followed the manual.
>
> Greetings,
>
> Walrick
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 03 May 2008 10:46:26 +0200
> From: Czibolya Csaba <nol at freemail.hu>
> Subject: [TYPO3] Commerce - 3 columns
> To: TYPO3 English <typo3-english at lists.netfielders.de>
> Message-ID:
>        <mailman.7130.1209804422.18990.typo3-english at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello,
>
> I would like to put it out into 3 columns the categories, but I cannot
> break the row because of something.
>
> <!-- ###CATEGORY_LIST### begin -->
>    <table> <tr>
>    <div class="com-category">
>
>        <!-- ###CATEGORY_LIST_ITEM### begin -->
>
>            <!-- ###CATEGORY_ITEM_TITLE### -->
>            ###CATEGORY_ITEM_TEASER###
>            ###CATEGORY_ITEM_TEASERIMAGES###
>            <td width="170px" valign="top">###CATEGORY_ITEM_IMAGES### <br/>
>            <!--###CATEGORY_ITEM_DESCRIPTION### -->
>            ###CATEGORY_ITEM_SUBTITLE###
>
>            ###CATEGORY_ITEM_PRODUCTLIST###
>
>            </td>
>        <!-- ###CATEGORY_LIST_ITEM### end -->
>    </div>
>    </tr> </table>
> <!-- ###CATEGORY_LIST### end -->
>
>
>
> ------------------------------
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> End of TYPO3-english Digest, Vol 56, Issue 5
> ********************************************
>



-- 
Thanks and Regards,
Muhammad Farooq,
Srijan Technologies Pvt. Ltd.


More information about the TYPO3-english mailing list