Beginner Needs Help!!
Permalink Browser Info Environment
Hi guys and gals,
Hoping someone could help me with an example of the code that goes in both list and detail pages.
I just want to display some basic data in my list and a link to the detail page, thats it!
Have got as far as displaying my list (although validation gives me errors and warnings, seems to work anyway).
Need this done quite quick, so no time to learn XML, will pay for help if need be.
Hoping someone could help me with an example of the code that goes in both list and detail pages.
I just want to display some basic data in my list and a link to the detail page, thats it!
Have got as far as displaying my list (although validation gives me errors and warnings, seems to work anyway).
Need this done quite quick, so no time to learn XML, will pay for help if need be.
Type: | Discussion |
---|---|
Status: | New |
Hi premapix,
This produced similar results as I had, but thank you very much for the guidance.
One problem with the table code....I get the table headings repeated for every listing...
Next I was hoping to:
- Put sort filter at the top of the listing
- Put a search box at the top of the listing
- Link List to Detail Page
This produced similar results as I had, but thank you very much for the guidance.
One problem with the table code....I get the table headings repeated for every listing...
Next I was hoping to:
- Put sort filter at the top of the listing
- Put a search box at the top of the listing
- Link List to Detail Page
Put the table header code in the List Template Header. For example...
Header:
Then in your List Template Content, just put a single row:
And in the List Template Footer, end the table:
The other settings you mentioned (sorting, adding a search box) are controlled in the blocks settings.
Header:
<table> <tr> <td>Column 1</td> <td>Column 2</td> </tr>
Then in your List Template Content, just put a single row:
<tr> <td><field name="Whatever" /></td> <td><field name="Whatever" /></td> </tr>
And in the List Template Footer, end the table:
</table>
The other settings you mentioned (sorting, adding a search box) are controlled in the blocks settings.
Wow, that worked a treat, I can even link to the detailed page, easy!
Now figuring out how to style a table but that should be straight forward:
Seems to be inheriting ugly styling
- any reccomendations on CSS? is there a default CSS or should I create one? if so where should I store the table.css file? (actually looking for this for the whole site, I cant seem to get rid of those ugly tables
- Any suggestions for avoiding a full page reload? My detail page is ONE subpage from listing...
Now figuring out how to style a table but that should be straight forward:
Seems to be inheriting ugly styling
- any reccomendations on CSS? is there a default CSS or should I create one? if so where should I store the table.css file? (actually looking for this for the whole site, I cant seem to get rid of those ugly tables
- Any suggestions for avoiding a full page reload? My detail page is ONE subpage from listing...
Display data on detail page.
I am trying to do this but it defaults to current page all the time. Any ideas?
I am trying to do this but it defaults to current page all the time. Any ideas?
In the Data Display block's settings you have the option to specify what page the details are shown on.
Shouldn't need too much XML in here apart from the tags that you insert in from the plugin.
Suggest these steps:
1. Create your fields
2. Create some records with some junk data
3. Go to the list view and in the content space put some fields from
the placeholders -- just the fields
4. Save This should give you a list of field values when you look
on the page where the content has been inserted
5. Build HTML around these values
SAMPLE:
Suggest post back if you want more help -- we'll monitor the thread
Prema