Register   Login
     
  Latest Posts  
RE: Location Search
by rodneyjoyce on 12/02/2008 2:25 AM
RE: Lightbox not working on 2.04?
by wallacea on 12/02/2008 12:31 AM
RE: Lightbox not working on 2.04?
by smcculloch on 12/02/2008 12:20 AM
RE: Facebook-like Tagging People in Pictures...
by swebster on 12/02/2008 12:13 AM
Lightbox not working on 2.04?
by wallacea on 12/01/2008 11:45 PM
News Article css
by daviking on 12/01/2008 7:04 PM
RE: File Expiration Date
by jcochran on 12/01/2008 6:35 PM
RE: Set default value
by mariusm on 12/01/2008 6:29 PM
New Module - File Search
by jcochran on 12/01/2008 6:21 PM
RE: Display Name
by blob150 on 12/01/2008 3:07 PM
  Forums  
Subject: "Latest" template customization question
Prev Next
You are not authorized to post a reply.

Author Messages
Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


2/19/2007 6:21 PM  
Scott,
Just getting my teeth into customizing the template and run into a issue of extra code in the 'latest' template.

First, you have declared class="RealEstateLink" twice in the link - minor issue.

Second, when I use this template the code is being modified.  (attached in case)
My template:

//header

[EDIT]Latest Properties




   
   
   
   



//item


   
   
   
   




//footer

   
   
   
   

StateTitleOverviewlink
[EDIT]
[CUSTOM:STATE]
[CUSTOM:TITLE][CUSTOM:Introduction]Full details
LocationTitleOverviewlink


I get this result...

Latest Properties
 



 
 
  
  
  
  
 
 
LocationTitleOverviewlink


 
 
  
 
 
  
  
  
  
 
 
 

  
NSWthis is the adressThis house has three garagesFull details

    Location
    Title
    Overview
    link

Attachment: latest.zip



Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


2/19/2007 7:01 PM  
What is the issue with latest properties, you've posted the html?

Scott McCulloch
Site Administrator
Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


2/20/2007 9:41 AM  

The attachment shows both the template and the output. The output has been reformatted with extra table data which;

a) Generates non-compliant code and,

b) Reduces my ability to control the appearance. (ie the headers won't line up with the data.)



Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


2/20/2007 7:00 PM  
You are right, it does wrap it in a table (datalist to be exact) to allow customizations such as repeat items per row.

You'll probably need to work int he constraints of the table.

Scott McCulloch
Site Administrator
Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


2/20/2007 7:05 PM  
I see - nested repeating would be a challenge.

How about a "simple" template option so we can regain full control over the template? Naturally some features would be sacrificed in this mode.


Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


2/20/2007 7:11 PM  

Particularly for the "latest" feature I would want to be able to control clean divs etc to perform some glossy JS transitions etc.

This is the direction I'm heading with this... http://www.brandspankingnew.net/specials/crossfader/bsn.Crossfader.html 



Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


2/20/2007 7:15 PM  
What I'm doing for News Articles Latest is to have an option for layout, you choose either a DataList or a Repeater, if you choose datalist you can specify repeat direction, size, etc.

Repeater would remain very simple.

Scott McCulloch
Site Administrator
Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


2/20/2007 7:19 PM  

Sounds like what I need.

Now the ever present and nagging "when-ish?" question.



Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


2/20/2007 7:22 PM  
I'll put it in with the agent enhancements. (i'm about half way through)

Scott McCulloch
Site Administrator
Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


3/07/2007 11:54 AM  

Hi Scott.

Good work getting 1.2 out!

You mentioned having the option for simple layouts but I haven't found the setting: where should I be looking?

Also, how can I manage what properties belong to what users?  IE the receptionist is going to be adding listings but they need to belong to the agents.

Lance



Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


3/07/2007 4:30 PM  
"Also, how can I manage what properties belong to what users? IE the receptionist is going to be adding listings but they need to belong to the agents."

A property belongs to the user who submitted it. You can assign submit permissions to any role.

I'll re-look at the repeat layout..

Scott McCulloch
Site Administrator
Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


3/07/2007 4:47 PM  

Re: record ownership

I ran into this with the news articles too.  Can Host have control over who owns what? 

Rational: I have employees adding old artilces on behave of clients and then the client doesn't get listed as the author. This would also help when people leave the company etc.

Lance



Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12548


3/07/2007 7:47 PM  
Yep, I wish there was some internal DNN control for selecting a user. If I use a dropdown it could have 1000s of users in it which wouldn't be really practical.

I think the latest documents module uses something that I could use.

Scott McCulloch
Site Administrator
Lance LongUser is Offline
Gold Membership
Nuke Wiz
Nuke Wiz
Posts:132


3/22/2007 6:54 PM  
sorry to bug but... any luck with the simple layout feature?


You are not authorized to post a reply.
Forums > Modules > Property Agent > "Latest" template customization question



ActiveForums 3.7