Untitled Document
 
 
Forums
Subject: Using application, view, display
Prev Next
You are not authorized to post a reply.

Author Messages
Swampboy
Posts:3

05/25/2007 7:10 AM  
I just started yesterday w/MB and was indeed able to crank out a first module in about 5 minutes. However, I'm confused about the configuration once the PA is installed on the site.

I created "Bibliography" so MB set me up with 3 modules: Bibliography, BibDisplay and BibView. I've searched through the tag doc and the user guide, but haven't found anything explaining the configuration of the PAs other than tags.

My assumption is that the first module (Bibliography) is primarily for administration, display for list or cat view and view for detail view. That may be incorrect assumption, so please correct me there too.

They way I have to display it, however, is to have Bibliography and View on same page in order to drill down. I'm sure it's pilot error but for the life of me i can't figure it out.

I have it set to public portal. I want to be able to have a list or category view of items, drill down on Title, etc, and have it display the detail.

How is this accomplished?

Looking forward to using this module!
Tj
host
Posts:93

05/25/2007 7:22 AM  
Yes the workding is a bit confusing until you understand their functions.

The 3 modules are interactive.

Bibliography will return all records and could be used for record selection/navigation or simply to display the information in a templated format.

ViewBibliography would display the add form on the page and would respond to a selected record from the main module

THe Display Bibliography would display a single record in the format specified by the template, and responds to a selected record in the main module.

If you put all three on a page and use the {SelectLink} tag in the main module, when selected the other 2 modules will respond accordingly.
Swampboy
Posts:3

05/25/2007 8:36 AM  
Posted By host on 05/25/2007 7:22 AM
Yes the workding is a bit confusing until you understand their functions.

The 3 modules are interactive.

Bibliography will return all records and could be used for record selection/navigation or simply to display the information in a templated format.

So this is what I'd use for list items or category listings?


ViewBibliography would display the add form on the page and would respond to a selected record from the main module

So this is for admin purposes not to be used as "detail view" per se? In other words, unauthenticated user drills down on record from listing in the first module, they don't land here, they land in Display?

THe Display Bibliography would display a single record in the format specified by the template, and responds to a selected record in the main module.

"responds to a selected record in main module" is where I"m having difficulty i think. I tried the selectlink tag, but unless it's on the same page it won't work, and if on same page, the item listing from first module still exists, so that both display and main are on page. I want the effect of having list items, and single record when drilled down on.


If you put all three on a page and use the {SelectLink} tag in the main module, when selected the other 2 modules will respond accordingly.

I'll try again w/all three and see if it makes main not visible. I "think" that I accomplished something like that yesterday, but i was just trying various settings to see what happened and can't recall.

Does this mean that I can't have Display on another page as main?

Thx,
TJ
host
Posts:93

05/25/2007 9:10 AM  
The three modules and tags are meant to work on the same page, however they respond to the querystring so could be used on different pages, you just need to build the links as opposed to using the tag links.

"Does this mean that I can't have Display on another page as main?"

Not using the {selectlink} tag, because it posts back to the same page. YOu could use a hyperlink in your template to go to a different page that holds the display module and it will respond to the querystring variable.

Watch what happens when there on the same page and you should be able to mimic the functionality to navigate to a different page.
Swampboy
Posts:3

05/25/2007 9:47 AM  
That makes perfect sense on hyperlinks. Is there a way to configure the main module so that it doesn't appear after post back, as when editing?
host
Posts:93

05/25/2007 10:01 AM  
There is not, but that wouldn't be difficult to do. I will put it on the feature request list.
You are not authorized to post a reply.
Forums > Module Builder > How Do I? > Using application, view, display



ActiveForums 3.7
 



Join Now!

 
 
Copyright 2007 by SoCanI
Privacy Statement  Terms Of Use