Free Web Hosting Forum
(#11 (permalink))
Old
Junior Member
tempz is on a distinguished road
 
Posts: 17
Join Date: Jul 2012
Default 07-15-2012, 01:34 PM

Quote:
Originally Posted by Isengard View Post
Yeah the images on the side are the ones I am referring to. Is there a way to hide or have those images on some pages and display on others?
Do you mean i.e.

www.mywesbite.com/?id=gallery

and display your images that way?

and use hyper links on your side menu to access that page?

You can set up .htaccess to that page when you click it you're promoted for a password.
Reply With Quote
Sponsored Links
(#12 (permalink))
Old
Member
Isengard is on a distinguished road
 
Posts: 32
Join Date: Jun 2012
Default 07-15-2012, 09:21 PM

Shock I did not find anything that I wanted in the link provided.

Tempz I am sorry but I don't understand your question.


What I want is to display my galleries on certain pages and not have them display on others. Or at least put different ones in its place

Thank you for all of your help and time
Reply With Quote
(#13 (permalink))
Old
Junior Member
tempz is on a distinguished road
 
Posts: 17
Join Date: Jul 2012
Default 07-15-2012, 09:31 PM

I see now!

This is a simple but effect way that you may understand I don't want to be so complicated



Create a file coded gallery.php in this file add:

Code:
<table style="width: 39%; height: 270px">
	<tr>
		<td><img src="url" /></td>
		<td><img src="url" /></td>
		<td><img src="url" /></td>
	</tr>
	<tr>
		<td><img src="url" /></td>
		<td><img src="url" /></td>
		<td><img src="url" /></td>
	</tr>
</table>
then create your private page and where ever you want your gallery to be shown!

then add the code


Code:
<?php include "/myfiles/gallery.php"; ?>
This will display your gallery or anything inside of gallery.php

You just add that simple line of code to your website page and it will appear, you can play with the width and height of table - if it's to big or small.

I hope this helped

If you want a Dynamic gallery visit - http://www.dynamicdrive.com/dynamicindex4/indexb.html

Have fun!
Reply With Quote
(#14 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 4,231
Join Date: Jul 2011
Location: UK
Default 07-15-2012, 10:05 PM

This adds a gallery to the navigation bar.

Reply With Quote
(#15 (permalink))
Old
Member
Isengard is on a distinguished road
 
Posts: 32
Join Date: Jun 2012
Default 07-15-2012, 11:17 PM

Ok thanks for the code and thanks for the descriptive picture.

I did what Shock gave me but not necessarily what I wanted but it works as an alternative.

As for the code what do I put in for ""url"" the website's, the pictures, or the gallery

Thanks again for all of your help and time
Reply With Quote
(#16 (permalink))
Old
Member
Isengard is on a distinguished road
 
Posts: 32
Join Date: Jun 2012
Default 07-15-2012, 11:24 PM

Oh did I mention or did you see that I had edited the gallery to be there in the template, should I remove it in order to do what I want but I want it displayed like it is now
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com