Please read before posting on the forums:
Welcome to the Maian Script World support forums. This is the only method for FREE support. If you require assistance or your problem is urgent, think about sending a donation first. Use your descretion with donations. Don`t expect too much of my time for a dollar. :p

You are required to register before you can post. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. Finally, there are no guarantees when a reply will appear. DO NOT post here and also use the contact option. Unless you have sent a donation, this will NOT speed up the response.

IMPORTANT! Posts in English ONLY please, thank you! Any other languages will be ignored.
SEARCH! Use the search option to see if your question has been answered on the forum before.
PRIVATE MESSAGES! Do NOT contact me via the private message option for support. Your message will be ignored.
DOCUMENTATION: Did you check to see if your question has been answered already in the script documentation?
AUTO ACCOUNT DELETION: If you have an account older than 2 months, but have made no posts or started no topics, it will automatically be deleted. Only register if you are thinking of posting. Thanks.

You are not logged in.

#1 14 July 2010 13:25:05

AlexS
Member
Registered: 29 January 2009
Posts: 21

Incorporated friend into cart.

I have sorta incorporated Maian Friend into my recently completed Cart install by just redoing the head and foot templates to mimic my cart templates. I had to hand code the top links to match as the " php includes" don't work. Everything works except the date script does not show up in the Friend page.

I'm just wondering if I did too much work and if I had just created a blank page inside the cart called "anything" ( as I did with the  about page and contact page) with a "php include" in that page pointing to the friend indexphp (without the head and footer pages of friend) would it have loaded the page into my cart page without having to recreate and reload the background images...et, all?

And, now that I've done this work, how do I incorporate the date into the head template in the friend install?

Last edited by AlexS (14 July 2010 13:35:39)

Offline

 

#2 17 July 2010 06:53:15

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 9 May 2006
Posts: 4482

Re: Incorporated friend into cart.

I`m not 100% sure what you need, but PHP can be used in any .tpl.php file, so you can use the PHP date function:

http://php .net/manual/en/function.date.php


David.

Maian Script World
http://www.maianscriptworld.co.uk

Offline

 

Board footer

MSWorld Forum
© R. Andersson