Community Member
Member Avatar
Hi there,

how to appear product title with weight and weightclass, when changing quantity in magento frontend product description page.? Topic by praba_web in Web Development
Member Avatar
Topic by praba_web in Web Development
Hi Praba,

Magento is a large system to fully comprehend, I would recommend studying their tutorials, you need to be looking into your theme templates for product display:

Magento/app/design/frontend/default/your_theme/template/catalog/product/

Have a look at the fields already displaying there and look into the Class documentation for the specific fields you want. … Reply by andrevanzuydam
Member Avatar
Hi everybody, pls i need help here. i ve a video player and i want to populate video on it from mysql database, here is my code.

<ul id="playlist1" style="display:none;">

<li data-thumb-source="assets/img/ddd.jpg" data-video-source="assets/video/ddd.mp4" data-poster-source="assets/img/ddd.jpg" data-downloadable="yes">
<div data-video-short-description="">
<div>
<p class="minimalDarkThumbnailTitle">ddd</p>
<p class="minimalDarkThumbnailDesc">dddd.</p>

</div>
</div>
<div data-video-long-description="">
<div>
<p class="minimalDarkVideoTitleDesc">dddd</p>
<p … Topic by WebMedia_1 in Web Development
Member Avatar
Topic by WebMedia_1 in Web Development
Looking at your code you will need to fix up your output to represent something like below, you are missing "p" tags. So just add them and you should be fine.


<li data-source="list=PL5F394CB9AB8A3519" data-playlist-name="MY YOUTUBE PALYLIST" data-thumbnail-path="content/thumbnails/large2.jpg">
<p class="minimalDarkCategoriesTitle"><span class="minimialDarkBold">Title: </span>My playlist 2</p>
<p class="minimalDarkCategoriesType"><span class="minimialDarkBold">Type: </span>YOUTUBE</p>
<p class="minimalDarkCategoriesDescription"><span class="minimialDarkBold">Description: … Reply by andrevanzuydam
Member Avatar
Hi everyone, i have this form with 2 divisions. I wanted to retain the current tab after saving records for example, after saving records in tab-2, the tab-2 suppose to appear/retain as current tab. Currently, after clicking submit button the tab will go back to tab-1. Please advise. Thanks.

<form … Topic by Sophia_1 in Web Development
Member Avatar
Topic by Sophia_1 in Web Development
I would modify these lines here, you have a couple of options, set a request param on the anchor of TAB 2, or a hidden input to indicate which tab was clicked, you would need some PHP code to set which tab is active, so you need an "active" style … Reply by andrevanzuydam
Member Avatar
Hello everyone,

Can anyone tell me How do I update my Domain's DNS Records?

Regards Topic by vedwebservices in Networking
Member Avatar
Topic by vedwebservices in Networking
Hi

