PDA

View Full Version : How do I ???


Graham
08-25-2004, 02:25 PM
Hi,

How do I find someone to place my database into a CMPS Module I have tried to post a ticket and email Brian but all has failed :(

Can anyone point me in the right direction, I will pay!!

Regards

Graham

Brian
08-25-2004, 06:01 PM
What do you mean by place your database into a CMPS module?

Our Sponsors
 

Graham
08-26-2004, 05:07 AM
Hello,

Sorry if I sound dumb!!! but I would like my database to open up in a page made with CMPS, how can I do this?

http://www.nield.com/old_index.php?ID=1

KW802
08-26-2004, 09:37 AM
Hello,

Sorry if I sound dumb!!! but I would like my database to open up in a page made with CMPS, how can I do this?

http://www.nield.com/old_index.php?ID=1
Graham,

Assuming that you want that exact same one to be on your new page then it'll be pretty easy. The current one in that link you gave is using an IFRAME tag to encapsulate the database inquiry. An example module to do the same thing would look something like.....<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">

<tr>
<td class="tcat">
<span class="smallfont">
<strong>$vba_options[portal_blockbullet] $mods[title]</strong>
</span>
</td>
</tr>

<tr>
<td class="$getbgrow" width="100%">
<IFRAME SRC="http://search.infocasa.com/AGSAB/search.asp?idZona=1-3-" width="780" height="400" frameborder="0" scrolling="auto" MARGINWIDTH="0" marginheight="0"></IFRAME>
</td>
</tr>

</table>
<br />

Bear in mind that you may have to play around with the dimensions of the IFRAME (the "780" & "400" parts) in order to get it to match the look of your new module but you should be good to go with that as a starting point.

Our Sponsors
 

KW802
08-26-2004, 09:51 AM
Just in case you're not familiar with creating new pages.... Create a new custom adv_portal_... template and copy & paste the above template into it. For our example let's call it "adv_portal_search". Choose "Add Page" from your vBa CMPS control panel. Give the page title what ever description you want to use. For the "Page Identifier" value give it a unique value that represents what the page is. See the description for an example of what the results will look like. For our example let's call it "search". In the Page Template value give it the name of the new template that you created (adv_portal_search). Choose what other modules you want to display on the page. For something like this I'd recommend leaving your left column turned on and turning off everything in your right column and center column except for the "Custom Page Content" module. Unless you know you need to change something everything else on the page can remain at their default values. To view your new page visit the URL http://www.nield.com/index.php?page=search (or whatever name you may have called it).

Let us know how it goes.

Graham
08-26-2004, 01:15 PM
Wow! thanks for that, easy when you know how!!

Have a look http://www.nield.com/index.php?page=search

KW802
08-26-2004, 01:28 PM
Wow! thanks for that, easy when you know how!!

Have a look http://www.nield.com/index.php?page=search
:cool: It's one of the reasons why like vBa CMPS so much, it allows somebody to create custom pages in a matter of minutes with little effort.

I noticed that your module wasn't showing, don't forget to make sure that the Custome Page Template module is enabled in the module properties settings and turned on in the page settings.

BTW: I'm sitting in an office with four walls, no windows, and flickering florescent lights above me and looking at your site of pictures of picturesque getaway places with blue sky, blue water, and green grass....... now I'm depressed! :p

mholtum
08-26-2004, 01:40 PM
I would not have the search display on the portal redundant in my opinion.

KW802
08-26-2004, 02:05 PM
I would not have the search display on the portal redundant in my opinion.
Did you check out the search page in question? :confused: It's a search of real-estate properties that points to a totally different domain, not a search of his local site or VB.

mholtum
08-26-2004, 02:32 PM
I did give it a quick glace. Looked to me like it was displaying on the Front page as well. Just went back to recheck and they are both gone.

KW802
08-26-2004, 02:35 PM
I did give it a quick glace. Looked to me like it was displaying on the Front page as well. Just went back to recheck and they are both gone.
Most likely he's playing around with the Custom Page Template.... ;)

Graham
08-27-2004, 12:23 PM
Hi there,

Yes I was playing around with it, I found that you donīt need the custom page module enabled, I just made a new module called search and included the template _search to it.

This works better beacuse I need to have 10 pre-defined searches and to do this I need to make new module & page for each search.

There was one thing thats confusing me, everytime a make a module it displays on all pages and I have to switch it off on the pages I donīt want!

Is there an option tick box I am missing somewhere?

Brian
08-27-2004, 01:01 PM
When adding the module, the last option is "Update All Pages". ;)