Search found 10 matches

by ty3001
2007-08-11 03:55:29
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

Here is the code, you will need to open this page when you have updated your database from AMC.
It will check for the Period column if it does not exist it will create it and then run the function that will assign a period for the movie.

You don't need to edit anything with the DB details because ...
by ty3001
2007-08-07 11:32:57
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

This weekend I might have a go at it.

As for updating the panels, I am new here so considering the last PK update was two months ago, it is not much of an issue.
by ty3001
2007-08-06 08:52:05
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

The PERIOD IS A TEXT field not an Integer i.e. Int (11). That is why it is missing the 'S'.

It is possible to ADD colums through PHP I just have to read up on it.

Maybe to avoid having to open the page "processPeriodForMovies.php" (which I don't think is a big deal because I only import it once a ...
by ty3001
2007-08-05 01:40:27
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

Sorry been busy lately. I haven't had time to neatly incorporate this script with PK's functions.

1. First you need to create a column in your movies table called PERIOD. I haven't had time to add this into the PHP code below. I created the column using the GUI editor which comes with MySQL ...
by ty3001
2007-07-30 09:29:01
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

Thanks adding that in the languages\english.inc file made it work.
by ty3001
2007-07-28 21:48:42
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

I created a new column in the database called Period.
I managed to get it to appear on the panels.

But I am having problems in getting the heading to appear.

I looked hard through all the files and couldn't find where & when this was being created.

Here is a screenshot
http://img252.imageshack ...
by ty3001
2007-07-25 09:38:59
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

There are 3 types of templates for the main page:
detail_view.tpl
cover_view.tpl
list_view.tpl

From your screenshot you will need to edit the detail_view.tpl.

But you should edit all three.
by ty3001
2007-07-24 11:20:54
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

You can't add it there because that is where the BreadCrumbs go.

eg. Movies \ Drama \1998

but you can add it above by editing the .tpl files.

eg. the listview.tpl


# --- SEARCH and TITLE ----------------

<div class='mainheader'>

<div class='searchbox'>

<form name="mdb_search" action ...
by ty3001
2007-07-18 12:09:00
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

It means that user doesn't have permission to open the database
by ty3001
2007-07-15 06:04:51
Forum: Ant Movie Catalog > Templates
Topic: PK's MovieDB Release.V3.0 (Dynamic PHP View)
Replies: 564
Views: 325032

Sam you need to create a database/schema

---
I find that adding pictures in AMC to be time consuming. So I have a folder with covers of the movies by their names eg. FightClub.jpg.

So I modified a tiny part of your script PK to find the image.

Here is code if anyone is interested:
Find the resize ...