php-general Digest 19 Jul 2008 09:47:28 -0000 Issue 5577

Topics (messages 277061 through 277068):

Re: very very small CMS
        277061 by: tedd
        277065 by: Robert Cummings

Re: PHP Development Team
        277062 by: tedd
        277064 by: Robert Cummings

Re: SESSIONS QUESTION
        277063 by: tedd

questions about using include() in php
        277066 by: Sudhakar
        277067 by: Robert Cummings

Search thoughts
        277068 by: Richard Heyes

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
At 4:26 PM -0400 7/18/08, Al wrote:
I've got one that sounds like it's exactly what you are looking for.

This site uses it extensively.  http://www.restonrunners.org

Just about every single page on the site was created using my php program "EditPage". Non-techies do their own thing.

It is highly configurable and uses a simple file-based DB for the content. Requires php5. Here is part of the user instructions to give you an idea of the content user instructions.

"Rendering of lines and paragraphs generally will be the same as they appear in the edit box. Titles, centering and bulletins are centered.

"Tags" are special instructions for the user's browser and consist of starting and, generally [there are exceptions as noted], ending elements [e.g., <blue>Blue Text</blue>] EditPage's "tags" are described below. "Tag names can be lower or upper case. Two word tags can be connected with an underscore or a dash. [e.g. <big_blue> or <big-blue>]"

That's the good news. Bad news is that I'm doing a major redesign and it won't be ready for about a 3 or 4 weeks. If you can wait till then, just ask.

Al.....

Al:

Here's a CMS I've been working on.

http://www.webbytedd.com/a/easy-page-db

The idea is to allow the user edit pages in situ.

That specific layout is only one of several different types.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
On Fri, 2008-07-18 at 19:40 -0400, tedd wrote:
> At 4:26 PM -0400 7/18/08, Al wrote:
> >I've got one that sounds like it's exactly what you are looking for.
> >
> >This site uses it extensively.  http://www.restonrunners.org
> >
> >Just about every single page on the site was created using my php 
> >program "EditPage".  Non-techies do their own thing.
> >
> >It is highly configurable and uses a simple file-based DB for the 
> >content. Requires php5. Here is part of the user instructions to 
> >give you an idea of the content user instructions.
> >
> >"Rendering of lines and paragraphs generally will be the same as 
> >they appear in the edit box. Titles, centering and bulletins are 
> >centered.
> >
> >"Tags" are special instructions for the user's browser and consist 
> >of starting and, generally [there are exceptions as noted], ending 
> >elements [e.g., <blue>Blue Text</blue>] EditPage's "tags" are 
> >described below. "Tag names can be lower or upper case. Two word 
> >tags can be connected with an underscore or a dash. [e.g. <big_blue> 
> >or <big-blue>]"
> >
> >That's the good news. Bad news is that I'm doing a major redesign 
> >and it won't be ready for about a 3 or 4 weeks. If you can wait till 
> >then, just ask.
> >
> >Al.....
> 
> Al:
> 
> Here's a CMS I've been working on.
> 
> http://www.webbytedd.com/a/easy-page-db
> 
> The idea is to allow the user edit pages in situ.
> 
> That specific layout is only one of several different types.

That's a really great layout ;)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


--- End Message ---
--- Begin Message ---
At 12:23 PM -0600 7/18/08, Nathan Nobbe wrote:
honestly, a team of 15, cheap is tempting.  -- snip--
-nathan


Tempting??? At what?

The only number I found tempting was a three-sum.

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
On Fri, 2008-07-18 at 19:57 -0400, tedd wrote:
> At 12:23 PM -0600 7/18/08, Nathan Nobbe wrote:
> >honestly, a team of 15, cheap is tempting.  -- snip--
> >-nathan
> 
> 
> Tempting??? At what?
> 
> The only number I found tempting was a three-sum.

I like the purity of 1 + 1 + 1. Now that's sumthing!

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


--- End Message ---
--- Begin Message ---
At 9:59 AM -0700 7/18/08, R.C. wrote:
What's the sequence here.  I was able to get the password going, protect the
main.php page, sent the email etc. but can't get that password to remain on
the main.php when they user tries to get back to that page.

Really appreciate some input and coding.  I am totally stumped!

