pluck
pluck 4.7 out now, download it today!

pluck support forums

for all your questions about the easiest CMS on the planet

You are not logged in.

Announcement

New registrations are disabled for some spam problems. New registrations will be avaliable soon. If you want to help to keep forum away from spam - contact us.
Please post your bug reports on Launchpad.

#1 01-02-2010 20:11:33

ajcwm
Member
Registered: 01-02-2010
Posts: 2

New pluck site

Hi all, just thought I'd drop by and say thanks to all the pluck developers for making such an awesome product. Using this has saved a small fortune in database hosting and has allowed me to get a site up and running in days.

Even though I'm a .NET developer by trade and have barely used PHP, the clean well-commented code was easy to understand and modify.

The site is http://ajcoulton.com

Notable modifications I've made to 4.6.3:

- support for simulated sub-pages to allow the use of friendly URLs and mod_rewrite
- blog archiving feature, so that only  the current month's blog entries are shown by default
- 'intelligent' menu highlighting, so the current top-level category menu item is highlighted when in a sub-page

...and of course a customised theme.

Thanks guys, keep up the good work!

Danny,
Webmaster, AJCoulton.com

Offline

#2 02-02-2010 16:58:11

rfuller
Member
Registered: 27-01-2010
Posts: 49

Re: New pluck site

The SEO friendly URLS look Great !!!


Bob

Offline

#3 04-02-2010 06:06:23

andyash
Member
Registered: 11-06-2008
Posts: 101

Re: New pluck site

Hey Danny,

How did you achieve the SEO friendly URLs? Did you just rename the kop files after creating the entire website or did you do some hardcoding in the .htaccess file or somewhere else? Would love to know this.

Andy

Offline

#4 09-02-2010 09:05:34

ajcwm
Member
Registered: 01-02-2010
Posts: 2

Re: New pluck site

andyash wrote:

Hey Danny,

How did you achieve the SEO friendly URLs? Did you just rename the kop files after creating the entire website or did you do some hardcoding in the .htaccess file or somewhere else? Would love to know this.

Andy

Hi Andy,

First, I modified newpage.php to generate a filename based on the document title (and adding an incremental number if the file already exists) to do away with the "kopN" style names.

To make it look like there's a page hierarchy, the pages are named like this: section_subsection_page.php - then, .htaccess rules convert a url like this 'http://ajcoulton.com/projects/books/bookone' into 'http://ajcoulton.com/?file=projects_books_bookone.php'

Finally, there's an additional field in the new page editor which allows the user to override the page title, so the title that the visitor sees can be set to anything and isn't necessarily the same as the document filename. Also, the menu system is modified so that the menu order is set by the user and isn't alphabetical.

It's a bit of a hack and it depends on the user naming the pages correctly, but if there's only one person adding content it's not a problem.

Hope this helps,

Danny.

Offline

#5 10-02-2010 19:16:31

andyash
Member
Registered: 11-06-2008
Posts: 101

Re: New pluck site

Wow, that's neat. But I'm not a programmer/coder so will not be able to achieve this. Would you mind uploading your edits with instructions for my and other Pluck users' benefit?

Offline

#6 28-07-2010 16:34:39

williamforrest
Member
Registered: 21-07-2010
Posts: 9

Re: New pluck site

That would be good if you could upload your edited files for everyone to see

Offline

Board footer

Powered by FluxBB