Home » Custom lists
| Question |
|---|
| Q: How can I show country specific ads by default on the start page of my classifieds? |
|
|
Posted: 2009-08-09
|
| Q: If I change a scrollable widget to normal list, it disappears from the pages. Why? |
| If you change the 'List style' property of a custom list, it clears the 'Position' property settings, because the applicable Positions for Normal lists and Scrollable widgets can be quite different. If the Position property is cleared, the list will not be displayed on any pages. Make sure you set the Position property whenever you change the List style. |
|
Posted: 2009-05-15
|
| Q: My newly created custom fields don't appear in the custom list create form. Why? |
| The custom list create form actually has an “embedded” ad search form. So only those fields appear in it that would appear in the search form, too. When you create a new custom field, it’s “Show in the search form for” property is set to “none” per default, so it won’t be in the search forms and this way, and it won’t be in the custom list create form either! Set the “Show in the search form for” property to at least “admin only” and they will appear in the custom list create form! |
|
Posted: 2009-05-13
|
| Q: Is it possible that an is displayed in multiple categories without submitting it more than once? |
| No, there is no "multiple category" feature in Noah's and this can't even bee realized with some easy hack. What's more, to add this feature to Noah's would request quite a "deep" internal change of how it works now, so this feature can't really be expected for the near future. |
|
Posted: 2009-04-22
|
| Q: How can I add sidebars to my Noah's pages with some custom content? |
Noah's has currently no such feature with which you could easily define some arbitrary sidebar content. It only uses sidebars to display the content of those custom lists that you set to be scrollable widgets and set to appear in the sidebars. If you want some fix custom sidebar, one way to achieve it if you overrule this program behavior. E.g. you can enable a left sidebar by changing this section of layout.tpl.php:
<div id='outerMain' class='<?php echo $this->outerMainClass ?>'>
<div id='sidebarLeft'>
<?php $this->displayContent("customListLeft") /* inserts custom lists where 'On the left side of the page' has been selected in the 'Position' field */ ?>
</div>
<div id='main' class='<?php echo $this->mainClass ?>'>
this way:
<div id='outerMain' class='outerMain_twoSidebars'>
<div id='sidebarLeft'>
Some custom left sidebar content
</div>
<div id='main' class='main_twoSidebars'>
to enable a right sidebar only:
<div id='outerMain' class='outerMain_rightSidebar'>
<div id='sidebarLeft'>
</div>
<div id='main' class='main_rightSidebar'>
...
<div id='sidebarRight'>
Some custom right sidebar content
</div>
to enable both sidebars:
<div id='outerMain' class='outerMain_twoSidebars'>
<div id='sidebarLeft'>
Some custom left sidebar content
</div>
<div id='main' class='main_twoSidebars'>
...
<div id='sidebarRight'>
Some custom right sidebar content
</div>
All of these sidebar layouts have been achieved by CSS positioning using the main_withoutSidebar, outerMain_withoutSidebar, main_twoSidebars, outerMain_twoSidebars, main_rightSidebar, outerMain_rightSidebar classes which you can access in the layout.css file. Of course, you can create a new layout with a complete revise of the HTML of the layout.tpl.php file, too! E.g. a less elegant (but according to some, much simpler) realization of a sidebar layout if you use a TABLE tag with three TD-s and you put the left sidebar content in the first TD, all the Noah's content in the middle TD and the content of the right sidebar in the third TD. |
|
Posted: 2009-04-22
|
| Q: If I log in as admin, I can see a scroller box that displays ads, but it's not visible for the non logged in users. |
| The thing you can see is a scrollable widget. Scrollable widgets are a special style for displaying the content of custom lists. You can access the custom lists by clicking on 'Control Panel' > 'Custom Lists'. The install (or update) script creates some custom lists there purely for demo purposes. You can delete them if you don't need them. One of them is called 'Featured ads: gold level'. If you open its modify form, you can see that it has been set to be displayed as a scrollable widget and it's 'Display for' property has been set to 'admin only'. This is why it's only visible for admin. The thing you can see is a scrollable widget. Scrollable widgets are a special style for displaying the content of custom lists. You can access the custom lists by clicking on 'Control Panel' > 'Custom Lists'. The install (or update) script creates some custom lists there purely for demo purposes. You can delete them if you don't need them. One of them is called 'Featured ads: gold level'. If you open its modify form, you can see that it has been set to be displayed as a scrollable widget and it's 'Display for' property has been set to 'admin only'. This is why it's only visible for admin. |
|
Posted: 2009-04-22
|


