>>  Site Map >>  Forums >>  Modules 6x

Forum module - topics in forum:



Modules 6x - Discussions regarding PHP-Nuke Modules.



Scripts Porting

Hello...I need some help porting a script pack of about 10 uniqe scripts using Fast Template into PHPNuke 6.5...

Can annyone lend a hand?






Never heard of this Fast Template thing, but if you templates output to HTML you could place them on your site and use NukeWrap (in our downloads) to make the exteranl Fast Template files look like they are pages within PHP-Nuke.

If I am way off the mark on that please explain in more detail what you are trying to do, what these Fast Templates are and perhaps a link to some images or pages Smile






i could upload or email the scripts for you to get a quick glance at them...only about 10 unqie scripts.






Links will do fine, just one or two






hm...if it is on server you wont be able t read the code, so ill post it in here:

index.php
Code: :


session_start();
include("common.php");

$Manager = new Manager;

   $Manager->log_domain($AGENT,$ADMIN,$count_domain);

   if ($home){
      $Manager->create_header($link,"","",$biz_row[BizName],$domain,$templates);
   }
   else {
      $Manager->create_header($link,$AGENT,$ADMIN,$biz_row[BizName],$domain,$templates);
   }


   if ($action == "agent_display" or $agent_display){
      if ($agentnum) $ID = $agentnum;
      if ($agent_display) $ID = $agent_display;
      $Manager->create_generic_page($link,$domain,$templates,'NoContentNoFeatured');
      $Manager->create_agent_display ($link,$ID,$domain,$templates);
      echo $Manager->end_generic();
   }

   else {
      
      $Manager->create_generic_page($link,$domain,$templates,'NoContent');

?>

<!-- START PAGE BELOW THIS LINE -->




<IMG SRC="images/logo.gif"  width="469" height="59" ALT="Real Estate Listing Manager for Realtors Brokers and Agents" BORDER="0">
<br>
<h3>Welcome to your new software!</h3>


This is a sample home page... your content goes here.

<br><br>

This file can be found in the main directory called <b>index.php</b>

<br><br>

<!-- END PAGE ABOVE THIS LINE -->

<?
   }

   echo $Manager->end_generic();
   $Manager->create_footer($link,$biz_row,$AGENT,$ADMIN,$domain,$templates);

?>

one of the template files:
Code: :

<!-- start generic.tpl -->
<DIV ALIGN=LEFT >
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 >
   <TR>
      <TD WIDTH="140" CLASS="MenuBgcolor">&nbsp;</TD>
      <TD >&nbsp;</TD>
   </TR>
</TABLE>
</DIV>

<TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0" BORDER="0">
   <TR>
      <TD CLASS="MenuBgcolor" WIDTH="140"><IMG SRC="images/clear.gif" HEIGHT="2" alt="real estate, realestate, web design, website design, real estate web design, real estate web site design, realestate website design, real estate listing, real estate listing management software, real estate listing manager"></TD>
   </TR>
   <TR>
       <TD CLASS="MenuBgcolor" WIDTH="140" VALIGN=TOP ALIGN=CENTER >
         <TABLE BORDER=0 WIDTH="100%" CELLPADDING=0 CELLSPACING=0>
            <TR>
               <TD  HEIGHT=25 VALIGN=MIDDLE ALIGN=CENTER CLASS="SideMenuHeader">&nbsp;<B>Local Links</B></TD>
            </TR>
         </TABLE>

         <TABLE  BORDER=0 WIDTH="140" CELLPADDING=0 CELLSPACING=3>
            <TR>
               <TD><IMG SRC="images/clear.gif" HEIGHT="2" alt="real estate, realestate, web design, website design, real estate web design, real estate web site design, realestate website design, real estate listing, real estate listing management software, real estate listing manager"></TD>
            </TR>
