Project Help Wanted
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherProject Help Wanted

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old April 21st, 2003, 02:16 PM
Pedro Monteiro Pedro Monteiro is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 16 Pedro Monteiro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 4 sec
Reputation Power: 0
Need assistance with my Content Management project

I'm building a content management system for my web site, but sadly I'm way over my head. My PHP knowledge is very scarce ( to say the least ) and it quite simply not enough for something of this complexity.

I need an html form to get specific variables from an external PHP file into a text field. This way, all content of the variable would be editable inside of the text area.

I also need an html list/menu form object to chose which variable ill be edited inside that external php file.

Here's the link to the details of what I need:

http://www.tertuliadofado.com/work.html

Appreciate all the help

Reply With Quote
  #2  
Old April 21st, 2003, 03:06 PM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 49 m 2 sec
Reputation Power: 9
Hi Pedro,

Either you want somebody to do this for you (post should be in the section 'Project Help Wanted') or you want advice on how to do it yourself... the latter is mostly accompanied with some code, a description of what it should do and the problem (what is does(n't) do etc...) If you haven't got any code yet you might want some pointers on how/where to start...
There are some tutorials on DevShed and on www.phpbuilder.com for basic tutorials... also check PHPNuke for an example of a CMS

Regards
__________________
There are 10 types of people in this world - those who understand binary and those who don't...

PHP | MySQL | DevShed Forum Search | Google Search

Reply With Quote
  #3  
Old April 21st, 2003, 03:16 PM
bigpaul's Avatar
bigpaul bigpaul is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 226 bigpaul User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 h 30 m 36 sec
Reputation Power: 6
user typo3. http://www.typo3.org
It is the best.


just my 2 cents
__________________
What is this?

Reply With Quote
  #4  
Old April 21st, 2003, 04:19 PM
Pedro Monteiro Pedro Monteiro is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 16 Pedro Monteiro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 4 sec
Reputation Power: 0
I'm almost certain I wouldn't be able to do this on my own.

I'll post this in the projects forum.

Cheers

Reply With Quote
  #5  
Old April 21st, 2003, 06:26 PM
mrlugal mrlugal is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 31 mrlugal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 58 sec
Reputation Power: 7
I can help you do this, I sent you an email...

Reply With Quote
  #6  
Old April 21st, 2003, 06:37 PM
Pedro Monteiro Pedro Monteiro is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 16 Pedro Monteiro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 4 sec
Reputation Power: 0
Quote:
Originally posted by mrlugal
I can help you do this, I sent you an email...


Responded

Cheers for the help

Reply With Quote
  #7  
Old April 22nd, 2003, 12:36 PM
Pedro Monteiro Pedro Monteiro is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 16 Pedro Monteiro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 4 sec
Reputation Power: 0
Cant seem to get it to work.


http://www.tertuliadofado.com/conte...eworkdammit.php

The list isnt recognizing the variables.

The html form file

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="form.php">
<select name="selectname">
<option selected>Get variables</option>
<option name="selectname1" value="text1">Get variable 1</option>
<option name="selectname2" value="text2">Get variable 2</option>
</select>
<br>
<textarea name="textareaname"></text>
<br>
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>

Form.php - the file that the html form executes.

<?
// this should be in the file that processes the form, ie: action=thisfile.php
/*
use the list values to determine which file to use:
remember: you need to give your <SELECT> list a name and give each <OPTION> a value (in your example, "variable1" and "variable2" would be appropriate)
*/
if($_GET["textareaname"]=="text1" )$filename = "content.php";
else if($_GET["textareaname"]=="text2" )$filename = "content.php";
else die("no variable selected" );
// update the file:
$ofile=fopen($filename,"w" );
fwrite($ofile,$_GET["textareaname"]);
fclose($filename);
// display confirm page:
header("Location: confirm.php" );
?>

content.php - the variables file

<?php
// Texto da página principal
$text1 = "text 1";
$text2 = "text 2";
?>

Reply With Quote
  #8  
Old May 14th, 2003, 09:52 AM
AainaalyaA's Avatar
AainaalyaA AainaalyaA is offline
One & Only
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Currently in MalayAsia
Posts: 8 AainaalyaA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
try mamboserver {http://www.mamboserver.com/ }.. they're pretty neat. i am using it for my site.. beats the nit out of figuring things...

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherProject Help Wanted > Need assistance with my Content Management project


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway