![]() |
|
Identifiers? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Identifiers? (/thread-7144.html) |
Identifiers? - micheall - 2010-06-04 Ok, so I'm working with the facebook Open Graph stuff working on the new plugin. One of the things that you can pass is certain descriptive data for the like buttons etc, like page title, thumb image etc. Running into a couple issues though. Not every page in zen uses the same identifiers etc. For instance, if I'm on a zenpage page I can use "getBarePageTitle" for the page title. If I'm on an image page, I would have to use getBarImageTitle. Is there a simple way to identify what type of page you're on? For instance something like Identifiers? - micheall - 2010-06-04 I see there is a isImagePage, but I don't see anything for pages... isMyPage if it was the users page, I guess that might work in a single-admin style environment. Edit: Identifiers? - sbillard - 2010-06-04 There is also the global For a good example of its use, look at the Identifiers? - acrylian - 2010-06-05 We have also for Zenpage: You will of course have to check if the plugin is enabled by using If using CombiNews mode for hte news loop you can even differ the type of the news entry with: |