close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Dynamic pages from different templates

Thread began 9/27/2011 2:51 am by jonas374655 | Last modified 9/27/2011 10:05 am by Jason Byrnes | 582 views | 1 replies |


Dynamic pages from different templates

I have previously created a website where almost all the pages have different layouts.
In addition, most pages in multiple languages​​.
Each pages is static with a php-menu included, times the number of languages. A total of 65 pages in three languages.
Now I want to convert the site into a database-driven, dynamic site - without changing the pages layouts.
I want to create content management system, administration options, File Upload, database-driven forms and be able to add text for each language on the same page.
If I have understood correctly, all the pages builds from the same template.
Amateur as I am, I wonder if you could not put the link to the template page in the table in the database. And then tell the system to use this particular template. In other words, I would not have 65 pages but only 21 pages as template pages.

Sign in to reply to this post

Jason ByrnesWebAssist

Using a database variable to tell the site what template to use will not be quite doable, but there are a couple of other options.

1) Using Framwework builder, you could convert the templates to Themes. Then apply the Dynamic theme to your pages based on a session variable or a url variable.

2) you could create a separate database for each languages content, then use subdoamins and Dynamic Connections to connect to the correct database for that language. for example, the subdomains could be:

then set up dynamic connections to point to the spanish version of the database, and to the english version of the database.

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





Ease of use


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