Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 06:14 am EST
Geeklog Forums
is it possible to link *relative* help files
Status: offline
vbgunz
Forum User
Full Member
Registered: 01/24/03
Posts: 169
I wish to start documentation on Geeklog 1.3.7sr1 and need a little help.
When you click on Blocks under Admins Only and select a block you're presented with the Blocks editor...
I really need to make the help files *relative*... In other words no *http://*... Is this possible?
Where is the Block Editor located in the tree and where are the actual blocks located? Maybe niether is important but can the help file be a relative link? Any help is greatly appreciated, Any ideas and suggestions are welcomed too.
Thanks in advance
Plus, this is not that important but would be icing on the cake... Is it possible to open up help files inline instead of in a new blank document?
Thanks again
Victor B. Gonzalez -
http://aeonserv.com
Victor B. Gonzalez -
http://aeonserv.com
5
8
Quote
Status: offline
squatty
Forum User
Full Member
Registered: 01/21/02
Posts: 269
Not sure about the relative path but, you can definitely change the help page so it opens inline. To do so, edit the COM_startBlock in lib-common.php. Simply remove the target tag from the href.---Danny @ squatty.com
In a world without walls and fences, who needs Windows and Gates?
In a world without walls and fences, who needs Windows and Gates?
7
9
Quote
Anonymous
Anonymous
I would like to get it to open up inline *within* the center block... I am sorry I did not clear that up but is it possible to get the help file to open up *within* the center block?
Thanks again
8
9
Quote
Status: offline
squatty
Forum User
Full Member
Registered: 01/21/02
Posts: 269
Two approaches come to mind:
1) On my site I use static pages for help pages. Create a static page and use the link (http://yoursite/staticpages/index.php?page=20020914095248572) as the help page url. One advantage of using a static page is that you can search the contents and apply permissions.
2) Create standalone php pages that wrap your static content and then add the link (http://yoursite/page.php) as your help page url.
Here's how you wrap static content:
<?php
require_once('/path/to/lib-common.php');
$start = COM_siteHeader('menu');
$start .= COM_startBlock('Some Title');
echo $start;
?>
Place HTML code here
<?php
$end .= COM_endBlock();
$end .= COM_siteFooter(true); //true if you want right blocks
echo $end;
?>---Danny @ squatty.com
In a world without walls and fences, who needs Windows and Gates?
In a world without walls and fences, who needs Windows and Gates?
8
7
Quote
Status: offline
vbgunz
Forum User
Full Member
Registered: 01/24/03
Posts: 169
Thank you Squatty, this is very valuable information. I am still hunting down how to make it relative and once I discover how I promise to publish it. Thanks for everything
My plan is to do like you say and hunt down relative links by right clicking the actual working links on the pages and going to properties and or view source.
Thanks for everything ---Victor B. Gonzalez
Victor B. Gonzalez -
http://aeonserv.com
Victor B. Gonzalez -
http://aeonserv.com
7
6
Quote
All times are EST. The time is now 06:14 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content