[TYPO3-english] t3blog, calendar widget, disabling months outside a range

2011-10-18 Thread Tomasz Melcer
Hello,

I am using `t3blog` with calendar widget. It works nice, however the
calendar widget allows to browse month-by-month before first post or
after current date, which is useless and might be confusing for users.
It also makes my `wget`-based mirroring stuck in a loop ;-)

I thought it is possible to change this by manipulating
`plugin.tx_t3blog_pi2.calendar.navLink`, but it only defines the URL to
go, not the whole HTML anchor element.

Is this possible without hacking the widget code itself?

Thanks,

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


[TYPO3-english] Export everything from site except from user data

2011-08-30 Thread Tomasz Melcer
Hello,

I'd like to export all data from my TYPO3, except from user data (like
passwords). I know I can right-click on the root item in the page tree,
choose Export to t3d... and disable tables be_users, be_groups,
fe_users and fe_groups.

Is this procedure good? Is there anything other I should explicitly
disable during export?

Thanks,

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


Re: [TYPO3-english] How to make a site map block with different pages than used on the menu?

2011-08-04 Thread Tomasz Melcer
W dniu 04.08.2011 21:19, Jigal van Hemert pisze:
 On 4-8-2011 18:45, Ernesto Domato wrote:
 modified accordingly and I cannot automate the process. Instead, if I
 can flag the page on some way that I can exclude it from the site map
 block on creation, then it would be more flexible.

 I'm afraid it's not there in the standard TYPO3 configuration. You could
 make an extension to add such a flag to the page properties and modify
 the sitemap code to take your custom flag into account.

I'll add that this is what extension `tq_seo` (TEQneers SEO
Enhancements) does to provide choice whether a page should be excluded
from a sitemap xml file [1]. You might want to look at its source to see
how this can be done.

 [1] http://www.sitemaps.org/

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


[TYPO3-english] TYPO3.org extension repository and `t3blog`

2011-08-03 Thread Tomasz Melcer
Hello,

It seems that a search for `t3blog` on the extension repository page [1]
no longer works. Two days ago it listed `t3blog` and few other
extensions. Also, `t3blog` is no longer in the full list.

Is it a bug, or maybe someone pulled those extensions from the list?

Thanks for answers,

Tomasz Melcer

 [1]
http://typo3.org/extensions/repository/?tx_terfe_pi1%5Bview%5D=searchno_cache=1tx_terfe_pi1%5Bsword%5D=t3blog
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Plugin vs. Typoscript: which one goes first and how to change?

2011-07-27 Thread Tomasz Melcer
W dniu 25.07.2011 19:21, Christian Müller (Kitsunet) pisze:
 yes the code you posted is indeed the one responsible for changing the
 title, but if I am not mistaken it can only work if TYPO3 actually
 autogenerates the title, which is no longer the case if you do
 config.noPageTitle = 2.
 
 So an option is to add an extension template to that page that resets
 the title generation to default, so something like
 
 page.headerData.10 
 config.noPageTitle 

Thank you, that seems to be a valid work-around for me--I should
actually thought of that.

This will probably mean that I'll modify the source code of the external
pageset extension to append the company name to the title in those
titles too.

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

[TYPO3-english] Plugin vs. Typoscript: which one goes first and how to change?

2011-07-25 Thread Tomasz Melcer
Hello,

On my webpage I decided to turn off putting title element
automatically, because I wanted to automatically append company name to
page titles (/appending/ is my requirement):

#v+
// This suppresses generation of title/ element (see [1])
config.noPageTitle = 2

page = PAGE
page {
// [...]
headerData.10 = TEXT
headerData.10 {
field = title
noTrimWrap = |title| - CompanyName AB/title|
}
}
#v-

That works and I was happy. However, later I decided to use external
pageset plugin [2]. The setup is as follows: I've got a page with title
Online Manual, which contains this plugin (a content element) which
loads an external HTML file and displays its content. The plugin tries
to override page title with what it finds in the HTML file (in this
case: Design Overview), probably this way (I don't know PHP/TYPO3 code
very well, so I might be mistaken):

#v+
$GLOBALS[TSFE]-page[title] = $htmlTitle;
$GLOBALS[TSFE]-indexedDocTitle = $htmlTitle;
#v-

This doesn't work: the page title stays Online Manual - CompanyName
instead of Design Overview - CompanyName. I think this is because the
plugin code is evaluated after the part of typoscript which sets the
title--is this true?

My question: How can I make the plugin change the page title?

