Member
Member
JimL   27-07-2010, 23:26
#1

I created a "published" page to use as my initial "home page" and while I'm logged into my site as admin, it goes to that page. Yet when I test it as a "member" that does not have admin rights, it defaults to the gallery page (index.php I guess). I changed the gallery index page link to gallery vs index.

What do I need to do to make the published page the home page for everyone that logs in regardless of rights. thnks

Member
Member
sbillard   28-07-2010, 00:02
#2

You will probably have to explain exactly what you do to cause this page to be your initial home page. BTW, when you say "page" do you mean a Zenpage Page or just a particular WEB page?

Member
Member
JimL   28-07-2010, 02:45
#3

It's a zenpage page, although I'm using the zpgalleriffic theme. I created the page under the page tab. And I have to be honest, I don't know exactly what I did to make it default to it when I logon. I know I went into the options and plugins and selected/deselected a few things. As I may have mentioned before, I'm not very knowlegeble about writing script and this is my first exposure to zenphoto, although I do like it very much.

Administrator
Administrator
acrylian   28-07-2010, 07:46
#4

Since the zpgallerific theme is not an official one we don't know what it how does.

The official Zenpage theme's functionality requires an unpublished Zenpage page to be set as a home page (to avoid a duplicate appearing in the page menu naturally).

Member
Member
JimL   28-07-2010, 13:59
#5

I even tried using an unpublished page as the home page and its the same. Admin login, it works, no admin rights, defaults to gallery. I realize you don't support "unofficial" themes, I just thought that since it's a compatible theme, you may have an idea why it doesn't work. Perhaps I'll try and go to the author. thanks anyway.

I don't know if this should be in another post, but since I want this to be my home page, can anyone help me by writing a script for me to put in the codeblock of a page. In addtition to the latest news, I want to show the latest photos, by date uploaded, description and the user who uploaded the photo. I've seen the functions for each of these, but don't know how to combine them to put them in the codeblock. Appreciate any help.

Administrator
Administrator
acrylian   28-07-2010, 14:15
#6

Yes, it is marked as compatible but we really don't test if really everything works. It might do things different or not add things we do with the officials.

I just tried and I can't reproduce this with the current Zenpage theme from the svn/nightly. I can set any unpublished page as a home page logged in or logged out. Please try with the Zenpage theme and if it works there it is the theme. I have changed the topic title so its developer spots it as he occasionally visits the forum to my knowledge.

Regarding codeblocks: You have to add the codeblock function with a call to the number of the codeblock to your theme's pages.php. On hte backend you can then add normal php functions like ``.

[i]In addtition to the latest news, I want to show the latest photos, by date uploaded, description and the user who uploaded the photo. [/i]
We have functions for each of that, for the news from the Zenpage plugin and for images from the image_album_statistics plugin. If you want to combine these read the documentation of printLatestNews(). However, no function will show you what user uploaded as Zenphoto does not track that.

Member
Member
Laurent   28-07-2010, 21:16
#7

I try, it's works me. I use a mixed of zpgalleriffic theme and the Zenpage theme.
Maybe you don't use the right option.
I made a print screen of the option to validate in option-->theme:
http://www.latitudes-photos.com/_Explain/option-Zp.jpg

Hope this help
Laurent

Member
Member
JimL   29-07-2010, 03:30
#8

Laurent, I had the correct options as you indicated. thanks anyway.

Acrylian, I changed the theme back to zenpage and still get the same results. My "member" login has all rights except Admin, Options & Themes, yet it still defaults to the gallery instead of the unpublished page, while mine (all rights) goes to my unpublished page. If I give the member admin rights, then it goes to the unpublished page. Not sure what else I am missing here.

Here are the options that I have set in the theme tab

Albums per page: 12
Thumbnails per page: 15
Thumb size: 100
Crop thumbnails: checked
Crop width 85 Crop height 85
Gray scale conversion: none checked
Image size: 595 longest side
Gallery index page link: "none"

Allow search "checked"
Homepage: events (this is my unpublished page)
News on index page "unchecked"
Use Colorbox "checked"
Use custom menu "checked"
Use standard contact page "checked"

I also noticed that when I went back to the zenpage theme the custom menu isnt showing up in the member login. Like I said, it seems giving admin rights makes it work, but I don't want them to have admin rights if I can avoid it.

Administrator
Administrator
acrylian   29-07-2010, 08:35
#9

Sorry, I really can't reproduce that: See http://zenphoto.maltem.de/ (1.3 svn5687)
The setting you make is of course not dependent on the user viewing.

I don't know what you mean with the custom menu/menu manager is not showing in the member menu.The menu manager plugin does not require admin rights.

I can only sugggest to try the nightly build at this point.

Member
Member
Dinamicor   29-09-2012, 18:18
#10

Simplest solutions is to put this inside index.php of selected theme:

Administrator
Administrator
acrylian   29-09-2012, 18:24
#11

That will redirect to another page and is not really the same, is it?

Member
Member
sbillard   29-09-2012, 20:07
#12

Adn without following that with exit(); you will get the rest of the script where it resides run as well.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.