Im running a gaming site and have a different topic for every game.
Are the following possible :
1) I would like to have at the bottom of every article a link that would say buy this game on amazon.com
> i retrieves the topic name and inserts in the link so when the suer cliks the link it brings him to the amazon search results.
2) At the top of every topic page and article i kneed a link that says 'Search for Downloads for (Topic/(Game) Name)' then points to the search results for downloads
> Its again a mather of knowing how to handle search queries and to know how to retrieve the topic name and insert it into the query ...
3) Is it possible to have a block under related stories that displays all the pics in a directory
> If my topic is called half-life2 its retrieves and displays all pics in the directory /images/screens/half-life2/
I think these features if they are fesable would be very useful to many gaming sites running on postnuke.
Thanks in advance for your help :)
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- nestormateo responded to »Fillters in Clip« 06:33 AM
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 03:19 AM
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Search Query and others useful things
-
- Rank: Senior
- Registered: Sep 22, 2003
- Last visit: Oct 21, 2009
- Posts: 2774
Most of what you want to do can be done in the theme.php in the themearticle() part that displays the whole story.
To get the topic name, for example, you would use the variable $info[topictext]. You could then include it in your theme as part of a query string pointing to the Amazon search (assuming you can do that sort of thing with Amazon.)
Check this post in the first section for a link to a story variable reference for other story vars at your disposal.
As for #3, I don't know about a block, but remember that PHP is at your disposal where themes are concerned, so you could include any PHP you find to fetch and display images in a particular directory based on the story topic, etc... A better solution, I think, would be to install a gallery module and then have a link at the bottom of articles to the gallery subsection based on the topic.
--
Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods
Cape Cod Travel Info...
- Moderated by:
- Support
Users on-line
This list is based on users active over the last 60 minutes.
