close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

link not working properly

Thread began 6/08/2012 11:00 pm by amucino12002 | Last modified 6/11/2012 9:38 am by amucino12002 | 870 views | 4 replies |

amucino12002

link not working properly

I created a dynamic link on my page that looks like this:

--
<!-- Begin body -->
<!-- TemplateBeginEditable name="body" --><?php echo((isset($WA_index2getcode_1339220781762))?$WA_index2getcode_1339220781762->Body:"") ?>
<!-- TemplateEndEditable --><!-- End body -->

--

When the page is loaded it loads:

index.php?=page1

page1 is actually page1.php

But when I bring the page up it doesnt display the page in the editable region.

If i do a static one it works just fine, but because I am using a menu bar i need it to be dynamic.

Why is it not displaying the page properly ?
I dont get any errors either.

I guess should be:

index.php?=page1.php

Sign in to reply to this post

amucino12002

I actually double checked and the page is being loaded because i noticed the css being loaded and changing the style of my menu, BUT none of the content is displayed in the 'body'

This is the link: index.php?page=page1

So page1 is being loaded but NOT displayed in the editable region.

What to check for ?

Here is the code for the template that has the framework.

Here is an example of the link in the menu that should load the page:

<li><a href="?page=page2">by name</a></li>

What am I missing ?

Attached Files
Intranet.dwt.zip
Sign in to reply to this post

amucino12002

any idea why the page is not being loaded ? still trying ...

Sign in to reply to this post

Jason ByrnesWebAssist

the problem is that you are adding the code to the template inside an editable region.

code that is inside an editable region in the template file is not transferred to the pages based on the template.


In the template file, change:
<!-- TemplateBeginEditable name="body" --><?php echo((isset($WA_index2getcode_1339220781762))?$WA_ index2getcode_1339220781762->Body:"") ?>
<!-- TemplateEndEditable --><!-- End body -->


to:
<?php echo((isset($WA_index2getcode_1339220781762))?$WA_ index2getcode_1339220781762->Body:"") ?>
<!-- TemplateBeginEditable name="body" -->
<!-- TemplateEndEditable --><!-- End body -->

Sign in to reply to this post

amucino12002

i was missing converting it into a theme.

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