-
AuthorPosts
-
infobuster Friend
infobuster
- Join date:
- May 2009
- Posts:
- 4
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 2 posts
May 8, 2009 at 8:38 am #303998<em>@myeco 127736 wrote:</em><blockquote>Rgding the version 2, flypage is more clean and more emphasize on the product detail tab, this is an improve, great job.
Hmm, i had follow what the instuction of you, and altered the relevant part as suit for my situation. it still not working.the links to the script file are correct. i still cracking my head for the answer. Haiz, awaiting your good news for new flypage come out..
About the 360 degree photography is not suit for product display since it need 32 images to create full spin.. and it does not connect with VM backend.. thats very headache issue
so i think another option is making an image gallery which link/connect with VM backend for display product pics slide show and using the flash to manage it, is it possible???
Example website:
1 more thing, i found that, do you disable/remove the recently view product? My opinion is, that is an important function for remind people what they had view, and can give them a clue to trace back..Further, current VM recently view product is displayed by text link, this is not good for trigger people awareness and not aesthetic. Perhaps can use product image instead of text link. that was much more better. Anyone can give a hand on this ??
By,
Kevin.C</blockquote>the version 2 seems to be working better and i’ve set it up on another site, it’s not overly customisable unless your any good with php
with regards to the 360 photography you can use less images i think 16 is minimum but you loose the smoothness but depending on what you item is
i like you idea for the view recent products with images instead of text it sounds fairly easy to achive by replaceing the text link with product image, i’ll look in to that and see what i can come up with
just on another note does anyone know what the php call is for the manufacturer pop up and also send to a friend something along the lines of <?php echo $manufacturer_full?>
myeco Friendmyeco
- Join date:
- April 2009
- Posts:
- 35
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 10, 2009 at 1:42 pm #304210infobuster;127814the version 2 seems to be working better and i’ve set it up on another site, it’s not overly customisable unless your any good with php
with regards to the 360 photography you can use less images i think 16 is minimum but you loose the smoothness but depending on what you item is
i like you idea for the view recent products with images instead of text it sounds fairly easy to achive by replaceing the text link with product image, i’ll look in to that and see what i can come up with
just on another note does anyone know what the php call is for the manufacturer pop up and also send to a friend something along the lines of <?php echo $manufacturer_full?>
Dear infobuster,
Thanks for your advice that about the 360′ photography , i realize that is a very useful tool for many valuable product, like car, watch, and luxury goods.
I believe that the 360′ photography definitely will increase the SALEs !! hehehe
BUT is it connect with VM backend ?? May i have further info about this ?
Thanks for advice,
By,
Kevin.Cinfobuster Friendinfobuster
- Join date:
- May 2009
- Posts:
- 4
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 2 posts
May 11, 2009 at 9:36 am #304287<blockquote>BUT is it connect with VM backend ?? May i have further info about this ?</blockquote>
how i do it is just create the 360 as a flash anim and then inport it in through the back end that way, as there are only a few products it didn’t need to have a complete back end admin to it but i don’t think it would be too dofficult to have the template setup and the images are imported into it from the back end, the only issue i could see would be you wouldn’t be able to test it for consistance and smoothness
1 user says Thank You to infobuster for this useful post
myeco Friendmyeco
- Join date:
- April 2009
- Posts:
- 35
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 11, 2009 at 10:10 am #304295I am not really get what you mean, sorry for that, i am a novice on this issue. my understanding from your post:
import it in through the back end= Insert the flash code in the certain product flypage , am i correct?
If i correct, then if all my products using one flypage template, is it the 360 photo only display the one product pic?Thanks in advance
how abt the progress of change the View Recent Product default text link to product pic display? is it really work? hehehe, Thanks ya
By,
K.CTomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 11, 2009 at 3:58 pm #304341Scotty:
Something I just discovered as I was using your fix below and further developing my site. When I try to enable a module position for either the left or right, it gets pushed down the page and, in some cases, cut in half.
I don’t know if anyone else has experienced this issue or not (or if anyone else cares).
Is there a way you might suggest to configure the layout so that right and/or left position modules line up properly?
Seems it started out right in the original template –> HERE.
How can I get that layout division back?<em>@scotty 123661 wrote:</em><blockquote>lol 😀 I’m a novice coder! Complete novice. However… I have replicated the eshop tabs. These behave exactly as the eshop demo. With the kind help of Fabio I now know how to intigrate JA tabs into virtuemart but this version is the ‘lite’ version. I’ll post the JA Tabs version next week when I have it styled to Zeolite.
I have not tested this version extensivly! I have not tried it with things like Manufacturer link etc. I have not tested it in all browsers at different reolutions. So if anyone sees any problems please post them here.
The tabs can be easily styled in tabcontent.css and you can see a demo of the tabs here.
Instructions….
Step 1:Open /templates/ja_zeolite/index.php and between the <head> tags paste in the following code and save…
<link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>/components/com_virtuemart/themes/ja-zeolite/tabcontent.css” />
<script type=”text/javascript” src=”<?php echo $tmpTools->baseurl(); ?>/components/com_virtuemart/themes/ja-zeolite/tabcontent.js”></script>Step 2:Go to /components/com_virtuemart/themes/ja-zeolite/templates/product_details/ and rename flypage.tpl.php to old_flypage.tpl.php
Step 3:Download the attachment and unzip it to your MAIN joomla directory (ie your root folder or whatever folder you have your site in). When asked if you wish to overwrite click YES. The only file that is overwritten is the flypage (which we backed up in step 2).Please post here is you have any problems. JA Tabs version will be available next week sometime.</blockquote>
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
May 12, 2009 at 2:18 pm #304432Live URL? Or screenshot at least?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
May 13, 2009 at 8:54 am #304508This has nothing to do with the tabs. You have edited the index.php to have #ja-contentwrap be outside #ja-contentwrapper somehow. Either that or you have a stray closing </div> somewhere.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 13, 2009 at 10:23 pm #304577<em>@scotty 128483 wrote:</em><blockquote>This has nothing to do with the tabs. You have edited the index.php to have #ja-contentwrap be outside #ja-contentwrapper somehow. Either that or you have a stray closing </div> somewhere.</blockquote>
Now why would I have gone and done a silly thing like that? :((Hope I can figure out how to fix it back without having to start all over again.
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
May 14, 2009 at 8:21 am #304598Your HTML is being rendered like this….
<div id="ja-containerwrap-fl">
<div id="ja-container"><div id="ja-container-inner" class="clearfix"><!-- BEGIN: CONTENT -->
<div id="ja-mainbodywrap"><div id="ja-mainbody" class="clearfix">
<div id="ja-contentwrapper">
<!-- BEGIN: CONTENT -->
</div>
<div id="ja-contentwrap"><div id="ja-content">
It’s the </div> in red that is causing the problem.
myeco Friendmyeco
- Join date:
- April 2009
- Posts:
- 35
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 14, 2009 at 11:49 am #304615Recently, i had study about how to add additional image in VM and link it under JA-TAB by scotty
Finally, i make it. Until now, i only realize that additional image is available in VM, thats NO HACK needed, herewith the tutorial of how to add in additional product image. Please bear with my ignorance of wasting peoples time. Sorry ya
Deeply appreciate for tcraw1010,scotty,infobuster kindness and help.
And i had add in the related code for add one more TAB in the flypage. which base on the code done by scotty. This code work for me smoothly.
The flypage path should be similar as this: /root/components/com_virtuemart/themes/ja-zeolite/templates/product_details then go to find the flypage.tpl.php which you use.
Any enquiries, please refer to this post by scotty.
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); ?>
<?php echo $buttons_header // The PDF, Email and Print buttons ?>
<?php
if( $this->get_cfg( 'showPathway' )) {
echo "<div class="pathway">$navigation_pathway</div>";
}
if( $this->get_cfg( 'product_navigation', 1 )) {
if( !empty( $previous_product )) {
echo '<a class="previous_page" href="'.$previous_product_url.'">'.shopMakeHtmlSafe($previous_product['product_name']).'</a>';
}
if( !empty( $next_product )) {
echo '<a class="next_page" href="'.$next_product_url.'">'.shopMakeHtmlSafe($next_product['product_name']).'</a>';
}
}
?><br style="clear:both;" />
<table border="0" style="width: 100%;">
<tbody>
<tr>
<?php if( $this->get_cfg('showManufacturerLink') ) { $rowspan = 5; } else { $rowspan = 4; } ?>
<td width="75%" rowspan="<?php echo $rowspan; ?>" valign="top" class="vm-product-img"><br/>
<?php echo $product_image ?><br/>
<br/>
<?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?></td>
<td rowspan="1" colspan="2"><h1><?php echo $product_name ?> <?php echo $edit_link ?></h1></td>
</tr>
<?php if( $this->get_cfg('showManufacturerLink')) { ?>
<tr>
<td rowspan="1" colspan="2"></td>
</tr>
<?php } ?>
<tr>
<td width="50%" valign="top" align="left"><?php echo $product_price_lbl ?> <?php echo $product_price ?><br /></td>
<td valign="top"></td>
</tr>
<tr>
<td width="50%"valign="top" align="left"><?php echo $addtocart ?><br/></td>
<td valign="top"></td></tr>
<tr>
<td colspan="2"></td>
</tr>
<tr>
<td rowspan="1" colspan="2"><br /><br />
<ul id="tab_tabs" class="shadetabs">
<li><a href="#" mce_href="#" rel="tab_1" class="selected"><span><?php echo $VM_LANG->_('PHPSHOP_FLYPAGE_LBL') ?></span></a></li>
<li><a href="#" mce_href="#" rel="tab_2"><span><?php echo $VM_LANG->_('VM_PRODUCT_ENQUIRY_LBL') ?></span></a></li>
<li><a href="#" mce_href="#" rel="tab_3"><span><?php echo $VM_LANG->_('PHPSHOP_REVIEWS') ?></span></a></li>
<li><a href="#" mce_href="#" rel="tab_4"><span><?php echo $VM_LANG->_('PHPSHOP_MORE_IMAGES') ?></span></a></li>
</ul>
<div class="shademain">
<div id="tab_1" class="tabcontent">
<div style="padding: 0 5px;">
<?php if( $this->get_cfg('showManufacturerLink')) : ?>
<div> <?php echo $manufacturer_link ?><br />
</div>
<?php endif; ?>
<div> <?php echo $product_description ?> <span style="font-style: italic;"><?php echo $file_list ?></span> </div>
<?php if( $this->get_cfg( 'showAvailability' )) : ?>
<div class="lf"> <?php echo $product_availability; ?> </div>
<?php endif; ?>
<div class="rf"> <?php echo $product_packaging ?> </div>
<div> <?php echo $product_type ?> </div>
</div>
<br>
</div>
<div id="tab_2" class="tabcontent">
<div style="padding: 0 5px;"><br />
<?php
if ( $set == 0 ) {$validate = vmIsJoomla( '1.5' ) ? JUtility::getHash( $mainframe->getCfg( 'db' ) ) : mosHash( $mainframe->getCfg( 'db' ) );
?>
<form action="<?php echo $mm_action_url ?>index.php" method="post" name="emailForm" id="emailForm">
<label for="contact_name"><?php echo $VM_LANG->_('NAME_PROMPT') ?></label>
<input type="text" name="name" id="contact_name" size="54" class="inputbox" value="<?php echo $name ?>">
<br />
<br />
<label for="contact_mail"><?php echo $VM_LANG->_('EMAIL_PROMPT') ?></label>
<input type="text" id="contact_mail" name="email" size="54" label="Your email" class="inputbox" value="<?php echo $email ?>">
<br />
<br />
<label for="contact_text"><?php echo $VM_LANG->_('MESSAGE_PROMPT') ?></label>
<textarea rows="10" cols="50" name="text" id="contact_text" class="inputbox"><?php echo $subject ?></textarea>
<br />
<input type="button" name="send" value="<?php echo $VM_LANG->_('SEND_BUTTON') ?>" class="button" onClick="validateEnquiryForm()" />
<input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
<input type="hidden" name="product_sku" value="<?php echo $product_sku; ?>" />
<input type="hidden" name="set" value="1" />
<input type="hidden" name="func" value="productAsk" />
<input type="hidden" name="page" value="shop.ask" />
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="flypage" value="<?php echo $flypage ?>" />
<input type="hidden" name="Itemid" value="<?php echo $Itemid ?>" />
<input type="hidden" name="<?php echo $validate ?>" value="1" />
</form>
<script type="text/javascript">
function validateEnquiryForm() {
if ( ( document.emailForm.text.value == "" ) || ( document.emailForm.email.value.search("@") == -1 ) || ( document.emailForm.email.value.search("[.*]" ) == -1 ) ) {
alert( "<?php echo $VM_LANG->_('CONTACT_FORM_NC',false); ?>" );
} else if ( ( document.emailForm.email.value.search(";") != -1 ) || ( document.emailForm.email.value.search(",") != -1 ) || ( document.emailForm.email.value.search(" ") != -1 ) ) {
alert( "You cannot enter more than one email address" );
} else {
document.emailForm.action = "<?php echo sefRelToAbs("index.php"); ?>"
document.emailForm.submit();
}
}
</script>
<?php }
else { // if set==1 then we have sent the email to the vendor and say thank you here.
?>
<img src="<?php echo VM_THEMEURL ?>images/button_ok.png" height="48" width="48" align="center" alt="Success" border="0" /> <?php echo $VM_LANG->_('THANK_MESSAGE') ?> <br />
<br />
<a class="button" href="<?php echo $product_link ?>"><?php echo $VM_LANG->_('VM_RETURN_TO_PRODUCT') ?></a>
<?php } ?>
</div>
</div>
<div id="tab_3" class="tabcontent">
<div style="padding: 0 5px;"> <?php echo $product_reviews ?> </div>
<div> <?php echo $product_reviewform ?> </div>
</div><div id="tab_4" class="tabcontent">
<div style="padding: 0 5px;"> <?php echo $this->vmlistAdditionalImages( $product_id, $images ) ?> </div></div>
<script type="text/javascript">var vmTabs=new ddtabcontent("tab_tabs")
vmTabs.setpersist(false)
vmTabs.setselectedClassTarget("link") //"link" or "linkparent"
vmTabs.init()</script>
<br>
<td colspan="3"><?php echo $related_products ?><br />
</td>
</tr>
<?php if( $this->get_cfg('showVendorLink')) { ?>
<tr>
<td colspan="3"><div style="text-align: center;"><?php echo $vendor_link ?><br />
</div>
<br /></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php
if( !empty( $recent_products )) { ?>
<div class="vmRecent"> <?php echo $recent_products; ?> </div>
<?php
}
if( !empty( $navigation_childlist )) { ?>
<?php echo $VM_LANG->_('PHPSHOP_MORE_CATEGORIES') ?><br />
<?php echo $navigation_childlist ?><br style="clear:both"/>
<?php
} ?>
myeco Friendmyeco
- Join date:
- April 2009
- Posts:
- 35
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
May 22, 2009 at 4:24 am #305455Hello,
tcraw1010,scotty,infobuster where are you all….Is it this thread ending? haiz…
K.C
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
August 12, 2009 at 4:21 pm #313985Thought I would revisit this topic. Earlier in this thread, scotty did a marvelous job in creating a custom flypage for JA Zeolite utilizing tabbed content. My question at this point would be, however . . . . . .
What method could be used to add the tabbed content into ANY flypage theme?
I suppose one could examine scotty’s code structure and assume that one could apply it to virtually any flypage.tpl code – but as I am by no means an expert coder, I am hoping those of you who feel much more comfortable within the code might offer some insight as to the most foolproof method for accomplishing this task.
Looking forward to your input.
🙂
nefar Friendnefar
- Join date:
- December 2007
- Posts:
- 434
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 78
- Thanked:
- 42 times in 1 posts
August 12, 2009 at 4:32 pm #313987Nice thread. I should of just came here first when I started my searching for tabed content in VM isntead of hitting google 😉
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
August 12, 2009 at 7:57 pm #314017tcraw1010;140358 What method could be used to add the tabbed content into ANY flypage theme?
I suppose one could examine scotty’s code structure and assume that one could apply it to virtually any flypage.tpl code
Correct. But I’m fairly certain there are a few extensions that will do this easier.
-
AuthorPosts
This topic contains 116 replies, has 10 voices, and was last updated by sandstorm871 15 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum