Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

lucifersangel

Members
  • Joined

  • Last visited

Everything posted by lucifersangel

  1. Hi all, i'm looking for some advice on a good piece of software (magento? Opencart?) to allow the following: Allow users to trade items in for points Keep control of a user's points allow a user to spend their points on other goods on the website buy points with real world cash control buyback rates based upon demand of each item control buyback rates based upon item specifics (manufacturer, designer brand, etc.) Allow admins to facilitate whether points are due or not based upon state of item on arrival to warehouse Provide postage labels for people to attach to packages for trade (ala RMA labels) The site will be a sort of trade site for charitable not-for-profit purposes, but will be dealing with real physical items. I kind of know where I'm going with the whole idea, but I am now scoping the best CMS to use to achieve it. I also know i'm not going to be able to develop it alone, so I need multi admin access, really. Thanks in advance, Martin
  2. Hi all, does anyone know how I can format a form layout, created out of Sparks Autoforms 3.8.2? Failing that, does anyone know any auto form generators for CI that will save me my fingers whilst developing lots of user input forms? I was wondering if there was any Jquery or JqueryUI solution which I might be able to use too? (ie. give the form a class, and then JqueryUI that class for example?)
  3. EpicWebs, this method was the one I used eventually. Thanks to everyone for your help.
  4. Thanks for all of your responses. I am going to give the 'wrapping of table row in an anchor tag' solution a go. The method I wanted to use was Jquery Load, but I was not sure how to trigger it from an anchor whilst passing variables to the newly loaded container. In fact I am still a bit confused about this. Do I need to write a script programatically at the end of the page that takes each anchor ID and gives it a click event? or is there a catch-all solution, which can identify the variables in an anchor link? Nillervision, I will also follow your link and complete your tutorials, as this seems to be a good match for what i'm looking to do. Unfortunately, the amount of data required would preclude me from pre-loading it. (we're talking thousands of records, each with about fifteen fields). The upside of the situation is that it is an intranet site and does not require any SEO optimization. The widgets i speak of are records in the database, which I so called widgets because of my business studies case studies, which often referred to a widget factory, producing X widgets per month, etc.. Thanks again.
  5. HI all, looking for a bit of general best-practice advice for implementing the following: 2-column layout. In the left is a list of widgets in a data table. In the right hand column is a preview div. What is the best way for me to be able to click an item in the table on the left column, and have a preview of that widget's details (preview.php) shown in the preview div without a page refresh? I have thought about using JQuery, but am unsure what functions to use. Previously I would have written the table in such a way that there was a link at the end of each row to the 'preview.php?widgetID=1' page. Is there a way around this in JQuery I am not yet aware of? Thanks in advance. Martin
  6. Hi All, I use Codeigniter as the base for my website, and I find it very easy to build using the structure as below: public function index() { $this->load->view('templates/header'); $this->load->view('welcome_message'); $this->load->view('templates/footer'); } You can see that I load the header, the content, and then the footer. The content changes based upon the web link I select (different controllers). I have integrated the Ion_auth files into my installation, and changed the settings to my liking, but I am now stuck because I want a login username and password box in my header, not the full auth.php that Ion_Auth comes with. I have tried recreating the login form and directing it to the login controller via this html: <form action="auth/login" method="POST" id="loginform"> <logintext>Username: <input type="text" name="identity" id="identity"> Password: <input type="password" name = "password" id="password"> <a href="javascript:{}" onclick="document.getElementById('loginform').submit(); return false;"> Go>></a></logintext> </form> The "Go>>" link fires and loads the header and footer with the auth page in the middle, but does not seem to pass login details. Any help would be really appreciated as i'm stumped. Thanks
  7. Hi all, I am just starting with JQuery, and starting to grasp the basics. I am now stuck, however. I have a form, called "checklist", within which I have a list of products, and the user must select if they are imported or exported. The table goes: Product Label | Import Checkbox | Export Checkbox When a user clicks on a checkbox, I want a php file to run in the "saveme" div at the bottom, which takes the name of the checkbox just clicked, whether it was checked or unchecked, and then parses the name to produce a product id, and saves the relationship to the database. I'm lost, so any help would be greatly appreciated. Thanks, Martin
  8. Hi All, Anyone know of any pre-built scripts for displaying process flow charts? Ideally I am looking to pass a script an array of processes, with process types, and have the script display them in an aesthetically pleasing way. Thanks in advance, Martin
  9. Hi all, I shamelessly plucked this wonderful bit of code off the net and adjusted it to my use: <?php echo "<b><center>PHP Email Test</b></center><br>"; // Place the name of you SMTP Server here $smtp_server = "xxxx.msft.net"; $port = 25; // The domain name of your server. $mydomain = "XXXX"; // Some MS Exchange servers might require a // valid domain name as part of the username. // E.g., "ntdomainname\username" $username = "XXXX\x.xx"; $password = "xxxx"; // Senders Email Address $sender = "noreply@xxxx.org"; // the email address you are sending to. $recipient = "xxxx@xxxx.com"; $subject = "PMAT Schedule Reminder"; $content = "You have a PMAT which requires action. Please login to agree."; echo "Sending Mail to $recipient<br>"; echo "Opening socket...<br>"; // Initiate connection with the SMTP server $handle = fsockopen($smtp_server,$port); echo "Open socket result $handle<br>"; if($handle) { echo "EHLO<br>"; fputs($handle, "EHLO $mydomain\r\n"); echo fgets($handle,100); echo "<br>"; // SMTP authorization echo "AUTH_LOGIN<br>"; fputs($handle, "AUTH LOGIN\r\n"); fputs($handle, base64_encode($username)."\r\n"); echo "$username<br>"; echo fgets($handle,100); echo "<br>"; fputs($handle, base64_encode($password)."\r\n"); echo "$password<br>"; echo fgets($handle,100); echo "<br>"; // Send out the e-mail fputs($handle, "MAIL FROM:<$sender>\r\n"); echo "MAIL FROM:<BR>"; echo fgets($handle,100); echo "<br>"; fputs($handle, "RCPT TO:<$recipient>\r\n"); echo "RCPT TO:<br>"; echo fgets($handle,100); echo "<br>"; fputs($handle, "DATA\r\n"); echo "DATA:<br>"; echo fgets($handle,100); echo "<br>"; fputs($handle, "To: $recipient\r\n"); fputs($handle, "Subject: $subject\r\n"); fputs($handle, "$content"); fputs($handle, "\r\n.\r\n"); echo "DATA:<br>"; echo fgets($handle,100); echo "<br>"; // Close connection to SMTP server fputs($handle, "QUIT\n"); echo "QUIT<br>"; echo fgets($handle,100); echo "<br>"; sleep(5); fclose($handle); echo "DONE!<br>"; } else echo "Failed to open socket!"; ?> The reason behind the elaborate code is that I needed authentication for it to work with the exchange server in my workplace. However, I am not receiving any message body with the email, simply the email itself with from and subject lines: No body. The code was written in 2002 to work with exchange 2000, and we are now running (i believe) exchange 2010. Has any of this been deprecated since? Failing that, is there another better way of handling the emails through authenticated exchange servers in PHP? Thanks in advance...
  10. Thanks Rallport, I am going to take your advice and go for a <ul> with the relevant CSS and/or AJAX (I will follow some tuts on that). The one question I have still is about Multidimensional arrays when creating the array for the tabs. I have multiple departments, each with multiple product types, and each product type has multiple different "columns" of information required. See below: - Section 1 - - Product 1 - - - On Hand - - - Processed - - - StaffHours - - Product 2 - - - On Hand - - - Processed - - - StaffHours What would be the most efficient method for creating this structure? Multiple arrays? or arrays inside arrays inside arrays? My head always tends to explode when trying to think of how to best use arrays... Thanks again.
  11. Hi again, I have been building a website with no framework for years, and within that I have used Spry Tabbed Panels to contain different departments' input sheets separate. I've now moved to CI, and i'm still a relative newbie at it (as in, i've only just got my head around routing and calling views and models). Is there a helper or something which I can call in to create something akin to the Spry tabbed panels? My backup is having the main Index view load up Spry javascript and continuing to use Spry - But i'd rather use a CI solution if there is one. Thanks in advance Martin
  12. Thanks for the responses. I have just started with CodeIgniter. From the looks of the research I have done, most MVC frameworks look as though they do the same basic stuff - seperating out your data, methods, and views. I think that once I can get my head around what CodeIgniter is actually doing, I can probably transfer the knowledge to the likes of Zend, Symfony, etc. Are there any specific video tutorials or resources you could point me in the direction of for CI?
  13. Ok, so here goes. I have an intranet site to build, and I need to do it fairly quickly. I have never used a PHP framework before, but I am well versed in 'raw' php and have limited experience with CMS systems Drupal, Wordpress, and Joomla. I only have time to learn one framework for this, and I need to know the best/easiest to use for the following: * Single Site Template with fairly self-populating menu system, based upon content/categories/tags * Display of full PHP pages within the Body of the page * Easy links with MySQL (single function SQL is preferred) It will be used for several things: Employee Training Records, Departmental Hourly Reports (man hours used, items produced, Unproduced items on-hand), Workplace Logical Structure (Department -> Process -> Process Step -> Movement). Basically, I need a framework which is easy to use, and allows me to do more than just use built-in 'safe' functions. The site will be limited to Intranet, and as such i'm not so worried about the security concerns. I don't think we have any Code Injectors working for us. Your help is much appreciated.
  14. Hi all, I am currently designing a site for my intranet, which will take input from the operational controller in my workplace as to what figures he wishes to see in his reports. He will be required to build up the heirarchical tree of categories and inputs in his admin script, and the front-end will display this heirarchy via compound spry tabbed panels, for the foremen and managers to enter their details on an hourly basis. eg. - Shop Floor - - Paint Shop - - - Doors Painted - - - Bonnets Painted - - Fabric Shop - - - Panels stitched - - - Seats uphoulstered As part of the script he needs to be able to decide whether he wants something to be recorded any more or not, so each level would require an add/edit/delete sort of option for items in that level of the structure. The way I have thought about doing it so far is to have chained combo boxes. However, i'm not sure if this is best practice. Can anyone point me in the right direction here please, as i'm not exactly sure what my next move will be. I don't always make myself clear, so if i've been a bit lax with detail, feel free to give me a kick up the rear - it all makes sense to me, but only because i've been sitting dealing with it for the last two weeks! Thanks in advance, Martin Edit: I forgot to mention that I am using PHP, JS, CSS, and a MySQL backend, on an Apache server, running via xampp-portable on a Windows system.
  15. Hi all, just looking for a bit of advice really. I've just literally started playing with drupal this week. Seems a bit of a steep learning curve but i'm more than willing to stick it out. I've been charged with creating an intranet-based website, which will collect and hold information about process maps, work hour recording, etc. All of the information is manually entered, and needs to be stored in a database, along with the 'throughput per hour' data for every hour, 24/7/365, for 26 working areas within our factory. My question is this - is drupal the right tool for the job? if so, how would you seasoned developers go about doing it? My first thought was that I would create some sort of node/module or content type (forgive my noob-ish misunderstanding of these things, i'm sure i will pick it up in time), which would store the data for me. In turn, I could have a reporting module which displays this information in some sort of report format? My worst nightmare would be having to create my own CMS from scratch in PHP. I could do it quite successfully, but I have much better things to be doing with my time if there is something already out there which would do the job. Thanks in advance. Martin
  16. hey all. I have been developing websites with PHP self-taught for over 3 years, culminating in the creation of the Touring Caravan Club website. My qualifications are in GNVQ Intermediate IT (not worth the paper it's written on, I hear), AS Level IT, and a BTEC National Diploma in IT Practitioners with a high grade. I want to get into a job advertised online, which is for an ASP.NET developer, and I need to know what route to go down - obviously self-taught won't cut it with these employers. Any advice in how to get into this kind of job or career path would be greatly appreciated. I currently work as a cost reduction manager for a haulage firm, and i long to get into a field where I enjoy my day job. Thanks in advance Martin
  17. No worries - I got it sorted eventually. For those with the same issue - I was posting my form with method 'get' which was overwriting the url variables sent with my form action. changing the method from 'get' to 'post' sorted this issue.
  18. Hi. I had a similar problem. Turns out that in one of my required functions files at the top of my page, something was writing html out. You need to make sure that the header redirect code is the very first thing sent to the viewer's browser. Hope that helps.
  19. Hi all, I have been working with Javascript and PHP for my forms, and I have come across a very strange phenomenon. My form code is as such: <form action="index.php?page=projects" name="filterform" method="get"> And my form contains three Select Lists, each with a javascript onchange event, as such: <SELECT size="10" style="width:200px;" onchange="filterform.submit()"> Forgetting the fact that I still have a lot of work to do on the Select form pieces, including to name each select, and add a value for each option - I get this error: When you change a SELECT box, the onchange event is fired, but takes you to "index.php?" instead of the above address. Anyone have any ideas why it is behaving like this? Thanks in advance
  20. Hey, I just wanted everyone's opinion on the best way to navigate a dynamic php site using href links. I am currently using the ?page=xyz style of navigation and a $_GET method, but is there any easier or more secure/less ugly way of doing this? Thanks, Martin
  21. Hi all, I've searched up and down but no situation seems to match mine, so please bear with me. A friend of mine hosts a facebook group for the members of our club, which sees LOTS of activity. I am the webmaster of the official club website, which sees very infrequent activity. To entice new members, I would love to be showing an active membership base, and so I want to get everything that's posted on the Facebook group's wall, onto the website front page. I have played with Graph API but i'm still a little lost. Is there anything I can do to make this easier? Thanks Martin
  22. Hey all, First post here, so treat me gentle. ) I'm a graduate in Computer Games Design, from the midlands. I am looking to get into the web development industry but I have very little experience. I have been working on a voluntary project for the last couple of months - http://beta.touringcaravanclub.com Your feedback on that would be much appreciated - if you have any ideas, gripes, criticisms (constructive is always better) then please let me know. I'm also looking to expand my knowledge, as I currently write in HTML, PHP and MySQL. I want to expand into Javascript (I have a Java-related qualification, so it shouldn't be too difficult), Ajax, ASP.NET, and maybe even Perl. I've recently discovered the joys of CSS, and i'm looking forward to building some great web real estate. Hope to see you all around the forums! Martin

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.