How to Edit Original Corked Screwer Content.

Marilee's picture

Please help me. Maybe I am not techy enough for Drupal, but I just want to set up my site to look exactly like the Corked Screwer, and I don't know how??? I have pics ready to go to replace the ones that came with it, but I just don't understand how it works at all :(

Can anybody help me? my site is

Also, I would like a built in directory on site, not of the site and my articles - but like an add on dbase maybe where I can have a look up and search directory of marinas, boat builders, etc.

Apologies if this has already been covered.


Hi Marliee, I just checked

mlangfeld's picture

Hi Marliee,

I just checked Corked Screwer. It is a free Drupal theme that you could install into a Drupal site. I see that your site is a WordPress site, so there are several steps to do first.

You would need to:
1. set up a Drupal development site (probably on your local computer),
2. migrate your website content to that site,
3. install the theme,
4. determine what else needs to be done,
5. make any necessary updates/revisions, or hire a Drupal developer to help you (with all steps or the last.
6. publish your site to your external hosting provider.

If you are totally new to Drupal and are not a programmer, the process might be too difficult to do yourself.

Best, Marilyn

Hi and thanks. I think I was

Marilee's picture

Hi and thanks.
I think I was too impatient yesterday and uninstalled Drupal and installed wordpress. That's the easy part. I had corked screwer running when I posted. I just could not figure out how to put my components into the template I had seen.
I don't understand what possible value there is to a template is it is a complete mystery as to how to input your material to reproduce that result.
Corked Screwer had a main 10*3 (approx) image that scrolled on a 10 second timer and changed to 4-5 different images - that I imagined were illustrating the topics. I saw no facility for me to input my own images into the first scroll bar.

Underneath the main image scroll were three columns with photos to id the topics which can be clicked on and then I can go read the article. This is what I want ------- why is it not remotely obvious how to set that up?

Again, what is the point of the template?

Marilee, web development is

jasonsamuels's picture

Marilee, web development is hard and Drupal in particular has a steep learning curve. I've found many things that didn't seem remotely obvious at first, that after a while did just click. I've also played with Wordpress installs, and while there's a learning curve there too it's not quite as steep. The tradeoff for using a less-complex platform is that it's also less flexibile. I'd recommend you read up on the strengths of both platforms, compare them to your specific needs, and make your decision based on what fits best.

Good luck!


I agree, Corked Screwer isn't obvious

ktmom's picture

I've been using Drupal to build websites for local businesses for a couple of years. I installed the Corked Screwer theme on a dummy site to see what was up.

There is not an obvious way to update the images for the slider (slide-show). You actually have to go in and edit the page.tpl.php and edit the lines that reference the slider images.

You might take a look at the Marinelli theme. It has a built in slide-show and a region where you can add blocks for your content below it. I don't think it would take much effort to get a similar look, but the ease of adding the slide-show images is substantially better. Under the settings for the theme, there is a field for uploading and labeling the slide-show images. You can also define which page the images should display on. Thus the slide-show on a sub-page can be unique from the home page. Or just a single image displayed on each sub-page with a slide-show on the homepage. This will make it easier to keep the site fresh with new images as you desire.

Also, I would like a built in directory on site, not of the site and my articles - but like an add on dbase maybe where I can have a look up and search directory of marinas, boat builders, etc.

I personally would tend to write a module that handles and displays this information. But, you might consider creating a content type to handle it. Set the content type up to include fields for all of the information you want available e.g. company name, address, url and description. Then use views to display and sort the data to present it to your users. You might have a view that displays just marinas on a page for marinas and have it sortable (or filtered) by state, and then another page where the same type of functionality is created for boat builders.

If you are just starting in Drupal, I echo what has been said, the learning curve can be steep. I believe it is worth it, but if you are short on time, and not a programmer, you may find it too steep. I learned independently starting with Drupal 6, and had the luxury of time so I used on-line tutorials for specific questions and wore out a copy of Pro Drupal Development. I am now using a variety of books to migrate from Drupal 6 to Drupal 7. If it helps, what programming I know is self taught and I'm a bit of an old fart. My generation still used sliderules in high school ;-)

Thanks for the tips!

Marilee's picture

Thanks ktmom for the thought to move to marinelli. I know I don't have time to read programming book as moving into busy season in the boating industry. With this advice though I may give Drupal another shot and reinstall it with Marinelli theme and add the pics on the top because I really like that effect. I am trying to avoid looking like a blogger.

Also great advice for the content source on the directory stuff. Once I catch my breath I may give that another shot as that really is my goal.

Thanks again all! ....ugg! all this stuff is a lot of work - koodos to you all who have figured it out!

Corked Screwer customization...

troutdun's picture

Agreed, the customization of Corked Screwer (CS) is somewhat primitive, but their approach of having you edit page.tpl.php is not unique. The Danland theme, which I've used on another site, also takes that approach for the slideshow. If you are willing to make a few tweaks, though, Corked Screwer works pretty well. I used it to set up a site for a friend's poultry farm so you can see how it works with other images:

She's just starting out using it, so there's not a lot of content there yet, but I do like some of the things that CS does. It doesn't manage things well on an iPad in portrait mode (fine in landscape, or on an iPhone), and I need to look at the CSS and see what's up. Seems to adjust to screen width pretty well in most other situations.

But yes, it takes some editing of php and css files to make changes. I'm certainly not a Drupal expert, but I do appreciate the flexibility. WordPress is simple, but more limited, IMHO, in what you can do. There's not much you can't do with Drupal, but it's pretty plain out of the box.


Yes, to modify slideshows and

joshjalopy's picture

Yes, to modify slideshows and such you have to modify/hack the page.tpl.php file. Not elegant, but it works.

I'm considering removing that block altogether and replacing it with something like Views Slideshow ( or even Flexslider ( Good luck.


alex_drupal_dev's picture

I have to say I prefer the page.tpl method to the way I have seen some themes do it.

This is at least a code based change that is easy to find. I am almost always looking at the page.tpl anyway so it makes it easy to add slide images quickly if you know what your doing.

I don't really like it when I have to go searching all over creation to find where to change the slider in some themes. page.tpl is a natural place that I feel is the more standard approach for quite a few themes.

I definitely agree with what troutdun said "their approach of having you edit page.tpl.php is not unique." It is not unique in any way, when themes go and put images in a completely seperate folder I get downright annoyed. I would rather find a couple lines in page.tpl then search through folders for files to replace.

That's just my 2 cents on the issue.

Anything can be improved if your main goal is to build it better. Don't try to fix a problem, try to make it better. Once it is better, try to make it better than that.

Customizing Corked Screwer theme.

nordwinter's picture

i have a multiple questions and long intro..

I started a drupal course "beginner" to be able to create a personal drupal site in the near future for my company/bussines.
To end "beginner" succesfully and proceed to "pro course" starting @ 4Februari i must present a working website.
I have chosen to make a try-out small website for someone else first.
using "after a long search for the right theme"
the wonderfull corked screwer theme; Trully.
i dont have any coding, css, history. but i like it; A extra learning curve to hurdle.
I'm using the CorkedSc with the single image top slider banner and the 2x3 images below and a artikel/image between those 2x3.
So, i'm not using the one with the linkable 2/3split image banner as i found on the tutorial

I have altered the images and Featurered Title & Body by coding; No sweat thanks to this discussion; But..

I don't want2 do the rest the easy way either. not remove shit and just instal a easy banner module.
I want this to stay a CorkedSc theme and alter the Page.tpl.

-1- the facebook, twitter image and clickable link actions, are not displayed on my
usbwebserver/localhost websitefrontpage: they are hidden/cloaked by code i presume;
I want to add code for tumblr aswell ? How do i get this sorted.
Please if there is a way to keep the anser easy such as
Copypaste this, That kind of easy.

-2- I need to find the clickabble-link-action code of the 2x3-images and the one in between, situated below the banner and know what code/node detail to insert, 2link these to either a other sub/page or a other external url websitepage or facebook aswel, or to a article, blog, or poll in my website on the home or subpage,
instead of the top front homepage as they are programmed originally and do now.

-3- how do i code, so the banner shows 4images instead of 4times the same one, only with 4 different text's displayed

-4- how do i code a space-link 4 a new line in the text below of the middle image
Excample : Italian wine is wine produced in Italy, SPACELINK NEW LINE

a country which is home to so..

-5- I like the 2/3th banner shown on the youtube tutorial
is that a older CorkedSc theme download,
This banner can be linked aswell, to a article, or page.
The single image 1/1 banner i have now do's nothing, no link. or is this again just a cloaked action.

can someone direct me to some discussions form with visual copypastecode, solving these subjects ,
I know this is a lot , to ask, for a newguy bud i have a Corkedscrewer-Block rightnow, i'm stuck.
all the rest ain't a sweat.

thank u for taking pressious time in giving me some helpfull reactions.
when site is online i'l post the link asap.

Editing corkedscrewer

shuckc's picture

Due to the high position of this in google, I wanted to add that it's not necessary to remove the template content from the themes/corkedscrewer/page.tpl.php file. As soon as some content is added to the block called banner, the built-in banner slideshow is hidden (see lines 101-105).

Simply define a block with jquery slideshow content, or use views to output a block with HTML that matches the corkedscrewer sample values. Doing this needs a bit of tweaking to the view html generator but works fine.

Banner adds to the slide show

omeriqbal's picture

Thanks for the info shuckc. I added a banner to my corkedscrewer theme, and it appears in addition to the default slide show. It looks like updating page.tpl.php is the only way to modify or remove the original slide show as well as the sections that appear on the sites. Is there another way?

Question to all: I am also not sure if updating the original page.tpl.php in sites/all/themes/corkedscrewer is a good idea since an upgrade may reset it, isn't it? If so, what's the best way to override it?


I checked, you additionally

shuckc's picture

I checked, you additionally need to go to the Settings of the theme, and un-check the box marked "Slideshow" to remove the built-in banner slideshow (see lines 101-105).

I had to modify a view's style php file to get my block output to match the existing banner code, but it does work.

Modifying the theme slideshow?

omeriqbal's picture

Hi shuckc,

That works to remove the slideshow, and one could add their own slideshow using an existing module. Thanks a lot, that's a great way to allow more control to the content authors without requiring them to modify page.tpl.php. Looks like if I didn't want to modify the page.tpl.php, I would need to do something similar for the left and right side bars. However, I would ideally like to use the built-in slideshow and side bar blocks that come with the theme. Is modifying the sites/all/*/page.tpl.php the best way to do it, or is there a way to provide an override elsewhere?


I used the built-in slideshow

shuckc's picture

I used the built-in slideshow resources (images, scripts, styles) and created a block (with Views) that outputs exactly the html required by the slideshow to work. It's in action on

I need to do something similar to format my "Stories" for the front page next.

Adding slides

acollins's picture

Does anyone know how to add slides to the built in slideshow?

Adding slides

megsani's picture

The post is old. However for the benefits of those who like to use Corkedscrewer theme and like to customize them, here are the changes that you should make:

[1] Number of slides

Current is 5. Let us say you want to change to 6, or whatever.

Try it.

[a] Unzip the corkedscrewer fies.
[b] Find and open template.php file using any text editor
[c] Search for "array('type' => 'inline', 'scope' => 'footer', 'weight' => 5)"
[d] Change it "6" // without the quotes
[e] Save it
[f] Use cPanel/File Manager // if using remote host
[g] Navigate to /public_html/sites/all/themes/corkedscrewer
[h] Click "Upload File"
[i] Browse to your local file directory where you made the changes
[j] Select ../template.php and click "Upload"
[k] Press "yes" to overwrite the existing file
[l] Wait until file upload is completed


Do not refresh the page yet.

[2] Adding slides

2.1 Preparing the image file

[a] Make sure your slide is ready. File size is 950x250 px.
[b] Copy your slide to local machine in ../corkedscrewer/images/local and give it a suitable name which is intuitive.
[c] Open cPanel/File Manager/public_html/sites/all/themes/images/local
[d] Upload the image file to the above directory.

2.2 Editing page.tpl.php file

You need to make 2 changes to the codes.

The first change:

[a] Open ../corkedscrewer/page.tpl.php file.
[b] Search for


div class="slider-item">
[c] Select the entire code snippets for any slider item and select "copy"
[d] Go to where you want to place it // I place it to the beginning and click "paste".
[e] Replace the name of the file with without the angle bracket
[f] Edit the title and body.

The second change:

[g] Go to the section


ul id="slide-nav">
[h] Copy and paste the following "

  • "

    Before anything, recheck that there are syntactical errors.

    Now you are ready to upload page.tpl.php

    [i] Open cPanel/File Manager/public_html/sites/all/themes/corkedscrewer // if not already opened.
    [j] Click "Upload File"
    [k] Browse and select "page.tpl.php"
    [l] Click "Install" and wait for completion.
    [m] Go to your Admin Page
    [n] Flush all caches
    [o] Reload the page if necessary.

    What happened? If you see the changes, you have done it correctly. Otherwise, either I may have missed listing some steps or you may done it wrongly.

    Good luck.

    Extra Space in search

    megsani's picture

    Just ignore the spaces within search item.

    I have edited it twice, but the extra spaces keep appearing.

    I presume you know what you want to do.

    Please let me know of errors and/or omsssions.