Author |
Message |
14/09/2004 09:10:34
|
Anonymous
|
Hi,
I am including guestbook into the table on main page with link like that:
http://www.mysite.com/index.php?id=gbook
(all subsites on my WWW site are loading that way.)
,where gbook means a gbook.php file.
Inside gbook.php file there is a code to including main page of guestbook.
Main page of guestbook is displaying correct but - links not matching eg. new entry link is http://www.mysite.com/addentry.php and of course it does't work. If I change /* guestbook pages */ section and add prefix guestbook/" - links are like http://www.mysite.com/guestbook/addentry.php and it is opening at whole windows not inside main www site table. It could be stay like that but another problem is that links inside that page are like http://www.mysite.com/guestbook/guestbook/addentry.php (guestbook added twice)
I tried to change in config.inc.php file:
$GB_PG["base_url"] = "http://www.mysite.com/guestbook"
into:
$GB_PG["base_url"] = "http://www.mysite.com/index.php?id=gbook"
...but it doesn't work correctly.
So generally problem is - how to include guestbook into a table..
Anyone can help me ?
|
|
14/09/2004 09:52:09
|
amber222
Graduate
Joined: 07/05/2004 21:13:07
Messages: 586
Offline
|
Check the setting for your base url in admin/config.inc.php on or around line 59:
No guarantees. If it doesn't work, maybe leave a link so someone can see what's up with it.
|
|
14/09/2004 19:18:01
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Mike007 wrote:Hi,
I am including guestbook into the table on main page with link like that:
http://www.mysite.com/index.php?id=gbook
(all subsites on my WWW site are loading that way.)
,where gbook means a gbook.php file.
Inside gbook.php file there is a code to including main page of guestbook.
<snip>
So generally problem is - how to include guestbook into a table..
Anyone can help me ?
Wow complicated. I just use a header and footer file on my site then use php include to add it to the start and end of every content page. For the guestbook I just put the includes at the start and the end of the index.php and addentry.php files.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
15/09/2004 09:41:46
|
Anonymous
|
amber222 wrote:Check the setting for your base url in admin/config.inc.php on or around line 59:
No guarantees. If it doesn't work, maybe leave a link so someone can see what's up with it.
link is here: http://www.vietcong.pl/index.php?id=ksiega
base url settings:
$GB_PG["base_url"] = "http://www.vietcong.pl/guestbook";
|
|
15/09/2004 10:11:19
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The quick fix is to hard code the correct links into the guestbook. The links are in the relevant template files.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
15/09/2004 10:17:08
|
Anonymous
|
Carbonize wrote:The quick fix is to hard code the correct links into the guestbook. The links are in the relevant template files.
So I should change links inside each template files ?
|
|
15/09/2004 16:05:03
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Just fix the links that are not working. I cannt be sure as to which files you need to edit as I am at work right now.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
21/09/2004 22:41:20
|
Anonymous
|
I've seen some mention of this, but I have been unable to access the file. Ultimately, I'd like to change some of the wording in the Guestbook. I assume that I would do this by changing the BOOKMESS.. entries in the config.inc.php file...
Can someone please tell me if I am going in the right direction and how to get into the config.inc.php file??
Thanks,
Johnny
|
|
21/09/2004 22:44:35
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
the file you want is in the lang directory. Probably english.php. This is where all the wording is stored and why AG is easily customisable to any language.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|