Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie-please help-no admin password


newbie2osc

Recommended Posts

Posted

Hello os-community

 

i am a complete newbie to oscommerce - and have just installed my new template - but the admin doesnt have a password - how to i make this ??

also another thing, i would like to make a slideshow of products on the homepage, and have found this add on http://www.oscommerce.com/community/contributions,3510 - but how to i put in in the homepage ? - is that just the index.php ?

 

please help me

 

thanks

Posted

please can anyone help me ?

i go in myshop.com/admin - and i can access directly the backend without any prompt for a password - i really need this fixed ....

Posted

i am a complete newbie to oscommerce - and have just installed my new template - but the admin doesnt have a password - how to i make this ??

 

The easiest way is to "password protect" the admin directory via your hosting control panel (such as CPanel). Then read the forum section on security and how to secure your web site.

 

also another thing, i would like to make a slideshow of products on the homepage, and have found this add on http://www.oscommerce.com/community/contributions,3510 - but how to i put in in the homepage ? - is that just the index.php ?

 

This part;

 

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="385" height="219" id="images_left" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="slideshow.swf?id=<?php echo tep_session_id(); ?>"   />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="wmode" value="opaque" />
<param name="bgcolor" value="#ffffff" />
<embed src="slideshow.swf?id=<?php echo tep_session_id(); ?>"   menu="false" quality="high" scale="noscale" wmode="opaque" bgcolor="#ffffff" width="385" height="219" name="images_left" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

 

Goes in index.php near the bottom of the page, where exactly will depend on where you want to see it. Take a section such as this;

 

          <tr>
           <td class="main"><?php echo TEXT_MAIN; ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
         </tr>

 

 

And replace with;

 

 

          <tr>
           <td class="main"><?php echo TEXT_MAIN; ?></td>
         </tr>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="385" height="219" id="images_left" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="slideshow.swf?id=<?php echo tep_session_id(); ?>"   />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="wmode" value="opaque" />
<param name="bgcolor" value="#ffffff" />
<embed src="slideshow.swf?id=<?php echo tep_session_id(); ?>"   menu="false" quality="high" scale="noscale" wmode="opaque" bgcolor="#ffffff" width="385" height="219" name="images_left" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
         <tr>
           <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
         </tr>
         <tr>
           <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
         </tr>

 

You need to install the rest of the addon also.

Posted

Hi

thanks for the reply - i managed to sort out the password problem

- now im trying to add the slideshow to my site.

I have done like you suggested and added it to my index.php, and also added the pictures to the correct file location, but nothing happens to my site - there is just a white space ....

any thoughts ?

Posted

You need to add the XML file and edit it to match what your site.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...