Tomasz Melcer

 [1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.5.0/view/1/6/#id2626485
 [2] http://typo3.org/extensions/repository/view/external_pageset/current/
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Workspace view: Mass-action for deleting changes

2011-04-13 Thread Tomasz Melcer
Hello,

Is it possible to mass-delete changes in Workspace view? After selecting
changes I can only choose Send to stage and Publish from the first
drop box, and the second one is inactive.

It seems I can discard all changes with the Discard option from the
second one, but I don't want that.

TYPO 4.5.0.

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


[TYPO3-english] Workspace view: make more change items visible?

2011-04-13 Thread Tomasz Melcer
Hello,

In the Workspace view, I can now only see 10 changes at the same page,
and more changes are visible on subsequent pages. Is it possible to
force showing more on one page?

TYPO 4.5.0.

Thanks,

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


[TYPO3-english] tq_seo, page only in one language

2011-03-21 Thread Tomasz Melcer
Hello,

I've got a problem with TEQneers SEO Enhancements. I use this extension
mostly for sitemaps.

I've got a tree shared between two languages: example.com and
example.se. RealURL is configured to translate these domains into proper
L= GET parameters.

Most of pages are in both languages, but there are few pages
(example.se/only-in-swedish/) which are only in one language. This is
done by making two checkboxes active: Hide default translation of page
and Hide page if no translation for current language exists. This
makes example.com/only-in-swedish/ return 404, which is a desired result.

My problem is that tq_seo puts both example.se/only-in-swedish/ and
example.com/only-in-swedish/ are put into the sitemap files.

How can I remove only example.com/only-in-swedish/ from these sitemaps?

I googled a bit, but found no information about this extension other
than official documentation, and that documentation just says it should
work. Maybe there are better ways to generate XML sitemaps?

Thanks,

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


Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomasz Melcer
On 14.03.2011 14:06, Tomas Mrozek wrote:
 Main disadvantage is that you're not able to use T3editor with syntax
 coloring...
 
 ...while the advantage is that you use full scale text editor with
 syntax coloring plus much much more. ;-)

Yes... as long as you have syntax coloring scheme. I found nothing for vim.

But for me it is still much easier to edit, I got so much used to vim
that I tend to write :wq everywhere.

Thanks for all your answers,

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


Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomasz Melcer
On 13.03.2011 23:24, Ivano Luberti wrote:
 If I have well understood you cannot have different templates in
 different sub trees? Do you mean that you have several TS files one for
 each template record?

My webpage isn't complicated enough for this to be required -- one 10kB
TS file, including lots of comments. But I imagine having multiple files
with page-specific TS included in relevant parts would be next step for me.

I also still use config editor for site-specific and page-specific
configuration.

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


Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomasz Melcer
On 14.03.2011 17:36, Tomas Mrozek wrote:
 Yes... as long as you have syntax coloring scheme. I found nothing for vim.
 ...
 I got so much used to vim...
 
 Plus one more reason to create your own coloring scheme then. :-) I know
 there's one for PSPad and Notepad++ so you can use it as a basis for the
 vim coloring scheme.

If I end up working more with TS, I'll probably do that.

Anyway, thanks for all the help.

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


[TYPO3-english] A note on frontend editing tutorial

2011-03-13 Thread Tomasz Melcer
Hello,

I just managed to get frontend editing working. I used a tutorial I
found googling [1].

There's one missing information there: `feedit` extension has to be
installed and loaded--it wasn't in my TYPO3 installation (I started with
an introduction package). It wasn't obvious to me, so someone could add
it to that document.

 [1] http://typo3.org/1215.0.html

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


[TYPO3-english] Typoscript in a file

2011-03-13 Thread Tomasz Melcer
Hello,

I am now writing all my TypoScript in a file, and my template record is
just including this file. This makes me easier to coordinate with
changes to html/css template, as I can keep everything in Subversion.

Are there any disadvantages of this method compared to keeping TS in the
database?

Thanks,

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


Re: [TYPO3-english] Modification of static templates

2011-03-07 Thread Tomasz Melcer
On 04.03.2011 16:53, Tomasz Melcer wrote:
 [...]
  * Monkey-patch css_styled_content in the places where it defines rules
 for specific elements.
 [...]

For the record: I went with this way. Specifically I added (among other
things):

#v+
tt_content.text.20.outerWrap (
  div class=contentbody|/divdiv class=contentend/div
)
tt_content.bullets.20.outerWrap (
  div class=contentbody|/divdiv class=contentend/div
)
#v-

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


[TYPO3-english] Modification of static templates

2011-03-04 Thread Tomasz Melcer
Hello,

I am using TYPO3 4.5.0.

My CSS design requires me to wrap contents of content elements (but not
their headers!) in something like:

#v+
  div class=c1
