Search found 49 matches

by kees
Mon Nov 23, 2009 10:35 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

The inserted code at step 3a should be:

Code: Select all

<script type="text/javascript">
 if (top != self) top.location = self.location;
 var file = location.search ? unescape(location.search.substring(1)) : "./Velkommen/Velkommen.php";
</script>
by kees
Mon Nov 23, 2009 5:21 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

FAVTdk wrote:what have I done wrong
Can you give the exact url of the main page (with the iframe)?
by kees
Fri Jun 05, 2009 2:13 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

Patr100 wrote:Does the following code need to be modified?

Code: Select all

onLoad = "self.IFrameName.location.href = file"
Yes.
IFrameName should be changed to the name of your Inline Frame.
by kees
Thu Jun 04, 2009 10:39 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

Patr100 wrote:Right thanks I think I just need the script on the sub pages so anyone finding them on Google will get taken to a navigation page.
... and did not get the page they were looking for :?

I would advice to perform the modifications on the main page as described.
by kees
Thu Jun 04, 2009 8:09 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

If you only add the code on the subpage, then the main page will be loaded plus the default subpage.

If you want the chosen subpage in the Inline Frame, then you should perform the steps for the main page.
by kees
Sun Apr 26, 2009 5:30 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

and how to use this code in several pages ? Step 1 should be done for all sub-pages. And if have more than one inlineframe, do i have the code to each iframe ?. Yes. The name of the concerning Inline Frame should be adapted in step 3b. But mind this solution does not work for multiple Inline Frames...
by kees
Thu Apr 23, 2009 10:19 pm
Forum: Share self-made extensions with other users of WYSIWYG Web Builder
Topic: NEWS LETTER & MAILING LIST Extension!
Replies: 42
Views: 100618

PHP Notice: Undefined variable: HTTP_SERVER_VARS in E:\home\c2service.nl\public_html\ccmail\config.php on line 48 It mean your php version is too old, I think. No, the script is too old. In PHP 5 the variable $_HTTP_SERVER_VARS is no longer defined. Actually, if this extension works fine on your we...
by kees
Sun Apr 19, 2009 7:18 pm
Forum: Share self-made extensions with other users of WYSIWYG Web Builder
Topic: MySQL Members System - v1.0 BETA FULL VERSION!
Replies: 23
Views: 35475

madjamonline wrote:No bug! :wink:
But it isn't valid php, unfortunately. I think you mean:

Code: Select all

<?php 
$showusericon = "No"; 
if($showusericon == "Yes") 
{...
Please put this code at the start of any php page and fix all errors before you publish it:

Code: Select all

<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
?>
by kees
Sun Apr 19, 2009 5:39 pm
Forum: Share self-made extensions with other users of WYSIWYG Web Builder
Topic: MySQL Members System - v1.0 BETA FULL VERSION!
Replies: 23
Views: 35475

madjamonline wrote:Might be a few bugs...
For example:
<?php
$showusericon = No;
if($showusericon = "Yes")
{...
by kees
Tue Mar 24, 2009 3:06 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: A Member System in PHP with some extras
Replies: 37
Views: 185952

At the end of the tutorial there is a download link for a working example. Does that help you?
by kees
Mon Mar 16, 2009 6:31 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

In step 3b you inserted this:

Code: Select all

onLoad = "self.IFrameName.location.href = file"
But the name of your Inline Frame is not IFameName. Your Inline Frame is named InlineFrame1.

The name in the code must be the same as the Inline Frame name.
by kees
Mon Mar 16, 2009 3:07 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: A Member System in PHP with some extras
Replies: 37
Views: 185952

The 'Member System' and the 'News Writer' have no relationship, they work independent.
by kees
Mon Mar 16, 2009 2:51 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

genieuk wrote:Is it possible for it, when it takes you to the page the iframe is on for it to select the page the person originall wanted to see?
That's exactly how it works. Doesn't it work that way on your site?
by kees
Mon Mar 16, 2009 6:33 am
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

genieuk wrote:now is this tip suppose to when someone tries accessing the page directly redirect them to tutorials.php in my example so they cannot view the page directly with no navigation menu etc
Yes.

What is the url of your site? Then we can take a look at what you did.
by kees
Sun Mar 15, 2009 5:18 pm
Forum: WYSIWYG Web Builder Tips, Tricks, Tutorials and Code Examples
Topic: Sub-pages should open in an Inline Frame
Replies: 29
Views: 126272

My inline frame is on a page called tutorials.php so do i replace index.html with tutorials.php ? Yes. also what about the ? after the .html do i need to keep that there? Yes, of course. Why else should it be there? where it says sub_1.html do i replace that with the main webpage page name that is ...