close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Browsing for links

Thread began 6/02/2009 11:14 pm by johnd45081 | Last modified 7/09/2009 9:33 am by johnlanglois | 2724 views | 3 replies |

johnd45081

Browsing for links

I see that in WA_Globals.php you can set the iRite image upload settings for images and swf. By doing this the FCK file manager knows where to find images and flash files to insert in pages. But there is no setting for files to allow me to set the path so that I can insert links between pages.

Am I missing something? How do I set it up so I can browse for links in the root directory where my main page files are stored?

Also for simplicity I have renamed the main folder CMS and changed the root path in WA_Globals.php accordingly. However this change is not reflected in the developer links. Can this be fixed?

It's not a big deal as I am keeping the correct links as a snippet, but it could confuse people who do not have great developer skills.

Sign in to reply to this post

Ray BorduinWebAssist

As the iRite link window allows for a browse the server option as shown in the first screen shot on this page:
Links%2C_E-Mails_and_Anchors
I’d assume that you can set the location that you can browse within. The options for the file type resource on this page:
Built-in
Indicates that you can set the directory. I’m not sure if you can have the browse enabled, but not allow uploads in case that comes up.

Sign in to reply to this post
Did this help? Tips are appreciated...

johnd45081

Expanding the links facility

Sorry, have only just had time to get back to this.

I tried to use the FCK links facility in WA_iRite/editor/filemanager/connectors/php/config.php but gave up - maybe because there is some WA_iRite code that made it work differently.

I was puzzled why PowerCMS set up separate WA_Global links to the images and swf facilities but not to the files and media facilities provided in FCK Editor. In particular I couldn't understand why the files facility was overlooked as the link button in the editor opens that folder.

After several unsuccessful attempts to set the FCK file links correctly, I decided that the easiest way was to convert the files links in config.php to $WAGLOBAL_Files_Folder and the media links to $WAGLOBAL_Media_Folder and to add these features to the WA_Global/WA_Global.php file.

My version of the Folder part myWA_Global.php file is now:

$WAGLOBAL_Files_Folder = "../"; //relative path to your files folder.
$WAGLOBAL_Images_Folder = "../images/"; //relative path to your images folder.
$WAGLOBAL_Swf_Folder = "../swf/";//relative path to your swf folder.
$WAGLOBAL_Files_Folder = "../media/"; //relative path to your files folder.

The files folder link goes the root, the images to /images etc etc.

Sign in to reply to this post

johnlanglois

Originally Said By: johnd45081
  Sorry, have only just had time to get back to this.

I tried to use the FCK links facility in WA_iRite/editor/filemanager/connectors/php/config.php but gave up - maybe because there is some WA_iRite code that made it work differently.

I was puzzled why PowerCMS set up separate WA_Global links to the images and swf facilities but not to the files and media facilities provided in FCK Editor. In particular I couldn't understand why the files facility was overlooked as the link button in the editor opens that folder.

After several unsuccessful attempts to set the FCK file links correctly, I decided that the easiest way was to convert the files links in config.php to $WAGLOBAL_Files_Folder and the media links to $WAGLOBAL_Media_Folder and to add these features to the WA_Global/WA_Global.php file.

My version of the Folder part myWA_Global.php file is now:

$WAGLOBAL_Files_Folder = "../"; //relative path to your files folder.
$WAGLOBAL_Images_Folder = "../images/"; //relative path to your images folder.
$WAGLOBAL_Swf_Folder = "../swf/";//relative path to your swf folder.
$WAGLOBAL_Files_Folder = "../media/"; //relative path to your files folder.

The files folder link goes the root, the images to /images etc etc.  



Thanks for doing WA's job for them.

It appears that your last variable redefines your first variable. Did you mean something else?

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...