Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Links open in new page help please !

Links open in new page help please !

Views: 933

Results 1 to 11 of 11
4 Sep 2013, 1:47 AM
#1
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Links open in new page help please !

Hey guys , im working on my brand new delicious site https://www.bocahydro.com !

on each of the products im going to sell some need to have links either to my support site ( for more pics ) or to a disclaimer ( on support site ) and I really really want the link to open in a new page.

I tried a couple different editors with no success.

The latest one I found was wyzz ( WYSIWYG ) and when you click link it asks if you want to open on same page or new page, the new page option lets you make the link but does not work.

I installed CK Editor , FCK Editor , TIny MCE And had problems with all of them almost as if they installed wrong. CK Editor works for define pages editor and tiny mce and FCK allow you to open a product listing and it shows the editor, but when you h it save it does not save

is this permission related? I tried setting the editors folder to 775 permission, Should I be setting a different folder to 775?

I am new to zen cart and im very happy with what ive accomplished so far, my site is tasty delicious but I would love help with this problem.

Thanks in advance !!!!!

4 Sep 2013, 11:41 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Links open in new page help please !

I have to say you have a lot of nerve coming back here for help after your behavior in your last thread.

That said, assuming your lack of manners was susbstance-fueled, I'm not exactly sure what you're asking here. If you want a link in the product description, the easiest way would be to code it manually, so you can add the target="blank" part to the href that will open the link in a new tab/window.

4 Sep 2013, 4:29 PM
#3
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Re: Links open in new page help please !

http://bocahydro.com/zencart/index.php?main_page=product_info&cPath=3_1&products_id=1

on this page, on the product description I want to link my support page and have it open in a new window for more pics.

How would I make the link? I think I understand about target blank but could you type out a link example.

4 Sep 2013, 4:33 PM
#4
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Re: Links open in new page help please !

Ok I googled it and found this

<a href="http://www.bocahydro.com/support" target="_blank"></a>

I deleted some stuf from an original command

<a href="http://www.w3schools.com/" target="_blank">Visit W3Schools!</a>

is this h ow you would do it?

4 Sep 2013, 4:50 PM
#5
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Re: Links open in new page help please !

Tried using builder and html editor and adding all kinds of stuff, seems to not be working

<!DOCTYPE html> <html> <body>

<a href="http://www.bocahydro.com/support/aeroponics/9-uncategorised/151-a-series-aeroponic-system" target="_blank">Click here to see more pictures on our support site!</a>

</body> </html>
4 Sep 2013, 4:59 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Links open in new page help please !

I'm not sure what program you're using to create this, but it's adding duplicate html and body tags. There should never be more than one of each on a page. Remove what's there now and paste your link (which is correct) into the product description field using plain text and see if it works.

4 Sep 2013, 5:46 PM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Links open in new page help please !

bocahydro:

Tried using builder and html editor and adding all kinds of stuff, seems to not be working

<!DOCTYPE html>

<html> <body>

<a href="http://www.bocahydro.com/support/aeroponics/9-uncategorised/151-a-series-aeroponic-system" target="_blank">Click here to see more pictures on our support site!</a>

</body>

</html>

Zen Cart creates these html commands with the PHP files. They should never be added in any description.

4 Sep 2013, 6:28 PM
#8
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Re: Links open in new page help please !

ok so zencart is making the pages exactly as they want and you cant modify html on each page

so its not possible to do what I want? Basically put a link to open in a new window? With any editor?

4 Sep 2013, 6:36 PM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Links open in new page help please !

You are reading things into my reply. Please look at it again with an eye on the items in RED. Those are the ones to avoid.

You can add any valid html code to a description as long as you are not trying to do it in a WYSWYG editor outside of its own code editor. On CK, you can click on the "<>" and enter code wherever you need it.

4 Sep 2013, 7:54 PM
#11
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Links open in new page help please !

Glad you got it going. Both stevesh and I were saying the same thing in different ways.

Now, consider creating EZpages that doe what you are doing now WITHOUT leaving the cart. What you are doing is like sears on the west side of town having you go to the store on the east side to view the mower you want to buy. Then, you have to return to the west side to buy it. Not sure that's a valid business plan entry.