[TYPO3-english] Mount Points and RealUrl

2012-03-08 Thread Pablo Feldman
*I'm using RealUrl and Mount Points*
*
*
When I try to get into a page, Real Url gives me the url of the mounted
page, and no the url of the page with the mount point

Example:

Root
--- Page
-- Page with Mount Pont 1
-- Page with Mount Pont 2
-- Page with Mount Pont 3
--- Storage Folder
-- Mount Point Page 1
-- Mount Point Page 2
-- Mount Point Page 3

I think that a url, for example, of the page 'Page with Mount Pont 1'
 should be 'http://HOST/page/page-with-mount-point-1'
But the url I'm getting is 'http://HOST/storage-folder/mount-point-page-1'

Does any chance to get it working?

Thanks in advance

-- 
*Tec. Pablo Feldman*
*Web Developer*
http://www.tutorialesdebian.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] GET HMENU OBJECT

2012-10-24 Thread Pablo Feldman
*Hi, *
*
*
*I have to render a HMENU object for a sidebar, but I need to compare each
element with pages_langauge_overlay, to check if there is a page available
for site actual language, otherwise, hide the element.*
*
*
*I'm Trying to extend the HMENU object or any way to receive an array
object with the menu object and not the html.*
*
*
*Any Ideas?*
*
*
*Thanks in advance*
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] GET HMENU OBJECT

2012-10-25 Thread Pablo Feldman
*Hi, *
*
*
*Thanks for your response, this is working for content, but HMENU still
making fallback to default language
*


On Thu, Oct 25, 2012 at 4:25 AM, bernd wilke  wrote:

> config.sys_language_overlay = hideNonTranslated
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] GET HMENU OBJECT

2012-10-25 Thread Pablo Feldman
*Thanks! It works perfectly!*
*
*
*Tec. Pablo Feldman*
*Web Developer*
http://www.pfeldman.com.ar



On Thu, Oct 25, 2012 at 11:43 AM, bernd wilke  wrote:

> Am 25.10.2012 16:08, schrieb Pablo Feldman:
>
>  *Hi, *
>> *
>> *
>> *Thanks for your response, this is working for content, but HMENU still
>> making fallback to default language
>> *
>>
>>
>> On Thu, Oct 25, 2012 at 4:25 AM, bernd wilke 
>> wrote:
>>
>>  config.sys_language_overlay = hideNonTranslated
>>>
>>
> at least it was the correct search-phrase to lead me to:
> http://lists.typo3.org/**pipermail/typo3-german/2007-**August/036699.html<http://lists.typo3.org/pipermail/typo3-german/2007-August/036699.html>
>
> 1. on every page there is a field 'hide page if no translation exist in
> current language'
>
> 2. installtool-configuration:
> $TYPO3_CONF_VARS['FE']['**hidePagesIfNotTranslatedByDefa**ult'] = '1';
>
> 3. insert in page-TSconfig:
> TCAdefaults.pages.l18n_cfg = 2
> to set field of 1. by default for new pages (you may set this field for
> all pages in SQL)
>
> bernd
> --
> http://www.pi-phi.de/**cheatsheet.html<http://www.pi-phi.de/cheatsheet.html>
>
> __**_
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Get Extension Status

2012-11-19 Thread Pablo Feldman
Hi List,

I'm creating an own extension for typo3, where after install or update
probably will have to make changes in database, And I want to know, in PHP,
if the user has not apply the changes on ext_tables.sql...
If I log in in typo3, in extensions part, if database is not correct, I
have an error message:
"One or more required fields/tables are probably missing in the database!",
If I could check this outside typo3, my problem should be solved

Any Ideas?

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


[TYPO3-english] Render Content from php

2012-11-21 Thread Pablo Feldman
Hi list,

I want to render the tt_content of a page (like CONTENT do), but inside a
php file inside a USER function

for example:

I have this inside a ts file
5 = CONTENT
5 {
table = tt_content
select {
selectFields = bodytext,CType,pi_flexform,list_type
pidInList = 2
andWhere.cObject = COA
andWhere.cObject {
10 = TEXT
10.dataWrap = sys_language_uid = {GP:L}
}
}
}

