-
Artistic Arc
I'd just like to share an email I recently received from one of the designers on here who recently contacted me with regards to some work I am looking to contract out; http://www.webdesignerforum.co.uk/topic/38928-web-designer-wanted/ I don't think Antonio Nick (artisticarc) handles rejection very well; On a lighter note I have found a decent designer on this site who has agreed to carry out the work at a decent price and time scale, so not all a loss!
-
php include...
Yes that would have worked but it would mean changing it every time I create a page in a new directory. <?php $base = $_SERVER['DOCUMENT_ROOT']; ?> Seems to do the trick fine
-
php include...
Hi guys, first off, please forgive me, my knowledge of PHP is limited to say the least. I'm currently working on the site and I am trying to make it as easy as possible to edit without going for a CMS. At the moment I have broke each page down into 5 sections; Header Left Nav Right Nav Content Footer The idea being other then php includes the only html on each page will be the actual content e.g; <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <?php include 'includes/header.php' ?> <?php include 'includes/left_nav.php' ?> CONTENT HERE <?php include 'includes/right_nav.php' ?> <?php include 'includes/footer.php' ?> </body> </html> The problem I have is I want to make the include paths absolute (e.g. /includes/header.php so it always refers to the root directory) so I can use this structure within any directory on my site. I have had a look at using the $root. method, but there seems to be some security risks attached to that (URL file-access) Is there a safer way to use absolute paths in PHP? Thanks, Jamie.
-
Randomise a paragragph of text
This could come in handy Is there a way of adding HTML to; $quotes[] = "This is a quote"; $quotes[] = "This is another"; $quotes[] = "quote 3"; $quotes[] = "quote 4"; $quotes[] = "quote 5"; $quotes[] = "quote 6";
-
Drop down navigation
Thank you Christopher, will this work with horizontal navigations too? I will have to give it a go in the morning as my head is nearly on the keyboard tonight Thanks again
-
Drop down navigation
Hi guys, I currently have a navigation menu on a site which looks something like; <ul id="mainNav"> <li><a href="#" title="Home" class="navHome"><span>Home</span></a></li> <li><a href="#" title="Buying" class="navHome"><span>New to</span></a></li> <li><a href="#" title="Holidays" class="navHome"><span>Holidays</span></a></li> <li><a href="#" title="Accessories" class="navHome"><span>Accessories</span></a></li> <li><a href="#" title="Sales" class="navHome"><span>Sales</span></a></li> <li><a href="#" title="Storage" class="navHome"><span>Storage</span></a></li> <li><a href="#" title="Security" class="navHome"><span>Security</span></a></li> <li><a href="#" title="Clubs" class="navHome"><span>Clubs</span></a></li> <li><a href="#" title="Events" class="navHome"><span>Events</span></a></li> <li><a href="#" title="FAQs" class="navHome"><span>FAQ's</span></a></li> <li><a href="#" title="Tips and Advice" class="navHome"><span>Tips</span></a></li> <li><a href="#" title="Jargon" class="navHome"><span>Jargon</span></a></li> </ul> I am now looking at the possibilities of making some of these drop down menus, so I can link sub-menus from them. I dont really want to throw in loads of javascript at the moment as this is my first ever hand written site (yey!!) and I am trying to keep it and search engine friendly as possibly. This is probably a very simple task for all you gurus out there, but can anyone recommend\point me in the right direction as to how I could go about making some of these drop downs? Any help or advice would be greatly appreciated. Thanks guys
-
What do search engines think of DoubeClick ads?
Hi all, I am currently working on a site where I am toying with the idea of using doubleclick ads for the first time. What do the likes of Google think about such marketing? Is it frowned upon at all when it comes to search engine rankings?
-
Viewing PHP code online
Thanks for the replies guys. Generally speaking I don't like charging by the hour. As some people see this as a way of making more money out of you. E.g. make the job last longer then it needs to. Hopefully I can find a way round it Thanks again
-
Viewing PHP code online
Hi all, I have been approached by a client who would like me to do some work on their site. Before I give them a quote I wanted to see what current PHP coding they are using as they rely heavily on MySQL. Understandably they where not happy to give me their FTP login details just for a quote, however they where neither happy to send me a sample of their pages. So, is there anyway I can view raw source code online? E.g. when you go to View -> Page Source. It simply shows you the code as you see the page at that time. I need to see how the site connects to the DB, makes queries etc. If you cant do it online, is there any other way round it? I dont feel confident issuing a quote knowing their could be potential a lot more work involved recoding etc. Thank you in advanced.
-
Dynamic Navigation in Joomla
Any ideas guys? Any help would be greatly appreciated.
-
Tables in Joomla
My template is using css however when I add content it is wrapped in tables. What CMS would you recommend bluedreamer?
-
Tables in Joomla
Whilst playing around and getting to grips with Joomla, I noticed it is very much reliant on tables. I have designed my template purely using HTML and CSS, however when I come to add content to my pages it formats them in tables, where as all i need is simply the text. I have entered the content in via the HTML editor built into Joomla, hoping this may bypass Joomla's constant need for tables, however didnt. Does anyone know how I can stop Joomla processing my content through tables? Thanks
-
Dynamic Navigation in Joomla
Seasons greetings all, I wonder if some Joomla guru out there may be able to help me. I am finally getting to grips with Joomla at long last, however I was wondering if there was a way to have a menu dynamically change links. I think this may need an example! Say I am on a page called; index.php/page1 and I have a navigation menu which looks something like; Link 1 Link 2 Link 3 Is there a way for the above link to point at; index.php/page1/link1 And like wise if I use the same menu on another page. E.g. index.php/page2 And the links would point to; index.php/page2/link1 Sorry, if I am not making much sense, hopefully someone out there will know what I am trying to achieve. Thanks in advanced, and a very Merry Christmas to all!
-
Joomla Advice
I think I'm starting to get the hang of this, but could someone please explain to me where these are called in Joomla, I cant see any reference to "user"s what so every; <jdoc:include type="modules" name="user3" /> <jdoc:include type="modules" name="user4" /> They seem to be referring to menu's but I cant work out where "user3" or "user4" is called in Joomla. Any help would be greatly appreciated. Thank you in advanced
-
Joomla Advice
Thanks bluedreamer, daft question, but how do you decipher which php tag is for which module? I'm struggling to understand the syntax of the php tags being used to include the dynamic content. Thanks again