Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / December 2007

Tip: Looking for answers? Try searching our database.

how to insert .php code in website designed using publisher

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ricky - 31 Oct 2007 07:34 GMT
I am creating a web site using ms publisher. i want to use a photo gallary
which displays pictures stored in a folder. pls help
DavidF - 31 Oct 2007 21:20 GMT
You might be able to get it to work. You would probably use the insert html
code fragment tool to insert the code that works with the php, but there is
not built-in support for this.

You might want to consider Porta or JAlbum instead. They use javascript and
I have used both in Publisher web sites. Porta is the easiest of the two.
Both are free.

DavidF

>I am creating a web site using ms publisher. i want to use a photo gallary
> which displays pictures stored in a folder. pls help
div - 21 Dec 2007 08:49 GMT
hi, i've successfully inserted my php code in the htm page made with
publisher 2007, and saved the page as .php in dreamweaver. but when i
reopened my php page in publisher, the whole design disappeared and code
started showing on the page in publisher.
pls let me know how to open my php page in publisher.

> You might be able to get it to work. You would probably use the insert html
> code fragment tool to insert the code that works with the php, but there is
[quoted text clipped - 8 lines]
> >I am creating a web site using ms publisher. i want to use a photo gallary
> > which displays pictures stored in a folder. pls help
Mike Koewler - 21 Dec 2007 16:25 GMT
Pub opens files with a .pub extension. If you want to open a php file,
try NotePad.

Mike

> hi, i've successfully inserted my php code in the htm page made with
> publisher 2007, and saved the page as .php in dreamweaver. but when i
[quoted text clipped - 14 lines]
>>>I am creating a web site using ms publisher. i want to use a photo gallary
>>>which displays pictures stored in a folder. pls help
div - 21 Dec 2007 17:15 GMT
Mike thanks for the reply,
but what i really wanted is: how to modify my 'design' (that i created in
publisher) once i've inserted my php code.
do u mean to say i'll have to open my original '.pub', modify the design and
then insert my php code once again?

> Pub opens files with a .pub extension. If you want to open a php file,
> try NotePad.
[quoted text clipped - 19 lines]
> >>>I am creating a web site using ms publisher. i want to use a photo gallary
> >>>which displays pictures stored in a folder. pls help
Mike Koewler - 22 Dec 2007 22:12 GMT
div,

You shouldn't have to add the php code more than once, if you've
inserted as an html code fragment or into an iframe (my favorite way for
many snippets) Specifically, what code are you using? PHP is fluid,
meaning it can adjust to a browser's resolution.

Mike

> Mike thanks for the reply,
> but what i really wanted is: how to modify my 'design' (that i created in
[quoted text clipped - 25 lines]
>>>>>I am creating a web site using ms publisher. i want to use a photo gallary
>>>>>which displays pictures stored in a folder. pls help
DavidF - 22 Dec 2007 03:42 GMT
You can use the insert html code fragment tool to insert code fragments,
scripts etc. to bring some dynamic functions to a static Publisher web page.
How or why you are trying to combine or insert .php files, code or pages
into a Publisher page seems beyond the scope of a Publisher built website.
Perhaps you should read more about php scripting language:
http://en.wikipedia.org/wiki/PHP
http://www.php.net/

Or maybe you are making all this more complicated than you need. If there
are design elements on the php page that you want on your Publisher page,
why not just copy and paste?

Dreamweaver? Why are you trying to combine three different tools to build
your site?

More specifically what are you trying to do?

Good luck.

DavidF

> hi, i've successfully inserted my php code in the htm page made with
> publisher 2007, and saved the page as .php in dreamweaver. but when i
[quoted text clipped - 18 lines]
>> >gallary
>> > which displays pictures stored in a folder. pls help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.