Thanks much
REF

REF:

Try this:

http://www.webbytedd.com/b1/simple-session

The code is there.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
i am doing seo for a website and this website uses a lot of php for which i
need suggestions. this is how the website is set up.

in the index.php file there is a flash banner at the top of the page and the
center part is another file which is called using include("links.php") and
the bottom part using include("footer.php")
the footer has links such as = webdevelopment software development ... each
of this has a query string= http://website.com/index.php?page=webdevelopmentand
http://website.com/index.php?page=software ... etc

this way every link in the website is calling index.php and a query string
is being passed and the index.php looks for the name ex=webdevelopment and
loads that particular page in the center section of the website. the main
purpose of doing this was to load the flash file only 1 time and the rest of
the time when the links from the footer are clicked only the center part
changes and the flash file does not have to reload.

due to this the entire website is having only 1 page index.php therefore
using 1 <title> tag 1 meta description and 1 meta keywords tag as the values
of <title> and <meta> tags are being displayed from index.php

however from a seo and sem perspective ideally there should be different
file name which means i can optimize the <title> and <meta> tags for
individual files.

please advice a best solution to get around this as i would like to have
different title and meta tag for individual pages like webdevelopment.php
software.php etc which i am presently not able to due to include("")

any help will be greatly appreciated.

thanks.

--- End Message ---
--- Begin Message ---
On Sat, 2008-07-19 at 11:57 +0530, Sudhakar wrote:
> i am doing seo for a website and this website uses a lot of php for which i
> need suggestions. this is how the website is set up.
> 
> in the index.php file there is a flash banner at the top of the page and the
> center part is another file which is called using include("links.php") and
> the bottom part using include("footer.php")
> the footer has links such as = webdevelopment software development ... each
> of this has a query string= 
> http://website.com/index.php?page=webdevelopmentand
> http://website.com/index.php?page=software ... etc
> 
> this way every link in the website is calling index.php and a query string
> is being passed and the index.php looks for the name ex=webdevelopment and
> loads that particular page in the center section of the website. the main
> purpose of doing this was to load the flash file only 1 time and the rest of
> the time when the links from the footer are clicked only the center part
> changes and the flash file does not have to reload.
> 
> due to this the entire website is having only 1 page index.php therefore
> using 1 <title> tag 1 meta description and 1 meta keywords tag as the values
> of <title> and <meta> tags are being displayed from index.php
> 
> however from a seo and sem perspective ideally there should be different
> file name which means i can optimize the <title> and <meta> tags for
> individual files.
> 
> please advice a best solution to get around this as i would like to have
> different title and meta tag for individual pages like webdevelopment.php
> software.php etc which i am presently not able to due to include("")
> 
> any help will be greatly appreciated.

File: index.php
===============
<?php

ob_start();
include( 'webdevelopment.php' );
$GLOBALS['pageMainContent'] = ob_get_contents();
ob_end_clean();

include( 'header.php' );
include( 'layout.php' );
include( 'footer.php' );

?>

File: webdevelopment.php
========================
<?php

$GLOBALS['pageTitle'] = 'Web Development';

echo 'blah blah blah blah blah blah';

?>

File: header.php
================
<html>
<head>
    <title><?php echo
htmlspecialchars( $GLOBALS['pageTitle'] ) ?></title>
</head>
<body>


File: footer.php
================
</body>
</html>


File: layout.php
================
<div class="leftPane">
    Menu...
</div>
<div class="mainContent">
    <?php echo $GLOBALS['pageMainContent'] ?>
</div>
<div class="rightPane">
    Ads ;)
</div>


Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


--- End Message ---
--- Begin Message ---
Hey,

I was hoping to get some ideas on improving a sites search. Currently I have two - not a lot but I've been thinking about this for a few minutes.

Currently the site in question uses a very basic LIKE in MySQL, eg %blah%, but naturally this finds terms such as hjkblahbjkk - which is not desired. Or such matches should be ranked lower than something that matches the exact word blah. My thoughts are using a points system, eg assigning 5 points for an exact word match, 1 for a partial match. And then ordering the search results by the total points assigned.

Either that or using external search code and not worrying so much.

Cheers.

--
Richard Heyes

--- End Message ---

Reply via email to