<!-- BEGIN DYNAMIC BLOCK: local_links -->
            <TR >
               <TD  HEIGHT=22 ALIGN=LEFT VALIGN="baseline">&nbsp;<A CLASS="SideMenuLinks" HREF="{LLL}">{LLN}</A></TD>
            </TR>
<!-- END DYNAMIC BLOCK: local_links -->
         </TABLE>
         <BR>
         <TABLE BORDER=0 WIDTH="140" CELLPADDING=0 CELLSPACING=0>
            <TR>
               <TD  HEIGHT=25 VALIGN=MIDDLE ALIGN=CENTER CLASS="SideMenuHeader">&nbsp;<B>Favorite Links</B></TD>
            </TR>
         </TABLE>

         <TABLE BORDER=0 WIDTH="140" CELLPADDING=0 CELLSPACING=3>
            <TR>
               <TD><IMG SRC="images/clear.gif" HEIGHT="2" alt="real estate, realestate, web design, website design, real estate web design, real estate web site design, realestate website design, real estate listing, real estate listing management software, real estate listing manager"></TD>
            </TR>
<!-- BEGIN DYNAMIC BLOCK: favorite_links -->
            <TR >
               <TD HEIGHT=22 ALIGN=LEFT VALIGN="baseline">&nbsp;<A CLASS="SideMenuLinks" HREF="frames.php?goto=http://{FLL}">{FLN}</A></TD>
            </TR>
<!-- END DYNAMIC BLOCK: favorite_links -->
            </TABLE>
            <BR>
            {FEATURED}
            <TABLE BORDER=0 WIDTH="140" CELLPADDING=0 CELLSPACING=0>
               <TR>
                  <TD  HEIGHT=25 VALIGN=MIDDLE ALIGN=CENTER CLASS="SideMenuHeader">&nbsp;<B>Search Listings</B></TD>
               </TR>
               <TR>
                  <TD><IMG SRC="images/clear.gif" height="4" alt="real estate, realestate, web design, website design, real estate web design, real estate web site design, realestate website design, real estate listing, real estate listing management software, real estate listing manager"></TD>
               </TR>
               <TR>
                  <TD ALIGN="center">
            <FORM METHOD="POST" ACTION="propview.php">
               <INPUT TYPE=TEXT SIZE="8" NAME="find"><BR>
               <INPUT TYPE=SUBMIT CLASS="forms" VALUE="Search">
            </FORM></TD>
               </TR>
            </TABLE>
      </TD>
         <TD  VALIGN=TOP ALIGN=CENTER WIDTH="100%">
            <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="100%">
               <TR>
                  <TD VALIGN=TOP ALIGN=CENTER>

<div align="center" class="BODY">

                  {CONTENT}



<!-- end generic.tpl -->







I alsways find the amusing, you ask for one thing and you get something else Confused
webmorpheous Wrote: :
hm...if it is on server you wont be able t read the code, so ill post it in here:

If I wanted to see the source code I would have asked to, I didnt want to see the source code, I wanted to see the output.
Dashe Wrote: :
Links will do fine, just one or two

Appologies for the slight attitude in the reply but as I said I ask for one thing and get provided another, I can never understand why most people just dont provide what I ask for. Ahh well






http://www.webdesignsanfrancisco.com/






So your telling me that the page that showed up when i went to that link you want your nuke page to look like that or the be included within a nuke site like the forums are on our nuke site?






I wanted those scripts imported into Nuke 6.5. What kind of options do I have?






Im sorry I still dont quite understand what you are trying to acheive. When I look at that link you gave me it points to an entire site. Not a bad looking one either. I dont see how or what you are trying to fit into nuke, perhaps you could post and image outlining what you are trying to achieve. Im sorry but dont see what you are trying to bring into nuke.

If you bring a script that outputs that entire script then you will have 2 sets of left blocks beside each other, or are your block like left menus what you want to import as blocks. Confused






I think this is the script that webmorpheus is talking about:

http://www.rwcinc.net/freerealty/demo/




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS