1
robin_wangaz
PageWrap Ver 1.01

Hi all
I am using pageWrap in XOOPS 2.2.3a final to publish HTML content on a test site to display a range of other HTML content contained in /modules/pagewrap dir which is displayed in the centre block. All links to these HTML pages display as required.
I am wanting to have a set of external links for each piece of HTML to be displayed in the right hand block using a custom block but I can only have one custom block per module as the HTML in the dir is not recognised as part of the module.

Is there:
1. any way of associating the righthand block to the HTML content within the module?
2. any way for the content to be recognised as part of the module to enable a custom right block to be associated with that section of the module?
3. a compatibility issue in my version of xoops?

NOTE - the //$modversion['sub'][1]['name'] = doesn't seem to work for me.
Here is the modversion edit I have in the module xoops_version.php

// Admin things
$modversion['hasAdmin'] = 0;
//$modversion['adminindex'] = "admin/admin.php";
//$modversion['adminmenu'] = "admin/menu.php";

// Menu for submenus in main menu when page loads
$modversion['hasMain'] = 4;
//$modversion['sub'][1]['name'] = "contentname1";
//$modversion['sub'][1]['url'] = "contentname1.php";
//$modversion['sub'][2]['name'] = "contentname2";
//$modversion['sub'][2]['url'] = "contentname2.php";
//$modversion['sub'][3]['name'] = "contentname3";
//$modversion['sub'][3]['url'] = "contentname3.php";
//$modversion['sub'][4]['name'] = "contentname4";
//$modversion['sub'][4]['url'] = "contentname4.php";

Cheers robin_wangaz

2
carnuke
Re: PageWrap Ver 1.01
  • 2006/9/1 20:09

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


You could try using an iframe in a block which displays in the main contents page. Give the iframe a name. Now in your RHS block which has links, target the links to module page url+iframe name. I haven't tried this in xoops, but it has worked for me in other applications.

It should load the pages linked in the side-block into the iframe in the main content page, plus of course the original contents.

If you don't want the original contents to be included, you could make a dummy module say from 'My Page' insert No content into it but make a block to display in the module. In the block make an Iframe as above and tarhet the side-block link results.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

3
robin_wangaz
Re: PageWrap Ver 1.01

Thanks Carnuke for the prompt reply! This sounds promising
Wiil Try Thanks again

robin_wangaz

4
nhatban
Re: PageWrap Ver 1.01
  • 2006/9/1 23:08

  • nhatban

  • Just popping in

  • Posts: 7

  • Since: 2006/7/25


Have you tried the wraps by GIJOE?

5
robin_wangaz
Re: PageWrap Ver 1.01

Hi There
I have decided to re-create the pagewrap module so i can install from admin.
Adjusting the xoops_version.php dirname and name values as follows seems to be OK as far as installing into XOOPS goes!

$modversion['name'] = "links"; //name of module
$modversion['version'] = 1.01;
$modversion['description'] = "Empty module for wrapping static content, for including extermal content, or for displaying content in center blocks";
$modversion['author'] = "James Morris";
$modversion['credits'] = "Original concept by JackJ of http://www.macambridge.com/";
$modversion['help'] = "https://xoops.org/";
$modversion['license'] = "GPL";
$modversion['official'] = 0;
$modversion['image'] = "admin.png";
$modversion['dirname'] = "links"; //name of directory

Will FYI later in regards to block setup.

Thanks again robin_wangaz

Login

Who's Online

486 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 486


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits