751
wtravel
Re: Getting variables from url for use in a block ?!?

Steve,

Worked like a charm! Thanks a lot for your help.

Best regards,

Martijn



752
wtravel
Re: Getting variables from url for use in a block ?!?

I also tried defining the variables in location.php as well, but I cannot use that definition in the file where the function for the desired block is used.

So what I would like to know is how I can get the variables I used in the URL into the function for showing a block.

With kind regards,

Martijn



753
wtravel
Getting variables from url for use in a block ?!?

Hi,

I cannot seem to get the variables from the url into the block code. The following is an extract of a custom block. The rest of the block code is working fine.

Quote:

function b_destblocks_show($options) {
global $xoopsDB;
if (isset($HTTP_GET_VARS['locdestid'])) {
$locdestid = intval($HTTP_GET_VARS['locdestid']);
}
...
}


The url I enter is for example:
http://www.worldtravelpublishers.com/modules/testlinks/location.php?locdestid=2

I cannot get the variable for locdestid out of the url for use in the code.

Does anyone have an idea of how to do this?

Thanks,

Martijn



754
wtravel
Re: adding modules to my xoops?

Hi,

I am not sure what kind of content you would like to add, but you can try to install the module wf-sections and see if that serves your needs.

Otherwise you would have to create your own module. I did that for my site, for example http://www.worldtravelpublishers.com/modules/packing/

Anyway, if I were you I would try wf-sections first since it is much easier in use.

Best regards,

Martijn



755
wtravel
Re: adding modules to my xoops?

Hi,

In your download the folder containing the main php files, like index.php and xoops_version.php is the main folder.

Upload the main folder and all files and subfolders in it to your module directory.

If any additional action is needed, like change directory permissions, best do this before you start using the new module. If changing permissions is needed, this will usually be mentioned in the download section where you got the files from. If nothing is mentioned there it should (normally) not be necessary and you can simply start up the module.

To start up the module, go to the XOOPS admin section of your site and then navigate to modules. You will see all installed modules and below you will see all installable modules including the newly uploaded module. Click the button with mouse over text 'install' and then in the next window confirm installation.

Your module is active now, but in order to let members and guests use it, make sure the can view the module. You will have to check if group permissions for these groups are set to view this module. Also do this in the XOOPS admin menu in the section 'groups'.

Good luck!

Martijn




756
wtravel
Re: Banner Management?

Hi,

I'm interested in that module. Can you tell me where I can download it?

With kind regards,

Martijn



757
wtravel
Re: World Travel Publishers.com - Amazon module working

I got my custom amazon module working now. To see what it is like you can have a look at World Travel Site - Amazon module.

In order to make it an official XOOPS module I will need some help from developers, so if you are interested, please let me know. An admin section would need to be created and I have some parameters hardcoded in the templates instead of a confirg file or database.

Regards,

Martijn



758
wtravel
Re: World Travel Publishers.com - what do you think?

Does anyone have an idea on how to merge the Amazon shop section into the XOOPS layout. The shop section is using a cgi script. I am trying to figure out how to code the same kind of shop into php pages.

Regards,

Martijn



759
wtravel
Re: World Travel Publishers.com - what do you think?

Hi,

I started out with a copy of the default theme and then modified the main theme html file. This file arranges the main layout of the website. All the mouseover action is done in css in the same theme directory.

What is also usefull is the possibility to change template files using the administration menu. However, to do so you should clone the default template set (see templates menu) and edit the custom template set.

I hope this helps you a little. If you need any specific information please let me know.

Martijn

Quote:
First, did you begin with a fresh template theme? Or did you modify the default?
...
But mainly, the link action in the main menu, is that part of the CCS?



760
wtravel
Re: World Travel Publishers.com - what do you think?

Hi Mark,

That would be a lot of pointers . What would you like to know?

Quote:

adamsmar wrote:
Really nice; looks original. Please give us some pointers on how you did it.
Mark




TopTop
« 1 ... 73 74 75 (76) 77 »



Login

Who's Online

222 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 222


more...

Donat-O-Meter

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

Latest GitHub Commits