PayDay loans car insurance

Simpleology - nothing to do with Typo3

Written by newbie on Dec 23rd, 2007 | Filed under: Non-Typo3 Stuff

I have done some of simpleology’s courses, and they have a new one about blogging .. but I have to link to it to do it. So here goes the automatic link text…

I’m evaluating a multi-media course on blogging from the folks at Simpleology. For a while, they’re letting you snag it for free if you post about it on your blog.

It covers:

  • The best blogging techniques.
  • How to get traffic to your blog.
  • How to turn your blog into money.

I’ll let you know what I think once I’ve had a chance to check it out. Meanwhile, go grab yours while it’s still free.

End of automatic link text. I will let you know about it … when I get there…


Creating RSS feeds from your website content

Written by newbie on Dec 13th, 2007 | Filed under: RSS, The Story

If you are running tt_news and you want to generate an RSS feed from your content, the simplest one to use is incorporated into tt_news itself - but the manual is hard to understand.

For step-by-step instructions, try WEC’s “Set up an RSS fee for your news” tutorial.


When images/flash movies don’t show, or css doesn’t reference..

Written by newbie on Dec 13th, 2007 | Filed under: Bugs, The Story

NOTE TO SELF:

Don’t forget to check the path in the html.

It must start with a “/” - don’t hardcode, don’t “/../”.


Making TIMTAB work

Written by newbie on Nov 12th, 2007 | Filed under: Blogging, The Story

Many people have said that they have found TIMTAB to be a little complex to set up. I think the most complex thing is that it incorporates a couple of extensions, and it has to be done just right.

  1. tt_news and ve_guestbook (or other commenting system) need to be installed before TIMTAB
  2. It is not essential to use Kubrik, and that can be excluded from “include static from extensions” if you don’t want to use it

After installing TIMTAB, and following the instructions regarding including two instances of the guestbook plugin, I got a little lost because the next instruction was assuming you knew what to do with tt_news, and it is a while since I played with that … so I have forgotten it.


Couldn’t find a Data Structure set for table/row

Written by newbie on Jul 8th, 2007 | Filed under: The Story, templavoila (TV)

Back after a hiatus … to Templavoila 1.2.0 & T3 4.0.4, and errors!

I can’t remember what I was up to when I last posted (funny that … I mean, it’s only 10 months ago!! :S) But I think what happened was that I thought I would try to create an offline installation to play with, and then discovered that I was operating in different versions of both TV and T3, then got very busy with life, and Christmas, and then my two new daughters :) … and so just didn’t come up with a solution.

So .. now I am back and the first thing that happens is I lose my front end content … grrr. While searching for a solution, I found my own site :), and the language localisation solution that I found last year. So I went into the Data Structure XML to have a look and
check the XML was in the right format for language localisation.

I saved the XML, and then came up with this error.

(Then I found the solution to my first problem on Dmitry’s blog … only I had
already made this error happen :( )

TemplaVoila ERROR:

Couldn’t find a Data Structure set for table/row “pages:458″.
Please select a Data Structure and Template Object first.

My DS is there in list view and in TV view. I don’t get options to edit
header info or mapping with the tabs… I just get…

TemplaVoilà
Template Mapping

Template Object Information:
Template Object Details:
Template Object:     templatename[Template]
Template File:     fileadmin/templates/foldername/filename.htm
Data Structure Record:     DSrecordname

Error: No Data Structure Record could be found with UID “14″

And yet … I could find it in list :)

Oh well … just wouldn’t be Typo3 without *something* to confuse me :)


What I forgot to say about using Select Pro

Written by newbie on Nov 24th, 2006 | Filed under: The Story, tx_gstselectpro

I did forget a couple of things.

One is, even after selecting the starting point for the plugin, and pid’s to ignore, it didn’t do those things. I actually had to put the sysfolder with the queries into the branch of the website that the queries were for.

The other thing I forgot to say is that the stylesheet for the plugin rendering is actually in the same file as the template.


No, back to my original plan…

Written by newbie on Nov 20th, 2006 | Filed under: The Story, tx_gstselectpro

No, too involved, can’t be bothered. I am back to setting it up with TS template.

So .. I have gotten it to work.

First of all, a little explanation.

The tx_gstselectpro extension *can* be used as a flexible content element with templavoila - but only if it is the only instance in your whole site.

Otherwise it is better to call each instance as a lib.myObject, in order to configure it more accurately.

My typoscript looks like this (taken from the file gst_selectpro-1.0.0-ext_typoscript_setup__txt which is included in the extension download):

