Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Creating php pages in wordpress

Options
  • 22-07-2008 9:04pm
    #1
    Registered Users Posts: 3,370 ✭✭✭


    Hi Lads,
    I'd like to create a few pages in wordpress that will for example allow a user to enter details of club members into a database and the likes.
    What's the best way to go about this? I'd like to use something within wordpress i.e. create a wordpress page but include my own php and stuff like that.
    Also I'd like to add in a page like this: http://www.zuzuspetalsarcadia.com/find.php I know how to do it but don't know how to set up the api in wordpress?
    Any help you can give me would be appreciated.
    Thanks
    Gary


Comments

  • Registered Users Posts: 7,739 ✭✭✭mneylon


    There are a few plugins for WP that allow you to include php in your pages ie. wrap the code in the templates.

    I'd check out the WP plugins site for more details


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    I thought there was a setting in the config where you can include a [php] tag ? (maybe it was a plugin)


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    There used to be a plugin - no idea about an option, as I stopped using Wordpress ages ago


  • Registered Users Posts: 3,370 ✭✭✭randombar


    I know I should move to joomla and the likes it's just for the freebies I don't like having to do too much work.

    www.ballygarvangaa.ie


  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    I know it's off topic sort of, but the main nav menu pop-ups work terribly for me in FF3.0.1


  • Advertisement
  • Registered Users Posts: 3,594 ✭✭✭forbairt


    Mirror wrote: »
    I know it's off topic sort of, but the main nav menu pop-ups work terribly for me in FF3.0.1

    +1

    The RSS link colour is Blue on Red EEK!!! :D

    (and not entirely off topic as he posted the url for it)


  • Registered Users Posts: 3,370 ✭✭✭randombar


    Thanks Adam it's on the to do list, the "about us" is going onto the next line etc.

    So close recently to packing it in and building my own cms, thing is I'm going to oz so will have to hand it over to someone!


  • Registered Users Posts: 3,370 ✭✭✭randombar


    So blue and red is a no go :D

    Spent ages on that one too! hard to find out where the css for the rss is!


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    GaryCocs wrote: »
    So blue and red is a no go :D

    Spent ages on that one too! hard to find out where the css for the rss is!

    #sidebars h3 a {}


  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    I'm not sure what you mean by that, just to confirm, the primary problem for me is there is about a 3px high area to hover over to get the menus for Juvenile and Camogie, and it's above the actual text.


  • Advertisement
  • Registered Users Posts: 3,370 ✭✭✭randombar


    Hi,

    Ya I'm useless I changed the width of the tabs last night (while watching the panel) and forgot to change the overall width.

    Nice one for the info forbairt fixed that there now too!

    How would I change the calendar one? i.e. sidebar caption.a{} or something?


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    GaryCocs wrote: »
    Hi,

    Ya I'm useless I changed the width of the tabs last night (while watching the panel) and forgot to change the overall width.

    Nice one for the info forbairt fixed that there now too!

    How would I change the calendar one? i.e. sidebar caption.a{} or something?


    something like

    #wp-calendar caption a { color: #FFFFFF; }
    #wp-calendar caption a:hover { color: #00FF00; } :D


  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    WAHEEEEYYY!! :D


  • Registered Users Posts: 3,370 ✭✭✭randombar


    I'm blaming the panel!!! :D


  • Registered Users Posts: 3,370 ✭✭✭randombar


    Lads have just about figured out how to add a get directions page to the blog, the map isn't loading up though?? Could ye have a look?

    http://www.ballygarvangaa.ie/location/

    Using two div's map and directions


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    at a guess I'll what your load() function does ?

    and if you're actually loading a map anywhere ?


  • Registered Users Posts: 3,370 ✭✭✭randombar


    forbairt wrote: »
    at a guess I'll what your load() function does ?

    and if you're actually loading a map anywhere ?

    Here's the .js

    The code was taken directly from another site I used it for?
    
    function load() {
      if (GBrowserIsCompatible()) {      
    	map = new GMap2(document.getElementById("map"));
    	map.addControl(new GLargeMapControl());
    	map.addControl(new GMapTypeControl());
    	map.addControl(new GOverviewMapControl());
    	gdir = new GDirections(map, document.getElementById("directions"));
    	GEvent.addListener(gdir, "load", onGDirectionsLoad);
    	GEvent.addListener(gdir, "error", handleErrors);
    
    	map.setCenter(new GLatLng(51.824042,-8.457493), 15);
    	var mainpoint = new GLatLng(51.824042,-8.457493);
    	
    	function createMarker(point) {
    		var marker = new GMarker(point);
    		GEvent.addListener(marker, "click", function() {
    			var myHtml = "<h2><font color=\"#000\">Ballygarvan GAA Club</font></h2>";
    			map.openInfoWindowHtml(point, myHtml);
    		});
    		return marker;
    	}		
    
    	map.addOverlay(createMarker(mainpoint));
    	
    	//setDirections("San Francisco", "Mountain View", "en_US");
      }
    }
    
    


Advertisement