How could I do this inside the php?

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


[TYPO3-english] Get All parents page ids of a page

2012-12-05 Thread Pablo Feldman
Hi List,

I need to render a content that could be on the current page, or in any of
parents pages of the tree.
For that I want to do something like
'select bodytext from tt_content where pid in ()'

I cannot find a way to get a list of all parents uids,
A way should be going page by page using the pid of each one to get the
parent, but does not seems to be a very performant,

Any Idea?

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


[TYPO3-english] Redirect to login instead of 404 error page if fe_user has no correct permission

2012-12-13 Thread Pablo Feldman
Hi list,

When I trying to load a page for some special fe_group, if the user is not
logged in, Typo3 return a 404 error page, I think it would be better to
send user to login page.

To fix this, I found I can add something like this on my localconf:

$TYPO3_CONF_VARS["FE"]["pageNotFound_handling"] =
'USER_FUNCTION:fileadmin/scripts/404.php:user_pagenotfound->pagenotfound';

however, to do this, I have to do 2 redirects, loosing performance, I think
there must be some way to redirect to login before error handler intercept
it.

Any Ideas?

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


Re: [TYPO3-english] How can I redirect login url if user is logged in?

2012-12-13 Thread Pablo Feldman
Maybe it's a a quite late to answer :/
But I think that Task City Problem (As me now), is that maybe the user 
access the page with an external link, I could send you a link to a 
protected page, (Without clicking a typolink) and 404 error page will be 
shown

On Sunday, June 17, 2012 1:08:58 PM UTC-3, François Suter wrote:
>
> Hi, 
>
> > I have some pages of user can view, so if user is logged in, it's 
> derectly show the content in protect page. Otherwise,it's redirected to the 
> page to login in. That's what I should have the function to do. 
>
> Hmm, not quite sure if I understand you, but if the pages themselves are 
> not protected, there's no way the user can be redirected to a login 
> page. The mechanism I described works at page-level only. 
>
> If the pages are protected, the mechanism I described will work. 
>
> Cheers 
>
> -- 
>
> Francois Suter 
> Cobweb Development Sarl - http://www.cobweb.ch 
> ___ 
> TYPO3-english mailing list 
> typo3-...@lists.typo3.org  
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english 
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Redirect to login instead of 404 error page if fe_user has no correct permission

2012-12-13 Thread Pablo Feldman
Yes, but this only will apply the typolinks, if the user gets a link to a
page via mail or something like this will get a 404 error page

Thanks for the quick answer



On Thu, Dec 13, 2012 at 11:51 AM, Jigal van Hemert <
jigal.van.hem...@typo3.org> wrote:

> Hi,
>
>
> On 13-12-2012 15:25, Pablo Feldman wrote:
>
>> When I trying to load a page for some special fe_group, if the user is not
>> logged in, Typo3 return a 404 error page, I think it would be better to
>> send user to login page.
>>
>
> Maybe you can use config.**typolinkLinkAccessRestrictedPa**ges ?
>
> http://docs.typo3.org/**typo3cms/TyposcriptReference/**
> Setup/Config/Index.html<http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html>
>
> --
> Jigal van Hemert
> TYPO3 Core Team member
>
> TYPO3  inspiring people to share!
> Get involved: typo3.org
>
> __**_
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Redirect to login instead of 404 error page if fe_user has no correct permission

2012-12-13 Thread Pablo Feldman
mmm Thanks for your answer, but it's not on an specific root line, it could
be in any part of site

*"Afortunadamente nadie pudo patentar en su día el fuego, el molino, la
escalera, la bombilla, la carretera, la danza, la partitura, el periódico,
el supermercado o la estructura de cuatro paredes con un techo, dos
ventanas y una puerta. El progreso de la humanidad no es una historia de
sucesivas invenciones originales, sino de copias gradualmente mejoradas,
ideas existentes a las que se les añade elementos innovadores."*
*
*
*
*
*
*
*Tec. Pablo Feldman*
*Web Developer*
http://www.pfeldman.com.ar



