PDA

View Full Version : anchor link to within information page? TERMS & CONDITION


billturner
01-Mar-2008, 06:46 PM
good evening

id like to use an anchor tag and name attribute within the acatalog/info.html area i mean the info.html page

in particular i wantt to link to the back orders bit.

what template do i need to edit.

i opened the act_infoline page but cant seem to find the bit for the back orders, to allow me to put the html in.

any idea how i can do this?

thanx

leehack
01-Mar-2008, 07:31 PM
You need to add anchors into the layouts for each part of the T&C page, you then access these using the # facility. You could just move the required one to the top and link to the page or you could even create your own T&C page (as a brochure page), as fragments (one for each heading) get anchors as standard and use that page for T&Cs instead.

drounding
01-Mar-2008, 09:38 PM
Untested, but you might try adding something like:
!<<a name="myAnchor">>!
into the text of the terms in the Business Settings.

pfb5
01-Mar-2008, 09:44 PM
Quite straight forward - EXAMPLE (http://www.rainbowfloristsupplies.co.uk/acatalog/info.html) same principle though not quite what you are asking.

Go to View | Business Settings | Terms and Conditions tab then each sub-tab needs to be changed to html by putting !!< at the start and >!! at the end of each tabbed section.

Having converted them, line breaks must be separated by <br> and new paragraphs by <p> within each of tabbed sections. (& include any other html or css as required)

Put the anchor ref for the required page at the bottom of the page before it. (Otherwise you lose the title). Therefore in your case the anchor ref for Back Orders needs to go at the very bottom of Delivery Schedule.

You can then link to the anchor and go straight to acatalog/info.html#Back_Orders and include the paragraph title on screen.

(Sorry Duncan my reply took longer to write than yours!)

billturner
02-Mar-2008, 12:44 AM
you guys are absolutely brilliant!!!!

thank you all very very much.

PFB5: on the right side of your page you have the VIEW CARTS box and other text in it. How did you do that and what template did you have to tinker with?
thanx in advance.

pfb5
02-Mar-2008, 08:00 AM
You need to edit 1) Act_BrochurePrimary 2) Act_Primary 3) Act_PrimaryCheckout - in my case I have different wordings in (2) (includes ShowCart) than in (1) & (3).

(1) to make it clearer in brochure pages & (3) doesn't need ShowCart anyway. But you don't have to do it that way, you can make them all the same.

Open Act_Primary and find the part that drives the Cart Panel (I'm sorry I can't post the original code, I lost it long ago).

You can enter your new stuff in here ABOVE the closing code (which should read </td></tr></table><br></td></tr></table><br> before the next panel starts <table width=.....

Please note that I am also using Kermy's GetFullCart script which is available from here (http://www.gbradley.co.uk/actinic/mini-cart) and there are forum discussions to go with it.

billturner
03-Mar-2008, 01:14 PM
pfb5 thanks

where do i find act_primarycheckout - im looking in template manager and clicking all the cart buttons but it doesnt appear.

You actually brought to my attention that i need to add the code in all the primary templates - was wonderign why my site looked a bit odd on some pages.

Do you feel that showing the contents of the cart on every page helps customers?

thanx

Bill

pfb5
03-Mar-2008, 03:05 PM
My site is V7 Smart Theme and Act_PrimaryCheckout resides in the Site1 directory with all the other templates.

There are also other files there that my theme does not use: Act_PrimaryCart, Act_ShoppingCart and Act_ShoppingCartXML - if you are on a different theme, perhaps it's one of those, I am unable to advise.

Or maybe your theme doesn't use a cart template? Make your changes in Primary & BrochurePrimary and see if the Checkout Pages update?


Paul

TraceyG
03-Mar-2008, 04:13 PM
Hi Bill,

where do i find act_primarycheckout
To find out which template your checkout pages are using, go to 'Design | Options | Layouts tab' and you can click the 'edit' button next to the relevant field.

pfb5
03-Mar-2008, 05:01 PM
Thanks Tracey, why didn't I think of that.

Do you feel that showing the contents of the cart on every page helps customers?

Sorry missed that bit earlier.

I don't know really but at the time of Kermy's input there was a bit of discussion about it and I felt that it was an improvement over the standard offering.

My customers sometimes build up pretty big orders - 10, 20 lines, often runs to two pages, and I think it helps them remember where they are, where they've got to, without going back to the cart. Many are small businesses, serving customers, answering the 'phone, getting interrupted - from some of the orders received they must have spent all day connected to the site!

Nobody's ever actually mentioned it one way or the other.

The number of characters from the description is variable - I'd like it to be a few more but there isn't room. Try building up an order with me and see how it helps you? Let me know what you think.

Paul

GAViN™©
10-Mar-2008, 12:25 PM
This method is how I setup the T&C on our website as well.

http://www.dutchwest.co.uk/acatalog/info.html