close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Templates/ being added to PowerCMS telephone link

Thread began 1/02/2017 2:37 pm by Jason | Last modified 1/13/2017 1:32 pm by Ray Borduin | 1653 views | 10 replies |

Jason

Templates/ being added to PowerCMS telephone link

I have a region in my PowerCMS that contains this source code (I've verified this in the editor using the source option and in the database itself, and it's definitely what's there): <a href="tel:6183518463"> | 618.351.(VINE) 8463</a>

But, when it displays on my website it's<a href="Templates/tel:6183518463"> | 618.351.(VINE) 8463</a>

Any idea why it's adding Templates/?

Sign in to reply to this post

Ray BorduinWebAssist

That looks like a bug in framework builder. You must be using a theme or plugin and and it is trying to update your path.

To fix this open up the file: webassist/framework/framework.php and find this line:


$ignore = '/^(https?:\/\/|mailto:|javascript:|#|\/)/i';

and replace it with:

$ignore = '/^(https?:\/\/|mailto:|javascript:|tel:|#|\/)/i';

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

Jason

Thanks for the quick response!

My current line looks like this:
$ignore = '/^(https?%3A%2F%2F|https?:\/\/|mailto:|javascript:|#|\/)/i';

Should I add leave the extra stuff and add the tel, or just copy what you sent me?

Sign in to reply to this post

Ray BorduinWebAssist

just add the tel. I have a local version that might be older that I used as a reference:

$ignore = '/^(https?%3A%2F%2F|https?:\/\/|mailto:|javascript:|tel:|#|\/)/i';

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

Jason

Awesome. Thanks Ray!

Sign in to reply to this post

Jason

Framework Builder overwriting changes

Anytime I use the framework builder now it changes the new line

$ignore = '/^(https?%3A%2F%2F|https?:\/\/|mailto:|javascript:|tel:|#|\/)/i';

back to the old line

$ignore = '/^(https?%3A%2F%2F|https?:\/\/|mailto:|javascript:|#|\/)/i';

I've managed to catch it everytime so far, but I know I'll forget eventually and end up back in the same spot I started. Is there anyway to prevent it from overwriting the changes?

Sign in to reply to this post

Ray BorduinWebAssist

You can update it in your Dreamweaver configuration folder. Just navigate to your User configuration folder for Dreamweaver and find the file: Shared/WebAssist/Framework/Includes/framework.php

Updating it there will update the version used when applying on future sites as well.

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

Jason

I can't seem to find that folder Ray. I'm looking in C:\Program Files\Adobe\Adobe Dreamweaver CC 2017\configuration\Shared, but that's as far as I got before I lost the trail. There's no webassist folder in there. I'm showing hidden files and folders, but still no luck. Am I looking in the right place? I also tried searching C:\Program Files\Adobe\Adobe Dreamweaver CC 2017\ for framework.php, but I didn't get any results. I'm running the latest version of DW on Windows 10.

Sign in to reply to this post

Jason

Nevermind! I forgot about using %appdata%. I got it. Thanks Ray!

Sign in to reply to this post

Ray BorduinWebAssist

That is the wrong configuration folder.

Open up windows explorer and type in: %appdata% as the path.

That will take you to the correct root where you can drill down to the dreamweaver configuration folder where the file resides. It will be something like: C:\Users\jason\AppData\Roaming\Adobe\Dreamweaver CC 2017\en_US\Configuration

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

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...