Search found 18 matches

by Danielc1234
Mon Dec 14, 2009 5:28 pm
Forum: PHP - Code
Topic: How to Display an image on another site Using PHP???
Replies: 3
Views: 505

Re: How to Display an image on another site Using PHP???

Thanks! Does that mean that this code will work in http and https modes?
by Danielc1234
Mon Dec 14, 2009 9:57 am
Forum: PHP - Code
Topic: How to Display an image on another site Using PHP???
Replies: 3
Views: 505

How to Display an image on another site Using PHP???

Hi all. I have this code displaying an image within our cart software. <img src="<?php echo $this->getSkinUrl('images/creditcard_logos.jpg') ?>" class="creditcard-image" alt="We accept all major credit cards." /> I am trying to figure out how to display an image located...
by Danielc1234
Mon Jul 27, 2009 10:49 am
Forum: PHP - Code
Topic: Left Vertical Nav Bar issues
Replies: 4
Views: 307

Re: Left Vertical Nav Bar issues

Sorry, I didnt know that. I am just trying to get some help with this.
by Danielc1234
Mon Jul 27, 2009 10:35 am
Forum: PHP - Code
Topic: Left Vertical Nav Bar issues
Replies: 4
Views: 307

Re: Left Vertical Nav Bar issues

Bumping this up to see if anyone knows.
by Danielc1234
Sun Jul 26, 2009 2:38 pm
Forum: PHP - Code
Topic: Left Vertical Nav Bar issues
Replies: 4
Views: 307

Left Vertical Nav Bar issues

Hi all. I have a left nav bar that is not working properly. I want the main categories to show and then below that catagory the subs. But what is happening is, whatever page I'm on, it is displaying the full menu under each main category. This is the site that is having the problems http://www.snooz...
by Danielc1234
Wed Feb 04, 2009 6:18 pm
Forum: PHP - Code
Topic: Displaying Html Code within a PHP statement
Replies: 10
Views: 448

Re: Displaying Html Code within a PHP statement

Ziq that WORKED!!!! Thanks so much. I would have never have figured that one out.
by Danielc1234
Wed Feb 04, 2009 6:07 pm
Forum: PHP - Code
Topic: Displaying Html Code within a PHP statement
Replies: 10
Views: 448

Re: Displaying Html Code within a PHP statement

Could you do me a favor?

Using these parameters, could you create what the new line would look like using my variables?

<td class="data"><?php echo (nl2br($_data['value'])) ?></td>

Thanks for your time.
by Danielc1234
Wed Feb 04, 2009 5:59 pm
Forum: PHP - Code
Topic: Displaying Html Code within a PHP statement
Replies: 10
Views: 448

Re: Displaying Html Code within a PHP statement

Below is the .phtml file that is generating the output. The example you showed me seems like it is doing the reverse of what I am trying to do. Unless I'm not understanding it very well. I do not know too much php. <?php     $_helper = $this->helper('catalog/output');     $_product = $this->getProdu...
by Danielc1234
Wed Feb 04, 2009 5:36 pm
Forum: PHP - Code
Topic: Displaying Html Code within a PHP statement
Replies: 10
Views: 448

Re: Displaying Html Code within a PHP statement

Is that information stored in a database? Does the entry go through a function that prevents html from being displayed as html? Yes it is stored in a database. And I'm not sure if it goes through a function or not. How would I be able to tell? This is a shopping cart software that is fully open sou...
by Danielc1234
Wed Feb 04, 2009 5:07 pm
Forum: PHP - Code
Topic: Displaying Html Code within a PHP statement
Replies: 10
Views: 448

Re: Displaying Html Code within a PHP statement

Thats what I thought but for some reason it is not. Take a look on this page at the assembly instructions. It is displaying the html code. http://www.poly- wood -furniture . (take out spaces) com/polywood-chairs/polywood-adirondack-chairs/polywood-adirondack-chair.html And I am using the echo comman...
by Danielc1234
Wed Feb 04, 2009 4:54 pm
Forum: PHP - Code
Topic: Displaying Html Code within a PHP statement
Replies: 10
Views: 448

Displaying Html Code within a PHP statement

Hi all. I'm not sure if I am doing this right, but I some html code that I am pulling from a database via php statement. <td class="data"><?php echo (nl2br($_data['value'])) ?></td> The problem is it is displaying the html code not the execution of the html code, ie links, etc. Is the the ...
by Danielc1234
Sat Dec 20, 2008 6:02 pm
Forum: PHP - Code
Topic: IF Then Display Text on Homepage Only
Replies: 2
Views: 252

Re: IF Then Display Text on Homepage Only

GreenCore, Thanks it worked great!!!!!
by Danielc1234
Sat Dec 20, 2008 5:22 pm
Forum: PHP - Code
Topic: IF Then Display Text on Homepage Only
Replies: 2
Views: 252

IF Then Display Text on Homepage Only

Hi all, new to php. I am trying to put a command in my header that will display some text only if it is the home page or "/" page. <?php if($this->getRequest()->getRequestUri() == '/') { /* show it */ } ?> This is what I have so far, but not working correctly. Can some one tell the full ph...
by Danielc1234
Wed Oct 29, 2008 7:20 pm
Forum: PHP - Code
Topic: Displaying 3 items instead of 4
Replies: 5
Views: 647

Re: Displaying 3 items instead of 4

Yes! That worked....thanks a lot!
by Danielc1234
Wed Oct 29, 2008 4:50 pm
Forum: PHP - Code
Topic: Displaying 3 items instead of 4
Replies: 5
Views: 647

Re: Displaying 3 items instead of 4

I have a backup and have made some small changes, but since I do not know php that well, I am not having much luck.
There was two display features grid and list. Which I only want to use grid and to hard wire to display 4 items accross instead of 3, but dont know which code does that.