This forum is for churches and ministries using Web-Empowered Church tools or packages. If you are a WEC customer, please submit a ticket. If you are reporting a bug with one of our plugins, please email us. If you are a business entity and want help that you cannot find here, please look at our services.

Notice: we are using new forum software and most messages from last 2 years were transferred. If you had an account before, please login to post a message on the forum.

Unanswered topic

connector - categories


Author Message
Written on: 11/09/2011
Steve Spilker
registered since: 03/24/2009
Posts: 6
Hello all,
.
I'm trying to setup a business listing for my church, much like the one found at http://ginghamsburg.org/businessdirectory/, using categories. I've created a new
listing page and a Storage folder under it. Added the wec_connector plugin to the page and added an +ext template record on the listing page, including the wec connector template. On the Display tab of the plugin I selected Business Listing. This is a new Typo3 4.5.7 install based off the 4.5.4 WEC starter package. I've added 33 categories to the storage folder. I've read the current docs on Typo3, the forums here (about the connector (prayer and otherwise). Here is where my problems start.
.
If I set the Startingpoint on the main tab to the storage folder, I get a reasonable output page with 34 buttons for categories and have added a couple of test entries (which show up in the storage folder and on the page). But the categories do not show on the plugin main tab (only the default 'No Categories' entry).
.
I could almost live with this, but I want the categories to show in a Dropdown combobox on the page, not as buttons. And the default form to add a new "business listing" does not allow the selection of a category for the new entry. The page source shows the following two lines in the head section (almost the last before the body tag).
.
[code]<link type="text/css" rel="stylesheet" href="typo3conf/ext/wec_connector/template/wecconnector.css" />
<link type="text/css" rel="stylesheet" href="typo3conf/ext/wec_connector/template/wecconnector-businessdir.css" />[/code]
.
If I copy the entire contents of the typo3conf/ext/wec_connector/template folder to fileadmin/config/wec_connector (new folder) to allow for template and css mods, things start to go bad. I select the Template file on the main tab to the wecconnector-busdir.tmpl in the new folder and then (clear cache) display the page and it shows the Choose Category: [View All] combobox (with all my records) and the Category that I manually assigned to my test "businesses', which shows as 'Computer Services', but the actual data from them is not displayed.
.
I have tried copying the constants.txt and setup.txt values from the extension folder into the template, adjusting the values to point to the base, css and template files. This did not help. The css file from the extension still gets included after the one from the fileadmin/config.
And the wecconnector-busdir.tmpl only shows a reference to ###CHOOSE_CATEGORYDROPDOWN###, which is what I want, so how come the default setup shows all the categories as buttons?
.
I'm really at a loss here, so any help would be appreciated greatly!
.
I'm testing this on a server at home, so if anyone wants/needs to take a look: http://spilker.dyndns.org/typo3. Backend login is test / test
The page is under Members Only/Business Listings
.
So, questions I need help on:
how to setup a page with custom template/css files.
how to get the template to display a dropdown category (not buttons) for display and
how to add a category dropdown for selection into a new connector entry
.
Thanks and regards,
Steve Spilker


[This article was edited 5 times, at last 09.11.2011 at 20:37.]