On Thu, Dec 13, 2012 at 6:17 PM, Peter Russ  wrote:

> --- Original Nachricht ---
> Absender:   Pablo Feldman
> Datum:   13.12.2012 15:25:
>
>  Hi list,
>>
>> When I trying to load a page for some special fe_group, if the user is not
>> logged in, Typo3 return a 404 error page, I think it would be better to
>> send user to login page.
>>
>> To fix this, I found I can add something like this on my localconf:
>>
>> $TYPO3_CONF_VARS["FE"]["**pageNotFound_handling"] =
>> 'USER_FUNCTION:fileadmin/**scripts/404.php:user_**
>> pagenotfound->pagenotfound';
>>
>> however, to do this, I have to do 2 redirects, loosing performance, I
>> think
>> there must be some way to redirect to login before error handler intercept
>> it.
>>
>> Any Ideas?
>>
>> Thanks in advance
>>
>
>
> If your pages in a special rootline is only available for authenticated
> user you could just add some TS to provide login and then redirect to the
> requested page.
>
> Peter
>
> --
> Fiat lux! Docendo discimus.
> _
> uon GbR
>
> http://www.uon.li
> http://www.xing.com/profile/**Peter_Russ<http://www.xing.com/profile/Peter_Russ>
>
> __**_
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Redirect to login instead of 404 error page if fe_user has no correct permission

2012-12-13 Thread Pablo Feldman
Yes, Thanks, it's something similar to my first example, but I want to
prevent the double redirect, from the page to this php, and from there to
login or error page

Thanks




On Thu, Dec 13, 2012 at 7:07 PM, Peter Russ  wrote:

> --- Original Nachricht ---
> Absender:   Pablo Feldman
> Datum:   13.12.2012 22:33:
>
>> mmm Thanks for your answer, but it's not on an specific root line, it
>> could
>> be in any part of site
>>
>> *Tec. Pablo Feldman*
>> *Web Developer*
>> http://www.pfeldman.com.ar
>>
>>
> Just a snippet for you to demonstrate how page-not-found could work:
> http://pastebin.com/ype3dP4i
>
>
> Peter
>
>
> --
> Fiat lux! Docendo discimus.
> _
> uon GbR
>
> http://www.uon.li
> http://www.xing.com/profile/**Peter_Russ<http://www.xing.com/profile/Peter_Russ>
>
> __**_
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Redirect to login instead of 404 error page if fe_user has no correct permission

2012-12-14 Thread Pablo Feldman
Ok Thanks! I'll do this

*"Afortunadamente nadie pudo patentar en su día el fuego, el molino, la
escalera, la bombilla, la carretera, la danza, la partitura, el periódico,
el supermercado o la estructura de cuatro paredes con un techo, dos
ventanas y una puerta. El progreso de la humanidad no es una historia de
sucesivas invenciones originales, sino de copias gradualmente mejoradas,
ideas existentes a las que se les añade elementos innovadores."*
*
*
*
*
*
*
*Tec. Pablo Feldman*
*Web Developer*
http://www.pfeldman.com.ar



On Fri, Dec 14, 2012 at 6:36 AM, Jigal van Hemert <
jigal.van.hem...@typo3.org> wrote:

