Page 1 of 1

How to reference page fiels

Posted: Wed Dec 03, 2025 5:01 pm
by datapointsoftware
When the page is created the reference to CSS, IMAGES etc is created automatically and these files are usually saved in subfolder of the specific page. How can I place these files in some other folder (outside of page root) and then reference them in the page code.
I am able to do this manually, but I need to automate it, so I do not have to repeat manual work if I need to do this same process for 100+ pages or so.

Re: How to reference page fiels

Posted: Wed Dec 03, 2025 5:48 pm
by Pablo
You can control the \output folder of file types in Tools -> Options -> Publish

Re: How to reference page fiels

Posted: Fri Jan 09, 2026 12:42 am
by datapointsoftware
I checked this and I'm still a bit confused.

1) I would like to embed WWB page into another page, so I would like to have all extra files in a root folder of that WWB page. that is not only images and CSS, but also PHP and JS. Shall I leave these folder names empty in the File Extension window ?

2) Additional question: is it possible to place WWB generated styling inline inside HTML files (so I do not have to reference them) ?

3) Is it possible to keep all images, CSS, JS in one global folder for entire site (instead of having each page keep its own subfolders ?
==================================================
Here is one scenario:

I created a page in WWB. The fragment of code below:

Code: Select all

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Digital Agency</title>
<meta name="generator" content="WYSIWYG Web Builder 20 - http://www.wysiwygwebbuilder.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/polish_info.css" rel="stylesheet">
<link href="css/Polinfo_services.css" rel="stylesheet">
<script src="js/jquery-3.7.1.min.js"></script>
<script src="js/jquery.ui.effect.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function(event)
{
   var sectionTeam_card_item0 = document.querySelector('#sectionTeam-card-item0');
I would like to automate replacing the HREF's with this (below). The page blow is a PHP page in which I want to embed WWB page (above).
For the reason I am not going to explain here I cannot place the embeded WWP page into the same folder where the parent PHP page is.

Code: Select all



<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Digital Agency</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="wb/css/polish_info.css" rel="stylesheet">
<link href="wb/css/Polinfo_home_page.css" rel="stylesheet">
<script src="wb/js/jquery-3.7.1.min.js"></script>
<script src="wb/js/jquery.ui.effect.min.js"></script>
<script src="wb/js/popper.min.js"></script>
<script src="wb/js/bootstrap.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function(event)
{
   var sectionTeam_card_item0 = document.querySelector('#sectionTeam-card-item0');
   var bssectionTeam_card_item0 = new bootstrap.Tooltip(sectionTeam_card_item0, {placement:'top', html: true, sanitize: false, title: '<span 

another words I need to update the paths to something you see in the second section of code.

What do I need precisely in the File extensions path ?

The structure would look like this:

FOLDERs:

/MYPAGE/
MyPage1.php
-----/WB/
-----------WWB-Page.html
----------------------------/IMG/
-------------------------------------Image1
-------------------------------------Image2...
-----------------------------/CSS/
-------------------------------------file1.css
-------------------------------------file2.css
------------------------------/JS/
--------------------------------------File1.js
and so on

As you see all I need to add is "/wb/" into all generated pages in all references. Since I am going to have many of these, way to many to do this manually, I need some kind of automation. Then when I copy generated WWB page into /wb/ folder I do not have to do anything else and all subfolders will be referenced in the parent page correctly.

One problematic issue is that the setting you recommended seems to be global and I need it per project. In some projects I would not need this re-routing at all.

Re: How to reference page fiels

Posted: Fri Jan 09, 2026 7:49 am
by Pablo
I’m sorry, but this structure will not be possible.

A tool like WYSIWYG Web Builder, where HTML is generated based on visual design, cannot provide this level of control.

It’s important to understand that WYSIWYG Web Builder is essentially a toolbox that combines hundreds of third-party tools and scripts. Because of this, there is no practical way to make all of these scripts compatible with a single, rigid structure.
One problematic issue is that the setting you recommended seems to be global and I need it per project. In some projects I would not need this re-routing at all.
The settings are project-specific, which means they can be configured differently for each project.

Re: How to reference page fiels

Posted: Sun Jan 11, 2026 8:00 pm
by datapointsoftware
Of course I have no problem to configure the paths for specific project. That is precisely what I was talking about. I simply need an option to set the path for generated CSS/JS/IMG files. If I can place these files in the same folder with the index.php or index.html I am OK. I just need a confirmation from you how to set the file types setting for that (?)

Where these file go when I leave the folder names empty ?

Re: How to reference page fiels

Posted: Sun Jan 11, 2026 8:43 pm
by Pablo
You can set the target folder of file type in Tools -> Options -> Publish
If you wan to place the files in the root then remove the file type from the list.