Need help with a layout issue Options
Ewatkins
Posted: Friday, October 31, 2008 2:48:31 PM
Rank: Aficionado

Joined: 10/8/2008
Posts: 106
Location: Virginia
I am very new to umbraco (less and 1 week) and I am picking up some stuff thanks to many of you in here, I have another quick question. I am rebuilding a realestate website and am setting up the listings now. The way the listings are set up is like this: http://kristahubbard.com/listings.aspx (that is the exact page I am replicating she wants to manage her own content so we are using umbraco) now I have all of the aspx code set up from that site, now this is where it gets tricky. How can I set up a way where she can go to the listing in the back end, upload a big picture and 2 smaller pictures, have them go where they need to, have the content she writes appear next to them in that manner? I already know how to get it to show up on the parent listing page, I just need to figure out how to set something up to make it easy for her to go in and add a listing if she needs. please help me.
nwahlberg
Posted: Friday, October 31, 2008 6:43:25 PM

Rank: Devotee

Joined: 10/20/2008
Posts: 83
Location: USA
To get you on the right track....you could use a separate Document Type to accomplish this. Creating one called RealEstateListing that contains media pickers for the pictures and all the other various required fields should do it. Then, you can use XSLT to display the listings in the layout you currently have. Although this has different attributes, this is very similar to outputting news items and other lists of objects.

Make sense?

Best,
Nik

Level 1 Certified / www.scandiaconsulting.com
Ewatkins
Posted: Friday, October 31, 2008 6:45:20 PM
Rank: Aficionado

Joined: 10/8/2008
Posts: 106
Location: Virginia
makes a little sense, im confused as to how I will make the layout all work. I know in theory I need to pick the big image, pick the 2 smaller images, and write the content, but I dont know how to make all of that go into a template and work..
Ewatkins
Posted: Friday, October 31, 2008 7:29:16 PM
Rank: Aficionado

Joined: 10/8/2008
Posts: 106
Location: Virginia
Also I used an uploader with the media picker, but when I upload and save it and then use the picker, the uploaded image is not shown in the picker, what am I doing wrong?
nwahlberg
Posted: Friday, October 31, 2008 7:37:28 PM

Rank: Devotee

Joined: 10/20/2008
Posts: 83
Location: USA
Ewatkins wrote:
makes a little sense, im confused as to how I will make the layout all work. I know in theory I need to pick the big image, pick the 2 smaller images, and write the content, but I dont know how to make all of that go into a template and work..


I think you will need to take a closer look at how all these things fit together, using templates, macros, and document types. In essence, you would create the document type (and configure all its properties) create an associated template, and then use either a .NET User Control macro or (the preferred method to do what you are trying to accomplish) an XSLT macro to display the data from the content tree. Take a look at the various "books" here:

http://www.umbraco.org/documentation/books

Let us know if you run into any road blocks.

Cheers!



Level 1 Certified / www.scandiaconsulting.com
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.