> Hi,
>
>
> On 13-12-2012 19:57, Jan Bartels wrote:
>
>> I think there's no official way to do it. I have written an own
>> 404-Handler that parses the error-message. If the string contains
>> something with "access" the handler redirects to the login-page. If the
>> string is not found, the handler retrieves the 404-page. This approach
>> works with internal restricted links as well as with links from extern.
>>
>
> The USER_FUNC handler receives rather detailed information:
>
> array(
>   'currentUrl' => [requested uri],
>   'reasonText' => [textual explanation],
>   'pageAccessFailureReasons' => [array with access information for the
> rootline]
> )
>
> The pageAccessFailureReasons array contains the properties which lead to
> the denied access:
> array(
>   'hidden' => array( [pageId] => TRUE, ... ),
>   'starttime' => array( [pageId] => [starttime], ... ),
>   'endtime' => array( [pageId] => [endtime], ... ),
>   'fe_group' => array( [pageId] => [fe_group], ... )
> )
>
> If 'extendToSubpages' was set for a page higher in the rootline the page
> ID of that page is used in the array.
>
> The reasonText can be found in 
> \TYPO3\CMS\Frontend\**Controller\**TypoScriptFrontendController
> (previously tslib_fe ); search for page(.*)AndExit .
>
>
>  Maybe you should file a feature-request for the core on forge to support
>> separate handlers for 404- and 401-errors in the future.
>>
>
> About 401: "The response MUST include a WWW-Authenticate header field
> containing a challenge applicable to the requested resource."
> The normal login in a TYPO3 site is not done by HTTP Authentication.
>
> It would be nice to have more powerful 404 handling. Maybe it can be done
> with an extension. If this extension needs something from the core it can
> always be introduced.
>
>
> --
> Jigal van Hemert
> TYPO3 Core Team member
>
> TYPO3  inspiring people to share!
> Get involved: typo3.org
> __**_
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**english<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english>
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] felogin sys extension too slow

2012-12-21 Thread Pablo Feldman
Hi List,

I'm using felogin sys extension to show a login form,

I'm just using default template and translations from extension, but the
pages takes like 2 second to load just the form.

Reading on the core of typo3, in this extension, use an USER_INT which
loads without cache, could  maybe this making this slow, there is any way
to fix this?

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


Re: [TYPO3-english] felogin sys extension too slow

2012-12-21 Thread Pablo Feldman
You are right, was a quite obvious, sorry

Thanks!


On Fri, Dec 21, 2012 at 12:49 PM, Kay Strobach wrote:

> Hello Pablo.
>
> this depends how you use the form ;)
>
> If you use it without rsaauth, you can simply use TYPOScript to create a
> page with a static form (html output).
>
> This will increase performance heavily.
>
> Regards
> Kay
>
> Am 21.12.12 16:39, schrieb Pablo Feldman:
> > Hi List,
> >
> > I'm using felogin sys extension to show a login form,
> >
> > I'm just using default template and translations from extension, but the
> > pages takes like 2 second to load just the form.
> >
> > Reading on the core of typo3, in this extension, use an USER_INT which
> > loads without cache, could  maybe this making this slow, there is any way
> > to fix this?
> >
> > Thanks in advance
> >
>
>
> --
> http://www.kay-strobach.de - Open Source Rocks
>
> TYPO3  inspiring people to share!
> Get involved: http://typo3.org
>
> Answer was useful - feel free to donate:
>   -
>
> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
>   - https://flattr.com/profile/kaystrobach
>
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Load js from lib.*

2013-01-09 Thread Pablo Feldman
Hi list,

I have an typo3 `object` like

lib.form.contact = COA
lib.form.contact {
10 = TEXT
10.value = CONTACT FORM!
}

this lib is loaded by user in some pages, but I need to load a js at end of
page, when the lb is invoked.

It seems that I cannot access `page` from inside a lib?

Any Ideas??

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


[TYPO3-english] Error Handling

2013-01-31 Thread Pablo Feldman
Hi List,

I have added to my localconf

$TYPO3_CONF_VARS['FE']['pageNotFound_handling_statheader'] = 'HTTP/1.x 404
Not Found';
$TYPO3_CONF_VARS["FE"]["pageNotFound_handling"] =
'USER_FUNCTION:fileadmin/scripts/errorHandling.php:user_error404->show';


How ever this only works for `pageNotFound - 404` errors, when an error 500
results in the server, I get the typo3 error page and not my script,

There is any way that I can specify an error handler for error 500?

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


Re: [TYPO3-english] Error Handling

2013-01-31 Thread Pablo Feldman
Søren Thanks for you quick answer,

The only field I found is pageNotFound_handling which only works for 404
errors, any other way?

