Open Source Services
taming open source systems...
Home arrow Forum
Friday, 05 December 2008
Main Menu
Home
Forum
Products
Download
Sitemap
Contact Us
Poll
How did you find this site?
 
Login Form





Lost Password?
No account yet? Register
Open Source Services
Welcome, Guest
Please Login or Register.    Lost Password?
no paps displaying on product page (1 viewing) (1) Guest
High priority support for Product Attribute Pictures (PAPs) v2.0 PLUS for osCommerce.
Go to bottom Post Reply Favoured: 0
TOPIC: no paps displaying on product page
#370
sh2605 (User)
Junior Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
no paps displaying on product page 5 Months, 4 Weeks ago  
ive just bought and installed paps version 2.0 the admin side is all working ok and i can add the images etc but when i goto my product pages there is no paps on it.

its as if the mod is not installed at all, ive used a fresh install of paps 2.0 on a free version of oscommerce 2.2rc2a which i download direct from oscommerce.com


ive installed everything exactly as wi was instructed to but cannot for the life of me get this to work.....

ill show u the code in an attachment so you can have a look

steve
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/09 17:06 By sh2605.
  The administrator has disabled public write access.
#371
sh2605 (User)
Junior Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 4 Weeks ago  
here is the attachment:

this is a link to the page that i supposed to be displaying the paps
http://www.tarnlife.co.uk/mynewtshirt/product_info.php?products_id=28
File Attachment:
File Name: product_info-3d33d0f299e8eea3d24d3235435e63d7.txt
File Size: 14044
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/09 17:15 By sh2605.
  The administrator has disabled public write access.
#372
sh2605 (User)
Junior Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 4 Weeks ago  
here is an image of what i can see in the admin side
http://www.tarnlife.co.uk/paps.jpg
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/09 17:19 By sh2605.
  The administrator has disabled public write access.
#373
hanuman (Admin)
Admin
Posts: 289
graph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 4 Weeks ago  
Hi Steve

Thanks for your enquiry.

The links you provided to your site's pages aren't working for me, but frm looking at your product_info.php code, I would suggest moving the line:

Code:

<?php include(DIR_WS_MODULES . '/paps.php'); ?>
further down the page. Try placing it somewhere after the last PAPs code:
Code:

//BOF Product Attribute Pictures } //EOF Product Attribute Pictures
Please remember to avoid placing the line inside an 'if' clause, because it may not get executed. If you try a few different positions I'm sure you will get the PAPs to show up. I can't see your admin page screenshot, but at first you should set 'Ignore product attributes' to 'Yes' for that product. This will give you the best chance of viewing your images. Then you will know the installation has been done correctly. I hope this helps. Let me know if there's anything else I can help you with. Nick
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#374
sh2605 (User)
Junior Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 4 Weeks ago  
yeah that worked for me

i can now see the paps on my product page but i have borders around all of my pap images and would really like to remove them, which file do i need to edit to remove the border
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#375
hanuman (Admin)
Admin
Posts: 289
graph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 4 Weeks ago  
Hi

Look in catalog/includes/modules/paps_layout .

In there you will see the display files for the 4 different layouts. Choose the file for the layout you're using and edit it as necessary.

Cheers

Nick
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#376
sh2605 (User)
Junior Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 4 Weeks ago  
cheers for your reply nick i will check that out in 1 second.

i could really use your help with the layout of the product_info page layout if you have time..

id really like my paps to go to the right hand side of the product page like in the site u used as an example on the product page for paps 2.0

and i would also like to remove the standard image that is displayed on the product_info page that u ccan click on to open the popup as i really only need the pap images to be shown

id like my product page to layout exactly like the page at sobay.co.uk, if you could help that would be fantastic nick.

heres the link http://www.sobaby.co.uk/skip-city-chic-changing-p-37.html
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#377
hanuman (Admin)
Admin
Posts: 289
graph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 3 Weeks ago  
Hi

If you want to get rid of the standard product image, try taking the following code out of product_info.php. Make sure you back this file up first, though.

Code:

<?php if (tep_not_null($product_info['products_image'])) { ?> <table border="0" cellspacing="0" cellpadding="2" align="right"> <tr> <td align="center" class="smallText"> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> </td> </tr> </table> <?php } ?>
Take a look at the source code of the sobaby page to get an idea of the layout. They may be using a template, but a little toying with the HTML should get you there or thereabouts. Unfortunately I couldn't spend much time on this unless it was a paid project. Hope you understand. Kind Regards Nick
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#378
sh2605 (User)
Junior Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 3 Weeks ago  
how much would it be for you to layout that page for me nick
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#379
hanuman (Admin)
Admin
Posts: 289
graph
User Offline Click here to see the profile of this user
Re:no paps displaying on product page 5 Months, 3 Weeks ago  
Hi Steve

I should be able to sort that out for $25. You'd need to let me have access to your FTP account and Admin panel (which you can send to the support email address in the PAPs User Guide). Also, I'd need the URL of the product (page) you'd like me to work on. I'd need 24-48 hours to do it though, because I'm snowed under just at the minute.

If you want to go ahead with this, you can make payment using the Custom Project Payment form on the left of the screen after you log in.

Regards

Nick
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
 
© 2008 Open Source Services
Designed by Open Source Services. Powered by open source software.
Seasonale
Generated in 0.85777 Seconds