Serendipity My Modified Pages

Various changes to the Windows Operating System, also for the Intranet

Moderator: sjj1805

Post Reply
User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Adjust the width of Serendipity

Post by sjj1805 » Mon Dec 14, 2009 3:33 pm

D:\Inetpub\wwwroot\serendipity\templates\bulletproof\default_style.css
Alter min-width from 950 to the following

Find

Code: Select all


#wrapper {
font-size: 80%;
background-color: #fff;
color: #333;
border: 1px solid #235587;
margin: 4px auto;
min-width: 950px;
max-width: 1200px;
}
Replace

Code: Select all


#wrapper {
font-size: 80%;
background-color: #fff;
color: #333;
border: 1px solid #235587;
margin: 4px auto;
min-width: 700px;
max-width: 1200px;
}

User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Serendipity My Modified Pages

Post by sjj1805 » Sun Mar 20, 2011 1:02 pm

The background image is on line 30 of this file:
D:\Inetpub\wwwroot\serendipity\templates\bulletproof\default_style.css

User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Re: Serendipity as a Home Page

Post by sjj1805 » Sun Mar 20, 2011 5:44 pm

Finally discovered what that blue area is in internet explorer:

* Skip to blog entries
* Skip to archive page
* Skip to right sidebar

Found and removed those and now it will display correctly!
serendipity/templates/bulletproof/index.tpl

User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Updating Serendipity.

Post by sjj1805 » Thu Jan 26, 2012 2:26 am

Backup following pages from the existing site
www\header.htm (My page header)
www\index.php (contains reference to the header)
www\plugins\serendipity_event_cpgselector\serendipity_event_cpgselector.php
www\serendipity_config_local.inc.php (Contains database connection stuff)
www\templates\bulletproof\default_style.css (modified for headless integration)
www\templates\bulletproof\entries.tpl
www\templates\bulletproof\index.tpl (removed blue area at top of blog body)

User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Serendipity placing the "previous/next Menubar" at top

Post by sjj1805 » Fri Apr 13, 2012 1:42 am

To add the " « previous page / next page " menubar to the top just under the Page Header.
This is in *:\Inetpub\wwwroot\serendipity\templates\bulletproof\entries.tpl
I have made the alteration to the file and included a reminder to alter the value of "1" in the following line

{if $template_option.show_pagination == 'true' && $footer_totalPages > 1}

To turn it OFF change 1 to something huge e.g.
{if $template_option.show_pagination == 'true' && $footer_totalPages > 1000}

To turn it ON change it back to 1

User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Coppermine - Use more than one gallery

Post by sjj1805 » Wed Aug 29, 2012 2:55 pm

Modify
serendipity_event_cpgselector.php

Find

Code: Select all

$propbag->add('stackable',     false);
Replace

Code: Select all

$propbag->add('stackable',     true);
Now install a second instance of coppermine selector and configure it for the second coppermine gallery.
To use a particular gallery you simply move it up above the other in the plug in configuration page. The one that is highest takes precedence.

Post Reply