Thanks


On Thu, Jan 31, 2013 at 10:52 AM, Søren Malling wrote:

> Hi Pable,
>
> There is a field for that, i think it's called "pageNotAvailable_handling
>
> Cheers,
>
>
> Søren Malling
>
> Twitter: twitter.com/sorenmalling
>
>
> On Thu, Jan 31, 2013 at 2:50 PM, Pablo Feldman  >wrote:
>
> > Hi List,
> >
> > I have added to my localconf
> >
> > $TYPO3_CONF_VARS['FE']['pageNotFound_handling_statheader'] = 'HTTP/1.x
> 404
> > Not Found';
> > $TYPO3_CONF_VARS["FE"]["pageNotFound_handling"] =
> > 'USER_FUNCTION:fileadmin/scripts/errorHandling.php:user_error404->show';
> >
> >
> > How ever this only works for `pageNotFound - 404` errors, when an error
> 500
> > results in the server, I get the typo3 error page and not my script,
> >
> > There is any way that I can specify an error handler for error 500?
> >
> > Thanks in advance
> > ___
> > TYPO3-english mailing list
> > TYPO3-english@lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Error Handling

2013-01-31 Thread Pablo Feldman
If typo3 could return an error page over apache error page, there must be a
way in typo3 to override this page

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


Re: [TYPO3-english] Error Handling

2013-02-01 Thread Pablo Feldman
Great, Just what I need, thanks!


On Fri, Feb 1, 2013 at 8:45 AM, Viktor Livakivskyi <
invisible.kin...@gmail.com> wrote:

> There are no special pages for that, because server error may be caused on
> OS level and PHP (with TYPO3) can do nothing here.
> Another possible thing is PHP error or Exception thrown somewhere in a
> code, and here you can specify your own error handler or/and exception
> handler, if you don't like default ones:
> [SYS][productionExceptionHandler]
> [SYS][debugExceptionHandler]
> [SYS][errorHandler]
>
> Четвер, 31 січня 2013 р. 16:26:09 UTC+2 користувач Pablo Feldman написав:
> >
> > If typo3 could return an error page over apache error page, there must be
> > a
> > way in typo3 to override this page
> >
> > Thanks
> > ___
> > TYPO3-english mailing list
> > typo3-...@lists.typo3.org 
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >
>
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Multiple Typo3 Servers to one database

2013-02-27 Thread Pablo Feldman
Hi List,

I trying to get some help to know how should I configure two web servers
Apache with Typo3 pointing to the same database?

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


Re: [TYPO3-english] Multiple Typo3 Servers to one database

2013-02-28 Thread Pablo Feldman
On Thu, Feb 28, 2013 at 5:30 AM, Rudi Meyer  wrote:

> u tell more about any issues you encountered while doing this? W


My Problem is with fe_user table specifically, an user login and some times
after reload the page is not logged in any more, maybe some thing is saved
in the session of server?
I found that when an user log in, a cookie (fe_typo_user) with the session
ID. Maybe, after reloading, the load balancer use the other server, and the
cookie is not setted?

Thanks for all your answers!
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Multiple Typo3 Servers to one database

2013-02-28 Thread Pablo Feldman
Ok, Thanks!!


On Thu, Feb 28, 2013 at 10:29 AM, Christian Weiske <
christian.wei...@netresearch.de> wrote:

> Hello Pablo,
>
>
> > My Problem is with fe_user table specifically, an user login and some
> > times after reload the page is not logged in any more, maybe some
> > thing is saved in the session of server?
> > I found that when an user log in, a cookie (fe_typo_user) with the
> > session ID. Maybe, after reloading, the load balancer use the other
> > server, and the cookie is not setted?
>
> TYPO3 stores its session data in the database, so this is not a problem.
>
> --
> Regards/Mit freundlichen Grüßen
> Christian Weiske
>
> -= Geeking around in the name of science since 1982 =-
>
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Problem Getting url field of a page

2013-03-07 Thread Pablo Feldman
Hi List!