Generally you do this in your domain registration panel with the company that you registered your domain with.
If your DNS is self hosted, you will have to update the DNS on your own server (I don't think this is you).

Godaddy, MyDomain etc all have panels to update … Reply by andrevanzuydam
Member Avatar
andrevanzuydam Began Watching Image description
Hi guys,
I have a bit of code that displays an objects image, when you hover over it, it also shows the name of that object. What I would like, is when you hover over it for it to show the object Description instead, I am not sure what to … Topic by Emma_4 in Web Development
Member Avatar
andrevanzuydam Replied To a Post in Image description
Topic by Emma_4 in Web Development
Hi Emma,
The resulting code looks fine, which browser are you using?

I would also caution against relative name paths for your images, you may not get the results you want. Reply by andrevanzuydam
Member Avatar
Hi, I am Sergio and I am creating a website at the moment. You can Register and Login there. Now to my question:

Witch maxlength values should I take for the different input fields, for example:

- First Name
- Last Name
- Password
- Email
- Username

I don't … Topic by Xenoraid in Web Development
Member Avatar
andrevanzuydam Replied To a Post in Forms best maxlength
Topic by Xenoraid in Web Development
Hi Sergio

Max length for fields will depend purely on what you plan to store in them and whether we are talking about, after creating many different forms over time you get to a feeling for these things. Here are the sizes that I use:

First Name & Last Name … Reply by andrevanzuydam
Member Avatar
andrevanzuydam Began Watching PHP 5.3.3 LDAP
I am using

-PHP 5.3.3 (cgi-fcgi)
-Apache Web Server 2.1.6
-5.1.73-community
-MediaWiki (1.22.0)

I need to implement auto login for the mediawiki users by using ldap authetication. However, php_ldap.dll is not found in the /ext file so I went to download and enter the extension=php_ldap.dll in the php.ini file. I … Topic by Lindsey_2 in Web Development
Member Avatar
andrevanzuydam Replied To a Post in PHP 5.3.3 LDAP
Topic by Lindsey_2 in Web Development
This may be late, but it is relevant to anyone loading extra extensions into your PHP, Always check which version of PHP you have first. You will also need to know if you have a thread safe or non-thread safe version. After this you should download the extension you need … Reply by andrevanzuydam
Member Avatar
andrevanzuydam Began Watching SQL error
How to fix the following SQL error?



1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sent`, `handler` varchar(20) NOT NULL, PRIMARY KEY (`id`) )' at line 5


Code:


$create_q = 'CREATE TABLE IF … Topic by blueguy777 in Web Development
Member Avatar
andrevanzuydam Replied To a Post in SQL error
Topic by blueguy777 in Web Development
The default `Sent` needs to say default 'Sent', easy way to remember is that text stuff needs single quotes in SQL. Reply by andrevanzuydam
Member Avatar
I want to import/upload excel files to sql server via cake php, it will occur Undefined variable: ext and Undefined index: the code are shown as below. Is there any mistake in my code? Thanks in advance!



<?php

App::import('Vendor', 'php-excel-reader/excel_reader2');
class UploadsController extends RealTimeAnalysisAppController
{

public function upload()
{

$destination … Topic by yeeaki in Web Development
Member Avatar
Topic by yeeaki in Web Development
Lets just start off with line 11, did you mean to not put an opening bracket on your if statement ? Reply by andrevanzuydam
Member Avatar
andrevanzuydam Began Watching joomla installation
hi i have a problem while installing joomla lacally. i tried following procedure http://magazine.joomla.org/issues/issue-mar-2013/item/1110-free-e-book-%E2%80%93-introducing-joomla-30-made-easy
after fill all the fields click install button its tooks more time but still not installed. am getting problem in create databae tables is stil loading. Topic by malatamil in Web Development
php
Member Avatar
andrevanzuydam Replied To a Post in joomla installation
Topic by malatamil in Web Development
php
Hi Malatamil

Please can you provide us with your operating system , it will also help to know if you are running any anti-virus software and Skype, sometimes Skype can mess with the webserver.

The more information you provide the better, also if would also be useful to know if … Reply by andrevanzuydam
Member Avatar
Why am I able to pick up wifi signal from my neibor on my galaxy s4 phone but not my home pc. I have the latest wifi card installed. It jyst seems to me if my phone will pick up a certain wifi signal then my computer should. Topic by steve_17 in Networking
Member Avatar
Topic by steve_17 in Networking
Galaxy S4 is able to pick up 5GHz networks, I have found this situation also where laptops will not pick up a network but my mobile devices will. The thing you need to find out is what mode the wifi is broadcasting on, there are a couple, perhaps this needs … Reply by andrevanzuydam
Member Avatar


<?php $picurl=$row['PicUrl']; >?
<td><input type="file" name="userfile" ></td> Topic by rjusman90 in Web Development
php
Member Avatar
Topic by rjusman90 in Web Development
php
I'm not sure the file input can accomodate that, you should use a label around the input and put the file name in there.

echo "<td><label>{$row["PicURL"]} <input type=\"file\" name=\"usefile\"> </label></td>";

Alternatively display the file as an img tag to show the user what has already been chosen? Reply by andrevanzuydam
Member Avatar
Hi,

How can i change My Wishlist in to My Shopped List in magento.? Topic by kamal1919 in Web Development
php
Member Avatar
Topic by kamal1919 in Web Development
php
Check out the link below, I hope it helps
[Click Here](http://czetsuya-tech.blogspot.com/2009/09/magento-change-label-of-my-wishlist-etc.html#.U6h2SKhCWeQ) Reply by andrevanzuydam
Member Avatar


<td>Upload your pic</td>

<td><?php if(!empty($picurl)){echo '<img src="'.$picurl.'" align="left"width="50px" height="50px"/>';}?>
<input type="file" name="userfile" ></td>
</tr>
<tr class="tableheader">
<td colspan="4" class="last"><input name="submit" type="submit" class="button" value="Update"/></td>
</tr>
</table>
</form>
<?php
if (isset($_POST["submit"])){

if($_FILES['userfile']['type']=="image/jpg" or
$_FILES['userfile']['type']=="image/jpeg" or
$_FILES['userfile']['type']=="image/gif" or
$_FILES['userfile']['type']=="image/png"){
echo "Error number: ".$_FILES['userfile']['error']."<br/>";
//$_Files is a global array,its 2 dimen
if(file_exists("image/".$_FILES['userfile']['name'])){
echo "file … Topic by rjusman90 in Web Development
php
Member Avatar
Topic by rjusman90 in Web Development
php
Just test `if (isset ($_FILES["userfile"]) ) `. Only run your code if that is true. You can replace this code with that of line 12. Reply by andrevanzuydam
Member Avatar
DATE ads visible
2014-06-23 3 1
2014-06-13 1 1
2014-06-12 4 1
2014-06-10 1 1
2014-06-09 7 1
2014-06-08 12 0
2014-06-07 12 1
i have these three colums selected in mysql

through php i want to display the result like above on front end how can loop through all … Topic by junaid_5 in Web Development
Member Avatar
Topic by junaid_5 in Web Development
Just a question, why not filter the results when you do your query with a where statement "select date, ads, visible from table where visible = 1".

Secondly, how are you fetching the data to your PHP ?, most common way to get your results out would be :



$result … Reply by andrevanzuydam