I don't know how does it works in phpshop, but in phPay it's easy ;-)
You can put any HTMLcode into a file 'langshort_groupname.txt' in text-directory. You find working version in different shops (like smoking.de or geschnuert.de and in online demo). I. e. a file en_public.txt contains all informations in English for usergroup named 'public'.
A link to an detailed view of an item, which have to contain an actual session-id, looks like (copied from demo):
<a href="detail.php?#sessionID#&art_id=43&abt=3&itemgr=5">Gummiblle</a>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-15
In the file: top.php i have som link to the some txt. files in /text dir, but they dosent work ?? hvat do i wrong :-(
My link:
<a href="main.php?sess=<?=$sess?>&viewpg=katalog.txt" target="main">Download ekatalog</a>
My idear is to show this text files in "main" also iwant the shop to start with a html site wit actual offers etc. but i need to hear were i can place this link ??
Best regards henrik
P.S Sorry i wrote phpshop earlier.......
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know where from top.php is, but maybe equal for me.
Your link didn't work, because <?=$sess?> won't be interpreted as PHP (this is a webserver config). Please use main.php.?#sessionID# instead in a file like text/en_public.txt. This replacement works not in any file, because phPay does it only in long descriptions of items, the textfiles and links, which are included via admin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-15
top.php is in a framset with top.php, left.php, right, main.php and bottom.php and all my item etc. shows OK in main but the link to /text cant work proberly ??
Every thing works before i "update" with version 2.01 and the problem is in main.php ?
I need to know how i can make the link to the text files in /text and how i can have a page displayed in main when shop is starting ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A link to the text files is not what I mean. Text files are included in main.php (line 66 - 92; if ($shop=="start") {...}).
If you want to link into phPay from outside (and your top.php is outside ;-) you have to bring the sessionID on a other way into the link.
I.e. you create the frameset from start.php and give sessionID with to top.php. Follow this scheme:
start.php (of course there is more around ;-):
<frameset>
<frame src=top.php?sess=$sess>
<frame src=login.php?sess=sess>
</frameset>
top.php
<a href=main.php?sess=$sess target=...>Link</a>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-12-15
What i wrong here ? I want to have this product when shop start, but i having trobbels with this ?
The link main.php... points to a group of items not to one item. Try detail.php?sess=$sess&abt=88&itemgr=13&art_id=xy where xy is id of the item you wish to show. This is described in help doc: http://phpay.de/admin/help.php?langID=2#dynsess
Are your experminets to view somewhere? It seems, I didn't understand your problem right.
Greetings
Andreas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to make at start page with hot offers text and som foto etc. every time my store loads...
But how can i integrete the site in phpshop ?
I don't know how does it works in phpshop, but in phPay it's easy ;-)
You can put any HTMLcode into a file 'langshort_groupname.txt' in text-directory. You find working version in different shops (like smoking.de or geschnuert.de and in online demo). I. e. a file en_public.txt contains all informations in English for usergroup named 'public'.
A link to an detailed view of an item, which have to contain an actual session-id, looks like (copied from demo):
<a href="detail.php?#sessionID#&art_id=43&abt=3&itemgr=5">Gummiblle</a>
main.php replaces #sessionID# with 'sess=$sess' in line 60.
art_id has the id(!) of item to show not its number.
Visit also http://phpay.de/admin/help.php?langID=2#dynsess
Greetings,
Andreas.
In the file: top.php i have som link to the some txt. files in /text dir, but they dosent work ?? hvat do i wrong :-(
My link:
<a href="main.php?sess=<?=$sess?>&viewpg=katalog.txt" target="main">Download ekatalog</a>
My idear is to show this text files in "main" also iwant the shop to start with a html site wit actual offers etc. but i need to hear were i can place this link ??
Best regards henrik
P.S Sorry i wrote phpshop earlier.......
I don't know where from top.php is, but maybe equal for me.
Your link didn't work, because <?=$sess?> won't be interpreted as PHP (this is a webserver config). Please use main.php.?#sessionID# instead in a file like text/en_public.txt. This replacement works not in any file, because phPay does it only in long descriptions of items, the textfiles and links, which are included via admin.
top.php is in a framset with top.php, left.php, right, main.php and bottom.php and all my item etc. shows OK in main but the link to /text cant work proberly ??
Every thing works before i "update" with version 2.01 and the problem is in main.php ?
I need to know how i can make the link to the text files in /text and how i can have a page displayed in main when shop is starting ?
A link to the text files is not what I mean. Text files are included in main.php (line 66 - 92; if ($shop=="start") {...}).
If you want to link into phPay from outside (and your top.php is outside ;-) you have to bring the sessionID on a other way into the link.
I.e. you create the frameset from start.php and give sessionID with to top.php. Follow this scheme:
start.php (of course there is more around ;-):
<frameset>
<frame src=top.php?sess=$sess>
<frame src=login.php?sess=sess>
</frameset>
top.php
<a href=main.php?sess=$sess target=...>Link</a>
What i wrong here ? I want to have this product when shop start, but i having trobbels with this ?
$url_li ="nav.php?sess=$sess&abt=88&itemgr=13";
$url = "main.php?sess=$sess&abt=88&itemgr=13";
Best regards Henrik
The link main.php... points to a group of items not to one item. Try detail.php?sess=$sess&abt=88&itemgr=13&art_id=xy where xy is id of the item you wish to show. This is described in help doc: http://phpay.de/admin/help.php?langID=2#dynsess
Are your experminets to view somewhere? It seems, I didn't understand your problem right.
Greetings
Andreas.