I have a page, which is configured as external link (doktype: 3), I'm tryng
to get the url field of database of the page, inside an HMENU, look my code:

...
NO {
allWrap = |
stdWrap.cObject = CASE
stdWrap.cObject {
key.field = doktype
default = TEXT
default {
field = title
typolink.parameter.field = uid
stdWrap.htmlSpecialChars = 1
}
# 3 = external url
3 = TEXT
3 {
field = title
typolink.parameter.field = url
}
}
}
...

En .3 works perfect, but the url is empty, and in database is completed,
maybe is a security issue or something like this?

Any Ideas?

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


[TYPO3-english] Typoscript code & styles.content.get

2013-05-31 Thread Pablo Feldman
>
> Hi List,
>

​​I'm developing an extension which has for dependency the `Typoscript
Code` plugin.
In other projects I have use some methods like this for render the page:

lib.content = COA
lib.content {
5 = CONTENT
5 {
table = tt_content
select {
selectFields = bodytext,CType,pi_flexform,list_type
pidInList.data = page:uid
}
}
}

which automatically renders the typoscript code inside the extension.
However for this particularly project (which I only have access to the
extension), render the pages like this:

lib.content < styles.content.get
lib.content {
select.where >
select.andWhere.current = 1
select.andWhere.wrap = colPos=|
}

and the typoscript inside the Typoscript code extension is not being
runned,
any ideas how to make this work?

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

[TYPO3-english] Custom Tags Question

2013-06-05 Thread Pablo Feldman
Hi List

I'm Trying to use Custom Tags extension, I'm trying to do the easy example
in http://typo3.org/extension-manuals/de_custom_tags/0.6.2/view/1/3/
How ever it just wont work.

I have created a folder (I have named it CT), I have created the custom tag
in it (with the name redbold as in example), in the page content of a page
I add Hello Wolrd and I just get the same, there was no
replacement, do I have to do anything else than set the values on the
folder custom tag?


*Type*: Custom Tag
*Tag Type*: Wrap
*Include in RTE*: True
*Allow RTE direct substitution*: False
*Tag/Sortcut*: redbold
*Result*: |


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


[TYPO3-english] Typolinks and RealUrl

2013-08-28 Thread Pablo Feldman
Hii List!

I have this problem,
I have 2 pages, with the same name in the same tree-position inside typo3.
In another page, I'm creating 2 typolinks, eachone, to one of both uids.
The link created in both typolinks is the same redirecting to one of the
pages, and the other is inaccessible.

Do anyone has any idea of how to create the correct typolink specifying the
uid?

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


Re: [TYPO3-english] Typolinks and RealUrl

2013-08-29 Thread Pablo Feldman
On Thu, Aug 29, 2013 at 9:30 AM, Björn Pedersen wrote:

> You have to set the realurl-pathsegment for at least one page to have
> unique realurls.
>

​Hii,

Thanks for the answer!
Yes, but I create the pages dynamically, ​there is not a way for realUrl to
detect that there are 2 pages with the same url?

I mean, it looks like a bug from RealUrl, each uid, should have a specific
URL for realURL, if many pages have the same URL, only one of all of them
will be showed

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

[TYPO3-english] Problem with getTypolink()

2013-09-24 Thread Pablo Feldman
Hi list!

I have this code in php:

//$language = 13 = french
//$uid = 123
$cObj = self::getCObj();
$urlParameters = array('L' => $language);
$rs = $cObj->getTypoLink("", $uid, $urlParameters);

when I call the method from any page, it returns the title in the original
language, instead of the language set in $language. (What is wrong)

When I call the method, from the page with uid `123` (The uid of the page
where the link is pointing), the title is right, in the correct language.

The most strange part, is that I'm using realURL, and the href of the link,
points to the page with the title in french!

Any ideas of what could be happening?

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


[TYPO3-english] Clear Cache of `cache_pages` from external extension

2014-11-13 Thread Pablo Feldman
​
​
Hi list!

​​
I'm trying to clear the cache of table `cache_pages`
​, which is being populated​,
​ ​
from an extension,​
 using this php code:

$GLOBALS['typo3CacheManager']->getCache('cache_pages')->flush();

​It's seems that Typo3 does not recognize 'cache_pages'  as a cache,
because, when I run that line​ it returns:

A cache with identifier "cache_pages" does not exist.


​I don't know what I'm missing, I also dumped the content of
*$GLOBALS['typo3CacheManager']*, the check which caches recognize, and I
only have this:


protected $cacheFactory =>

  NULL

  protected $caches =>

  array(3) {

'cache_extbase_object' =>

class t3lib_cache_frontend_VariableFrontend#9 (3) {

  protected $useIgBinary =>

  bool(false)

  protected $identifier =>

  string(20) "cache_extbase_object"

  protected $backend =>

  class t3lib_cache_backend_DbBackend#8 (13) {

...

  }

}

'tx_extbase_cache_reflection' =>

class t3lib_cache_frontend_VariableFrontend#13 (3) {

  protected $useIgBinary =>

  bool(false)

  protected $identifier =>

  string(27) "tx_extbase_cache_reflection"

  protected $backend =>

  class t3lib_cache_backend_DbBackend#12 (13) {

...

  }

}

'tx_extbase_cache_object' =>

class t3lib_cache_frontend_VariableFrontend#15 (3) {

  protected $useIgBinary =>

  bool(false)

  protected $identifier =>

  string(23) "tx_extbase_cache_object"

  protected $backend =>

  class t3lib_cache_backend_DbBackend#14 (13) {

...

  }

}

  }

  protected $cacheConfigurations =>

  array( 0 ) {

  }

}


​Any help?

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

[TYPO3-english] Inheritance of meta tags

2015-04-17 Thread Pablo Feldman
Hi List!

I have meta tags for several pages in the fields `description` and
`keywords` of pages table.
is there a way (Default in typo3), to automatically set this meta tags to
all child pages?

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


Re: [TYPO3-english] Inheritance of meta tags

2015-04-17 Thread Pablo Feldman
Thanks Stephan!!

Great!

On Fri, Apr 17, 2015 at 1:33 PM Stephan Schuler 
wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Hey there.
>
> Since Pablo asked for a "default in TYPO3" way, pointing him to a 3rd
> party extension isn't exactly what he asked for.
> If you think this extension is required you should at least add "no, I
> don't think so, but".
>
> Well.
>
> I don't know exactly what this tiny feature is called. I usually call it
> "content slide" but I'm quite sure that targets something slightly
> different.
>
> I'm talking about the "levelfield" feature of "gettext"
>
> http://docs.typo3.org/typo3cms/TyposcriptReference/DataTypes/Gettext/Index.html#levelfield
>
> The part of the documentation which is easily missed:
> > slide" parameter forces a walk to the bottom of the rootline until
> there's a "true" value to return.
>
> So here you are.
> Usually you would call "data = keywords" to access the "keywords" property
> of the current page.
> Switch that to "data = levelfield : -1, keywords, slide" to walk down the
> rootline until there is a not-empty "keyword" property.
>
> Sorry for only providing german examples. But I think you're good by
> ignoring the german text and just look at the code examples:
> http://typo3blogger.de/title-und-meta-tags-bequem-setzen/
> https://www.spiersch.com/blog/2014/04/20/typo3-und-die-meta-tags/
>
> Regards,
>
>
>
> Stephan Schuler
> Web-Entwickler | netlogix Media
>
> Telefon: +49 (911) 539909 - 0
> E-Mail: stephan.schu...@netlogix.de
> Web: media.netlogix.de
>
>
>
>
> netlogix GmbH & Co. KG
> IT-Services | IT-Training | Media
> Neuwieder Straße 10 | 90411 Nürnberg
> Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
> E-Mail: i...@netlogix.de | Web: http://www.netlogix.de
>
> netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
> Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
> Umsatzsteuer-Identifikationsnummer: DE 233472254
> Geschäftsführer: Stefan Buchta, Matthias Schmidt
>
>
>
> - -Ursprüngliche Nachricht-
> Von: typo3-english-boun...@lists.typo3.org [mailto:
> typo3-english-boun...@lists.typo3.org] Im Auftrag von TSniper
> Gesendet: Freitag, 17. April 2015 16:09
> An: typo3-english@lists.typo3.org
> Betreff: [TYPO3-english] Re: Inheritance of meta tags
>
> Hello Pablo,
>
> There is an ewtension tq_seo, it's a good one for generating metatags.
> hope this help.
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
> -BEGIN PGP SIGNATURE-
> Version: PGP Universal 3.3.2 (Build 15704)
> Charset: utf-8
>
> wpUDBQFVMTXcpp0IwsibV8MBCG8oBACXLlzOUFgqIGOhSrRPMRfpMV9yHeeEFqwl
> ULAOmrsE3W/B32zoIc4drGwHkcWuc5OFIFL04kjvmlBBBGsvPuh8VvFT3xsv6z7S
> MQwWgpQrrjSUSYYG8YcnhiCM7uyZSq171LKdxRx7mBSm3ISiRcK5kIAzOlUsfy/t
> Vb/1CGzDCw==
> =f9Ol
> -END PGP SIGNATURE-
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

[TYPO3-english] Check if content slide is not empty

2015-05-11 Thread Pablo Feldman
Hi List,

I have this code:

*page.headerData.7 = TEXT*
*page.headerData.7.dataWrap = *
*page.headerData.7.if {*
*value.field = keywords*
*equals = *
*}*

this works great, bring the first parent with something in the field
keywords.
But if no parent has the field with data, is there a way to prevent the
write of that line?

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


Re: [TYPO3-english] Check if content slide is not empty

2015-05-11 Thread Pablo Feldman
Hi,

With this it hides when it has data, and shows only empty

On Mon, May 11, 2015 at 5:02 PM, Jan Bednarik  wrote:

> Hi,
>
> p = TEXT
> p.wrap = 
> p.data = levelfield : -1, keywords, slide
> p.required = 1
>
> Jan
>
> Dne 11. 5. 2015 v 21:18 Pablo Feldman napsal(a):
>
>  Hi List,
>>
>> I have this code:
>>
>> *page.headerData.7 = TEXT*
>> *page.headerData.7.dataWrap = > content="{levelfield : -1, keywords, slide}" />*
>> *page.headerData.7.if {*
>> *value.field = keywords*
>> *equals = *
>> *}*
>>
>> this works great, bring the first parent with something in the field
>> keywords.
>> But if no parent has the field with data, is there a way to prevent the
>> write of that line?
>>
>> Thanks in advance
>>
>>
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Check if content slide is not empty

2015-05-11 Thread Pablo Feldman
Sorry, it's working my mistake.

Thanksss!

On Mon, May 11, 2015 at 5:24 PM, Pablo Feldman 
wrote:

> Hi,
>
> With this it hides when it has data, and shows only empty
>
> On Mon, May 11, 2015 at 5:02 PM, Jan Bednarik  wrote:
>
> > Hi,
> >
> > p = TEXT
> > p.wrap = 
> > p.data = levelfield : -1, keywords, slide
> > p.required = 1
> >
> > Jan
> >
> > Dne 11. 5. 2015 v 21:18 Pablo Feldman napsal(a):
> >
> >  Hi List,
> >>
> >> I have this code:
> >>
> >> *page.headerData.7 = TEXT*
> >> *page.headerData.7.dataWrap =  >> content="{levelfield : -1, keywords, slide}" />*
> >> *page.headerData.7.if {*
> >> *value.field = keywords*
> >> *equals = *
> >> *}*
> >>
> >> this works great, bring the first parent with something in the field
> >> keywords.
> >> But if no parent has the field with data, is there a way to prevent the
> >> write of that line?
> >>
> >> Thanks in advance
> >>
> >>
> > ___
> > TYPO3-english mailing list
> > TYPO3-english@lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >
> ___
> TYPO3-english mailing list
> TYPO3-english@lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english