div class=c2 !-- header -- /div
div class=c3
  !-- here the content element contents --
  p.../p
  p.../p
/div
div class=c4 /
  /div
#v-

It currently looks this way:

#v+
  div class=c1
div class=c2 !-- header -- /div
!-- below: content, not wrapped into a one DIV --
p.../p
p.../p
  /div
#v-

I use css_styled_content, which defines how all the standard content
elements are represented in HTML. From what I see, it nicely wraps
headers in the same way for each standard content element. But I don't
see any easy way to do the same with the content itself.

I am thinking of few solutions:

 * Just edit the css_styled_content TS in the source code -- but I would
probably have problems when I'll be ready to update TYPO3?

 * Copy css_styled_content to a new record and ignore the standard one.

 * Monkey-patch css_styled_content in the places where it defines rules
for specific elements.

I feel I don't have enough experience yet to decide which one will give
me least problems.

Do you have any suggestions? Which way should I follow?

Thanks,

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


[TYPO3-english] Finding outdated translations

2011-02-24 Thread Tomasz Melcer
Hello,

I am using a 1-to-1 translation method (each content block is translated).

Is there any easy way to find out which translations are outdated, that
is: which of them have newer default language content? I'd love to be
able to show them in red in the Web-Info-Localization Overview, but
any way will be OK.

I googled a bit, but I couldn't find anything related to the content.
Somehow all the pages I got were about translating TYPO3 itself.

Thank you in advance,

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


Re: [TYPO3-english] Finding outdated translations

2011-02-24 Thread Tomasz Melcer
On 24.02.2011 20:47, Jigal van Hemert wrote:
 On 24-2-2011 19:46, Tomasz Melcer wrote:
 Is there any easy way to find out which translations are outdated, that
 is: which of them have newer default language content? I'd love to be
 able to show them in red in the Web-Info-Localization Overview, but
 any way will be OK.
 
 L10nmgr allows you to take care of translations in various ways. You can
 make translations directly or use several formats to export and import
 the untranslated or modified items.
 
 http://typo3.org/extensions/repository/view/l10nmgr/current/

Thank you, it makes translation much easier. Our website is not very
big, so the online translation feature will probably be enough for us.
And it actually has the feature I was looking for.

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


Re: [TYPO3-english] Automatic content upload

2011-02-22 Thread Tomasz Melcer
On 15.02.2011 15:57, Bjoern Pedersen wrote:
 Am 15.02.2011 15:38, schrieb Tomasz Melcer:
 I've got a set of static HTML files, and I'd like to put their contents
 into TYPO3 as separate pages.
 [...]

 I have used external_pageset for such an application,
 http://typo3.org/extensions/repository/view/external_pageset/current/

Thank you for your suggestions.

For me it is amazing that such an old extension still works with the
newest TYPO3.

For the record: The only problem I see now is that it uses few PHP
functions which are deprecated in PHP 5.3: eregi, eregi_replace and
split. For now I wrapped them in code to disable warnings.

I'll probably check other suggestions later.

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


Re: [TYPO3-english] Missing pages redirecting with code 303

2011-02-21 Thread Tomasz Melcer
On 16.02.2011 18:36, Tomasz Melcer wrote:
 I am trying to get 404 code working properly. I am using TYPO3 4.5 from
 the Introduction Package, which means RealURL and actually all its
 default settings too (I haven't had time to customize it yet).
 [...]
 But when I actually connect to the host, I get 303 and redirection:
 [...]

I found the reason.

It seems that TYPO3 tries to download a page from url given in
[pageNotFound_handling] (when using the simple string version),
using curl library.

In my case:

 * There was no php5-curl installed.

 * For security reasons my webserver had blocked outgoing connections,
and my domain resolved to an external IP. Therefore my installation
could not download a page from itself.

It helped to install php5-curl and add an entry mydomain - 127.0.0.1
in local /etc/hosts file.

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


[TYPO3-english] Automatic content upload

2011-02-15 Thread Tomasz Melcer
Hello,

I've got a set of static HTML files, and I'd like to put their contents
into TYPO3 as separate pages. Doing this manually will be cumbersome, as
this task will have to be repeated regularly (the HTML files are
generated from documentation of our product). Therefore I am looking for
a way to make this automatically, from a script which would create pages
and fill in columns with plain HTML elements accordingly.

I already have means to extract data. I am now looking for a way to make
automatic upload. I googled a bit, but it seems that my usual keywords
return nothing related to my problem.

What are my choices?

Does TYPO3 have any kind of remote API?

Should I think of writing a TYPO3 extension that would mass-create pages?

Thanks,

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