#latest artlicles teasers
lib.latestarticles < plugin.tx_gstselectpro_pi1
lib.latestarticles = USER
lib.latestarticles {

    // Set the administration parameters.
    debugSQL = {$plugin.gstselectpro.debugSQL}

    // Set the administration parameters.
    useResForTempl = {$plugin.gstselectpro.useResForTempl}
    useParseFunc = {$plugin.gstselectpro.useParseFunc}
    useStripTags = {$plugin.gstselectpro.useStripTags}
    unsetLastSeparator = {$plugin.gstselectpro.unsetLastSeparator}
    useContUid = {$plugin.gstselectpro.useContUid}

    // Set the query parameters.
    queryPid = 1121

    // Set the imgage directories parameters.
   directories {
          path = {$plugin.gstselectpro.directories.path}
          all = {$plugin.gstselectpro.directories.all}
    } // end directories

    // Set the css parameters.
    classTdBrowse = {$plugin.gstselectpro.classTdBrowse}

    // Set the parseFunc parameters.
    text_parseFunc {
    } // end text_parseFunc

    // Set the standard wrap parameters.
    text_stdWrap {
    } // end text_stdWrap

    image_stdWrap {
    } // end image_stdWrap

    date_stdWrap {
    } // end date_stdWrap

    link_stdWrap {
    } // end link_stdWrap

/* -disabled by default-
    // Change local language variables.

    _LOCAL_LANG.default.dateFormat = %A, %m-%d-%Y
    _LOCAL_LANG.de.dateFormat = %A, %d.%m.%Y
    _LOCAL_LANG.fr.dateFormat = %A, %d/%m/%Y

*/

}
NOTE: that I set the queryPid exactly for this lib.myObject, rather than leaving it as queryPid = {$plugin.gstselectpro.queryPid}My constants are exactly the same as the sample constants file, gst_selectpro-1.0.0-ext_typoscript_constants__txt. My constants are exactly the same as the sample constants file,Now, while it is possible to use the extension with TV, it is still necessary to create a template file containing the markers used by the extension for the data to render correctly.The extension includes three sample templates to give you an idea how to do it.

My constants are exactly the same as the sample constants file,Now, while it is possible to use the extension with TV, it is still necessary to create a template file containing the markers used by the extension for the data to render correctly.The extension includes three sample templates to give you an idea how to do it.The most important thing to realise is where the ###MARK1### etc comes from. It is essentially ###MARK[column_number]### from the column numbers you assigned to each one of the SelectPro Column Definitions as you created the query.

The template needs to be structured along the following lines:

< !– ###SELECTPRO_TABLE### –> 
<!– ###CONTENT### –>
<!– ###CONTENT_ITEM### –> <div>###MARK1###</div>
<div class=”###CSSCLASS2###”>###MARK2###</div>
<div class=”###CSSCLASS3###”>###MARK3###</div>
<div>###LINK###</div>
<!– ###SEPARATOR_ITEM### –>
<div><img height=”10″ src=”/clear.gif” width=”1″ ></div>
<!– ###SEPARATOR_ITEM### –>
<!– ###BROWSE_ITEM### –>
<div class=”###CLASSTDBROWSE###”>###BROWSEFROMTO###
###BROWSELINKS###</div>
<!– ###BROWSE_ITEM### –>
<!– ###CONTENT### –>
<!– ###SELECTPRO_TABLE### –>

There is probably something else I meant to include here, but it is too late … I will reread tomorrow and add whatever I forgot :)


Multiple Instances of SelectPro as lib.myobject

Written by newbie on Nov 20th, 2006 | Filed under: The Story, tx_gstselectpro

I have decided to try the SelectPro extension (the more flexible version of TopContent) to see if it solves my problems of creating pages with dynamic teaser text.

It is quite a complex extension, and of course I want to use it with multiple instances on a page, and it isnt templavoila enabled.

I was planning to try to set it up through the typoscript template, but as I start to write this I think - no, maybe I will create mini-html templates to hold the information, and call it that way… I shall try that, it will make things simpler. Then if it doesn’t work, I will be back to work it through in the TS template :)


The joys of understanding manuals

Written by newbie on Nov 16th, 2006 | Filed under: The Story

Typo3 has a wonderful array of extensions from which to choose, and I love the extensibility of the CMS - however the documentation for some of them is very difficult to understand at first read.

For example - in the tt_news extension, in the Category Settings sheet (tab) of the plug-in is the variable “Max number of categorys texts” (with a “clarification” in the manual of “category-texts (titles)”!)

Now, what the hang does that mean? Does texts=words? Or strictly texts=titles? How many titles does a news article have?

Having absolutely no idea, I may have to wait until I put some news in, and see what comes out! :)


tt_news: hardcoded labels in locallang.xml

Written by newbie on Aug 18th, 2006 | Filed under: The Story, tt_news

I have been customising the tt_news for my site, but having some difficulty changing the hardcoded labels in locallang.xml

I can do this successfully…

plugin.tt_news {
_LOCAL_LANG.default

{
textCatLatest=Spoke:
textCat=Spoke:
more=more…
textRelatedByCategory=Other news from this Spoke:
altTextCatSelector=Display only Spoke:
catmenuHeader=NewsHub Spokes
}

}

Which changes those values…

Or I can do this successfully…

lib.leftnav < plugin.tt_news lib.leftnav {                          
code >code = CATMENU}

displayCatMenu {
catmenuHeader_stdWrap.wrap =

|

mode = nestedWraps

 # wrap for the complete “catmenu”
catmenu_stdWrap.space = 3 | 0
catmenu_stdWrap.wrap =

|

# wraps for active or inactive category links in the tree
catmenuItem_ACT_stdWrap.wrap = |
catmenuItem_NO_stdWrap.wrap = |

# wrap for level “n”
catmenuLevel1_stdWrap.wrap =

|

catmenuLevel2_stdWrap.wrap=

|

}
}
catmenuIconMode = -1
}

Which wraps them the way I want successfully…

But I cant work out to combine them. I am sure it is something simple, but I have tried a number of things, and nothing has worked yet.

:(