Register   Login
     
  Latest Posts  
Catcha doesnt seem to work
by chaloum on 3/20/2010 8:16 PM
RE: Recently created articles are not shown in list
by atriage on 3/20/2010 10:15 AM
RE: Recently created articles are not shown in list
by spirit on 3/20/2010 10:08 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
  Forums  
Subject: Building 2 seperate property agents
Prev Next
You are not authorized to post a reply.

Page 1 of 3123 > >>
Author Messages
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


6/15/2009 8:46 PM  

Scott,

I am building at work a property agent which I used the CARS template, and modified the layout.  One if the issues I am running into, is I need to have 2 seperate templates, which will host different information on both of them, but I want to share some info from 1 of them, with the other.


More info for my issue:

There are 3 fields that are going to display from the #2 property agent, which I believe creates a seperate table/database to store that info for that specific cluster of fields.

I need a way to connect this info from the #2 property agent, and display those fields, along with all of the #1 property agent fields.  So it actually pulls the info from #2..  Is this possible?

Thanks,
Adam

 


Adam Jones
http://www.japanbases.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/16/2009 8:07 AM  
You can only have 1 template per module at the moment.

Some people get around this by having 1 template cover both sets of custom fields and use the expression token to conditionally render what they need.

Scott McCulloch
Site Administrator
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


6/16/2009 10:26 AM  

Scott,


Thats great news that I will be possible to use some of the fields through tokens.

My situation is I have already built 1 template so now I just need to migrate all the additional fields that I was going to have its own seperate template/property agent, which will now all be in 1.  It will be still 2 different property agents installed on 2 seperate pages, but will host the same template for both, which I can just turn off the fields I dont need in my second agent I will use.  That wont cause any issues with the first property agent will it?

I will reach the expression tokens at a later time if I run into any problems.  Atleast I know what I need to accomplish for adding the additional fields.

I have to say, I went almost 3-4 months trying to create a plan for how to accomodate a solution for a project I was in.  I know have been working with property agent for the past few weeks, and it has been truly remarkable! This product is by far the best building platform to host any and all needs.  If anyone is developing anything, think if property agent can scale into your solution, because it probably can.  Yes, it is "named" "property agent" but if anyone clueless or hasnt jumped into learning this, they are a fool.  Its so much more than just a housing/car/card template platform.  I wish I could just show the template I am using to accomodate this data I am hosting, and the way everything has come to look.  With having a template, its your vision that the world sees, and Scotts framework, allows you to accomplish, pretty much anything you can dream up.

Thanks again Scott,
Adam


Adam Jones
http://www.japanbases.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/17/2009 7:56 AM  
Yep, you would need to turn off fields based on other custom fields, e.g. type.

Note, this only applies to the view, listing screens etc. All the custom fields would display on the add new property form.

Thanks for the kind words about property agent, that was the intent.

Scott McCulloch
Site Administrator
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


6/18/2009 9:46 PM  

Scott,

So I have been getting the 2 property agents configured.

I imported the template I have for property #1 to property #2.

On my property #2 I turned off all the custom fields that were in the template.

I am already building the new custom fields into the property #2 so it matches with the information I need. 

You mentioned about the expression, so should I go into my new #2, and go to one of the fields I just turned off, and turn it back on?  There is a field for REQUIREMENT DETAILS, which has a "Validation Type: (Regular Expression)" which then drops a new field down.  Is this where I should add in the expression, or should I do it on the Edit Layout Files pages?  I feel like it would make more sense if I did it straight from the page layout, because I would have more control with the look and feel, I just an not sure how to write the expression to pull from my #1 property fields and display on the #2.

Could you give me an example expression I would use to display from 1 property to another?

Thanks,
Adam


Adam Jones
http://www.japanbases.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/18/2009 10:23 PM  
[EXPRESSION:FieldName:=:Something]

-- Display Html --

[/EXPRESSION:FieldName:=:Something]

You can only apply them in the layout templates.

Scott McCulloch
Site Administrator
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


6/24/2009 5:22 AM  

Unfortunately the building of 2 seperate instances of property agent installed on 2 different pages will not work.  Just so every one understands, once you have 1 property agent installed, that is exclusive with that database and permissions only.  You can now retrieve specific information and display as CUSTOM:XXX field onto a different property agents display...  This was my requirement, but from what I have looked through, and from Scott's email, its not possible..  I was able to complete my task, and was able to build a pretty solid application out of the property agent.  They are 2 seperate instances, and just limited the fields to displaying the information in 2 different places.  Although from a custom menu across the top, I was able to pretty much mimic the 2 seperate instances, and have it display like its really 1 application all grouped together.  I really didnt piece together all the things that you could do with this application, and my mind is now working 1000x an hour to figure out what I am going to build next.

I actually was planning to build a massive directions database for users to retrieve different places they plan to visit and from different locations.  I think I may actually use this property agent, which will allow some registered users to (edit) the direction information, which I will later approve. 

Pretty awesome stuff...

Anyhow, Scott, if you are able to figure out a way to retrieve data from the same PORTAL, but having 2 separate instances of Property agent installed which you could use some type of path, I would be very interested in this.  I actually go fix the above work I did, and try to piece some of the info from 2 pages to 1..  It would really help out.

Thanks again..


Adam Jones
http://www.japanbases.com
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


6/30/2009 10:59 PM  

Scott, I know you said before it was impossible for collecting data amongst 2 seperate instances of property agents with 2 seperate templates on the same portal.  My question is if there was a way to include a token, which could pull, (propertyagentid;customfield) from one and display on another one.  I really wish I could use data amongst 2 seperate databases, because I am planning to use it to compile a lot of information.  I just wish I could use the information together, vice updating things in both places.


Adam Jones
http://www.japanbases.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


6/30/2009 11:05 PM  
How would you specify what property it links to in the other instance? You would almost need to hardcode it?

Scott McCulloch
Site Administrator
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


6/30/2009 11:33 PM  
Well my types are not going to change once I create them, so I could definitely hard come it from the backend, because all that will be doing is updating the custom:fields. I just havent had a way to reference both of them to use the information together.

Adam Jones
http://www.japanbases.com
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/01/2009 8:00 AM  
I wasn't talking about types, I was talking about properties.

e.g. if you have a property (somehow) you want to link it to another property I think? And than pull out a custom field?

It's not something that I would be implementing in the short term.

Scott McCulloch
Site Administrator
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


7/01/2009 4:32 PM  


Yes your right, it wouldn't be on a specific type, it would be a property which it would have to pull from, and because those are possibly changing /adding/deleting (in my case they are static, I wont be removing them, because I will use it more as a status board), but it would have to pull information from one field, and somehow link a 2 specific fields from 2 different agents together.  So if I had 2 different agents.  Both displaying a schedule for something.

First agent would have a custom field called: Movie

Second agent would also have a custom field called: Movie
Second agent would also have additional custom fields which I would need to pull into the agent 1.

Would there be a way, since both agents have the same similar Movie field, to have a statement written which would first verify the Movie field, and if that matched, it would pull the additional custom fields that I specify as the fields I want to display from 1 to another. 

I think the only way you could branch 2 together, would be a way to have 1 field that is completely similar amongst both instances of the property agents.  In my case it is, because both instances are discussing the same topic, I just have so many things I am trying to pull, and because they are so unique and different, I had to separate them.

I hope there is a way to make this possible, because I really think it could extend the app to 10x more opportunities and things it could provide.

I was also thinking about making something to display sports scores.  In this case, you would have to have a field called: PLAYER and a second instance of property agent with PLAYER.  one would be able to display a list of each player with stats, and the other instance would be the teams history, schedule, etc...  It would be awesome to tie something like this amongst each other, vice having just 1 status that only does 1 function.  With only 1, it would mean, you could list the schedule for the teams, and it would work great, but if you wanted to go into a detail few for that team, it would also be nice to display some stats, or information about the key players, or players that have certain highlights each week.

This could be done with so many functions, but if there is no way to have them communicate with each other, it limits the things it could provide.  Hope this made more sense explaining / understanding what I am trying to achieve.

Thanks again.

 


Adam Jones
http://www.japanbases.com
Kevin HudsonUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:14

7/07/2009 4:46 PM  

How about modifying the Propery Agent PA so it installs itself as another Module name in a separate set of Directories like Property Agent2, Propery Agent3 etc, so each of those separate Modules could run a different Template.

Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


7/07/2009 8:34 PM  

I dont know what you mean by using a different template.  All of the property agents allow you to have a new template when you add a new module to a page.  That is actually one of my dilemma's.  I am trying to use 2 seperate agents installed on 2 seperate pages, but use the information amongst both agents CUSTOM:fields.  Its a very complex issue when you try to track each and every CUSTOM property, espically if you are adding more and more types or new instances of a property to the system.  I thought about this for a while, and if you read a previous post I had dealing with the sports teams, and having another way for the tracking of their stats, I definitely think this module could be used for so many more purposes.  I could think of millions of things it could be used for, if I could get the information to be shared amongst 2 different agents.


Adam Jones
http://www.japanbases.com
Kevin HudsonUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:14

7/09/2009 4:03 AM  

I just purchased a Module called Property Agent Linker. Might do what your wanting to do.

http://www.snowcovered.com/Snowcovered2/Default.aspx?tabid=242&PackageID=13658

Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


7/09/2009 4:23 AM  
Wow thank you Kevin! I am shocked! I hope it does what it says it can do. Scott do you have any experience with this product or can provide feedback on it? If this was capable to do, couldnt this be implemented into the PA build? I will get the product anyhow, and test it. If it works, I will let the forum know for future visitors.

Adam Jones
http://www.japanbases.com
Kevin HudsonUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:14

7/09/2009 4:55 AM  

I just tried to load it and it's telling my a couple files are missing out of the Zip File. I've e-mailed the company and sent them a screen shot. I think they forgot a couple files in the build.

Let me know if you have any better luck than I do.

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17204


7/09/2009 7:27 AM  
I haven't used this module, so I can't comment.

Scott McCulloch
Site Administrator
Adam JonesUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:326


7/09/2009 11:04 AM  
Kevin, I have also contacted them from their website with a few quesitons. I went through their demo with PA Linker, and I thnk this product could work and basically compile a lot more information about something, and possibly bring in 2 or 3 PA Linkers to a page to display more information about the product.

Like my example above with sport scores, this could display 1 with all the info for the team, 1 for the info on the players, you could link directly to an indivdual player, and it would go to his stats. Its so universal you could go on an on, possibly with a total of 4 modules on 1 page. There would still be 4 different PA's installed on your website it looks like to me, but you would use 3 PA Linkers on a page, to pull those other 3 PA information to 1 specific page to reference.

In my mind I see it working, I just need to test it out with their product first. I think this might be a little easier to display vice custom:fields wrap into another PA's custom:fields. Of course the original thought I had, would make the layout of the page display nicer, but still you could get all the DATA you want, with PA Linker. Hey at this point, its all we have, so in order to fulfill a request I was given to build something, it may actually work.

Will keep you updated.

Adam Jones
http://www.japanbases.com
Kevin HudsonUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:14

7/09/2009 12:47 PM  

I got a e-mail reponse telling me he's going to be on vactaion until 07/14/2009, so I guess I'll just have to wait.

You are not authorized to post a reply.
Page 1 of 3123 > >>

Forums > Modules > Property Agent > Building 2 seperate property agents



ActiveForums 3.7