PDA


View Full Version : Custom Content Editor Hack


thabenksta
01-06-2005, 01:58 AM
I've been using vbadvanced for a few months, and boy do I love it! However, I've had one pet peeve that's bothered me for while and I decided to take care of it.

The one thing that should be the easiest thing to do in a CMS is add new content, IMO. And you can't just create a new thread every time you need a new page for the site, as that doesn't look professional. Vba CMPS has the ability to add new pages and modules, but IMO is cumbersome and non-intuitive. As most of you know, to add a new page you have to create a template under your style editor, and make that the custom content for the new page. Now this is not difficult, but IMO templates should be used as templates, and not content, and it would be nice to have everything under one admin section. I don't like the idea of filling up my style with content, and you should also be able to separate the template from the content.

So anyway, Here's what I did.

First I added a two fields to both the adv_modules, and adv_pages tables.


alter table adv_pages add content_title TEXT;
alter table adv_pages add content TEXT;

alter table adv_modules add content_title TEXT;
alter table adv_modules add content TEXT;


The idea is that you can have a title and the content, so you can create a template where the two are separate. It will become clearer later down the road.

Next I added a form to edit these fields. I put the next two blocks of code at the bottom of vba_cmps_admin.php.


// ######################## Edit Custom Content ############################
if ($_REQUEST['do'] == 'editcontent')
{

print_form_header('vba_cmps_admin', 'doeditcontent');
$content_title;
$content;
if ($_REQUEST['pageid']) {
$page = $DB_site->query_first("SELECT content_title, content FROM " . TABLE_PREFIX . "adv_pages WHERE pageid = '$_REQUEST[pageid]'");
construct_hidden_code('pageid', $_REQUEST['pageid']);
$content_title = $page['content_title'];
$content = $page['content'];
} elseif ($_REQUEST['modid']) {
$mod = $DB_site->query_first("SELECT content_title, content FROM " . TABLE_PREFIX . "adv_modules WHERE modid = '$_REQUEST[modid]'");
construct_hidden_code('modid', $_REQUEST['modid']);
$content_title = $mod['content_title'];
$content = $mod['content'];
}
print_table_header("Edit Content");
print_textarea_row("Content Title", "content_title", $content_title, "5", "70");
print_textarea_row("Content", "content", $content, "20", "70");
print_submit_row();
}


Then a block for storing in the database


// ######################## Do Edit Custom Content ############################
if ($_POST['do'] == 'doeditcontent')
{
if ($_POST[pageid]) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_pages SET content_title = '$_POST[content_title]',content = '$_POST[content]' WHERE pageid = '$_POST[pageid]'");
update_module_cache();
print_cp_redirect("vba_cmps_admin.php?$session[sessionurl]&do=listpages", 0);
} elseif ($_POST[modid]) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_modules SET content_title = '$_POST[content_title]',content = '$_POST[content]' WHERE modid = '$_POST[modid]'");
update_module_cache();
print_cp_redirect("vba_cmps_admin.php?$session[sessionurl]&do=listmodules", 0);
} else {
print_cp_redirect("vba_cmps_admin.php");
}
}


You'll notice that this will handle both pages and modules, based on whether you pass pageid or modid.

Now I needed a way to get to this form, so I added a button to the module editor.

In vba_cmps_admin.php about line 580, right before the "Active" radio buttons I added this.


print_label_row("Custom Content Editor", "<input type=button onclick=\"javascript:location='vba_cmps_admin.php?do=editcontent&modid=" . $mod['modid'] . "'\" value=\"Edit Content\">");


It doesn't really matter where you put it cause it's just a link to the content editor.

Then I decided it would be more convenient to have a link on the module listing. Around line 94, I change this line...


print_input_row('<span class="smallfont"><strong><a href="vba_cmps_admin.php?do=editmodule&amp;modid=' . $column['modid'] . '">' . $column['title'] . '</a></strong></span>' . iif(!$column['active'], ' <div style="color:red;font-size:9px;font-weight:normal;">(' . $vbphrase['inactive'] . ')</div>') . '<div class="smallfont" style="margin-top:5px">' . $vbphrase['move_to'] . ': ' .


to this


print_input_row('<span class="smallfont"><strong><a href="vba_cmps_admin.php?do=editmodule&amp;modid=' . $column['modid'] . '">' . $column['title'] . '</a> <a href="vba_cmps_admin.php?do=editcontent&modid=' . $column['modid'] . '" alt="Edit Content" title="Edit Content"> </a> </strong></span>' . iif(!$column['active'], ' <div style="color:red;font-size:9px;font-weight:normal;">(' . $vbphrase['inactive'] . ')</div>') . '<div class="smallfont" style="margin-top:5px">' . $vbphrase['move_to'] . ': ' .


which just puts a next to the title that links to the content form.

Then I needed a way to add content to the pages, so I added this at about line 713 to the end of the javascript switch statement.


case 'content':
page = 'vba_cmps_admin.php?do=editcontent&pageid=';
break;


and changed the hash at line 725 from


$diroptions = array(
'edit' => $vbphrase['edit'],
'remove' => $vbphrase['delete']
);


to


$diroptions = array(
'edit' => $vbphrase['edit'],
'remove' => $vbphrase['delete'],
'content' => 'Content'
);


This adds the "Content" option to the drop down on the page listing.


Now that I had the content saving part down all that's left is the output.

So I added the following block at around line 257 of vba_cmps_include_bottom.php...


$content_title = $mods['content_title'];
$content = $mods['content'];


and this around 270...


$content_title = $pages['content_title'];
$content = $pages['content'];


and should end up looking like ...


// Process Active Modules
if (is_array($modules))
{
foreach ($modules AS $mods)
{
if (in_array($mods['modid'], explode(',', $pages['modules'])))
{
$home[$mods['modid']]['displayorder'] = $mods['displayorder'];
$home[$mods['modid']]['column'] = $mods['modcol'];
$getbgrow = getrowcolor();

$content_title = $mods['content_title'];
$content = $mods['content'];

if ($mods['inctype'] == 0)
{
require_once('./modules/' . $mods['filename']);
}
else
{
if ($mods['identifier'] == 'custompage')
{
$content_title = $pages['content_title'];
$content = $pages['content'];
$cusid = $mods['modid'];
if ($pages['template'])
{
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template($pages['template']) . '";');
}
}
else
{
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_' . $mods['filename']) . '";');
}
}
}
}
}


What this does is sets up the $content_title and $content variables so they could be used in the template. First it sets them up for a module, and then for the page if it's a custom page.

So, what this all does is allows me to setup a template that looks like the following...


<table>
<tr>
<td><b>$content_title</b></td>
</tr>
<tr>
<td>$content</td>
</tr>
</table>


Then I can create a page or module that uses this template and add content to it. Now the benifit is that I can now re-use the same template, and just create new content. All the content is mananged under the CMPS section, and the templates in the template section.

This may seem dumb to some of you, but it makes it easier for me and my co-admins to manage content. I'm not duplicating templates over and again, and I'm not cluttering up my style with content.

BTW: I'm using this on http://ipodstudio.com, as you can see, my module templates are complicated cause of the image border.

I hope someone else will find this useful.

-Ben

shortbus
01-06-2005, 02:53 AM
I would find it very useful, in fact I've requested it. However, I cannot see it in action on your site. Where is a page you've created with this? Thanks...

thabenksta
01-06-2005, 12:30 PM
On the front page (http://ipodstudio.com), the friends module on the upper right corner is using it. I used an image tag for the content title, and the links for the content.

Then I was able to use the same template to create this test page.
http://ipodstudio.com/?page=test

frage
01-08-2005, 08:54 PM
thabenksta
you made my day !

thanks a lot
to share your knowledge ;)

frage

pdatotaal
01-21-2005, 11:43 AM
I am stil lost how you can add or edit the pages.. So any screen shots?
But it looks wat I was looking for! But must now more before I change so many stuff.
Thanks fot the effort!

thabenksta
01-21-2005, 12:04 PM
Under the module editor there is a "Edit Custom Content" button.

http://benk.org/cce/cce_module.jpg

That opens the content editor which is broken up into title, and content.

http://benk.org/cce/cce_edit.jpg

The same editor can be accessed through the page interface.

http://benk.org/cce/cce_page.jpg

And finally just add the $content_title, and $content to your template.

http://benk.org/cce/cce_template.jpg

Does that make sense?

s2kca
01-26-2005, 12:33 PM
I love the idea behind this but can't seem to get it working. I have installed twice now and everything seems to go in fine but when I'm actually trying to insert custom content and click the respective button, the screen goes blank.?.
I even went back through the code to see if I could see anything wrong (doubtful since I'm a novice, but I had to try) and the only thing that I could see was in the 4th step (at about line 580...) it reads "do=editcon tent&modid" which didn't make sense so I changed it to "do=editcontent&modid" but it didn't make a difference any way.

Any advise (well almost any :p ) would be much appriciated.

thabenksta
01-26-2005, 03:14 PM
Can you post the snippet of HTML from the browser for that button. It should look something like this.

<tr valign="top">
<td class="alt1">Custom Content Editor</td>
<td class="alt1"><input type=button onclick="javascript:location='vba_cmps_admin.php?do=editcontent&modid=14'" value="Edit Content"></td>
</tr>

s2kca
01-27-2005, 06:51 AM
Sure;

<tr valign="top">
<td class="alt1">Custom Content Editor</td>
<td class="alt1"><input type=button onclick="javascript:location='vba_cmps_admin.php?do=editcontent&modid=17'" value="Edit Content"></td>
</tr>

Other variables
vB 3.0.6
CMPS 1.0
PHP 4.3.10

Have tried to execute in IE, Firefox and Opera.

Thanks

thabenksta
01-28-2005, 09:59 PM
Try changing do=editcon tent&modid=17 to do=editcontent&modid=17 again. make sure you upload it and everything.

Itworx4me
01-28-2005, 10:32 PM
Would be nice if you could add the WYSIWYG editor to this hack.

thabenksta
01-28-2005, 11:54 PM
I would, if I could find one that's not worthless.

Itworx4me
01-29-2005, 12:26 AM
Noway to include the one in vB???

shortbus
01-29-2005, 02:19 AM
thabenska,

I sent you a PM.

Also, a wysiwyg editor would make this 100% PERFECT!

gorp
01-29-2005, 02:51 AM
thabenska,

I sent you a PM.

Also, a wysiwyg editor would make this 100% PERFECT!Agreed! It is pretty awesome now, but that would be really cool, too! :D

Sanjiyan
01-29-2005, 08:49 AM
I have tried this but I keep on getting a blank page when I insert the code for the vba_cmps_include_bottom.php and go to my CMPS page.

I also think your 'hack code insert' info is very hard to understand, I think i should be like all others..

Find this:
example();

Add this below
example123231();

Thats how it should be.

gorp
01-30-2005, 07:30 AM
I have tried this but I keep on getting a blank page when I insert the code for the vba_cmps_include_bottom.php and go to my CMPS page.

I also think your 'hack code insert' info is very hard to understand, I think i should be like all others..

Find this:
example();

Add this below
example123231();

Thats how it should be.Agreed- I tried following the info a few times, but haven't been able to get it to work. The "around line 580 insert this" or "after the javascript switch add this" stuff is very confusing. I would really like to get it to work since it seems like a very cool mod from the pics and description. I appreciate the author sharing their hack, but if anyone could post some simpler/clearer step-by-step instructions I would appreciate it.

SmashinYoungMan
01-31-2005, 12:13 AM
Those running a site where they'll be adding a lot of custom content might want to consider using an opensource CMS such as Mambo which can be integrated with vBulletin. I use it on one of my sites and I've been extremely pleased with it; the learning curve is quite steep, but that's only because it's loaded down with features. Plus it has a large community of users who create modules, bots, themes, etc for it.

Vbadvanced is best suited to websites where the forums are the main feature, and the frontpage is used primarily to make announcements and coalesce forum information. That's not to say you can't do a lot with it, because you can; it just requires a bit of work to get it to do exactly what you want so far displaying custom content is concerned (such as the content editor hack featured in this thread).

Sanjiyan
01-31-2005, 08:58 PM
Come on anyone able to assist in this hack? ie ease of installation, I've tried now 7 times install this thing and each and every time its locked up on the last part where I need to edit the vba_cmps_include_bottom.php (I just get a white screen on the cmps pages)

Maybe if someone please posts their edited vba_cmps_include_bottom.php game I'd be grateful...

Many thanks in advanced for whom helps :)

gorp
01-31-2005, 10:50 PM
Come on anyone able to assist in this hack? ie ease of installation, I've tried now 7 times install this thing and each and every time its locked up on the last part where I need to edit the vba_cmps_include_bottom.php (I just get a white screen on the cmps pages)

Maybe if someone please posts their edited vba_cmps_include_bottom.php game I'd be grateful...

Many thanks in advanced for whom helps :)agreed- I have done this hack a few times, and the vagueness of the info and the php-noob-ness of my brain combined are not a good combo
:D

Sanjiyan
01-31-2005, 11:41 PM
agreed- I have done this hack a few times, and the vagueness of the info and the php-noob-ness of my brain combined are not a good combo
:D

Sorry for my mis-spelling and typos of my last post, I'm slighty (hah!) drunk due to my lack of tolerence (large amounts) so. ;)

Either way, I still stand by my post; better installation instructions would help this 'hack' go along way.

shortbus
02-01-2005, 04:23 PM
I'll gladly pay to have this installed :)

s2kca
02-02-2005, 04:01 PM
OK, I was getting the blank page that is mentioned above, then upgraded to CMPS v1.0.1 and tried re-installing. Now I get :
Parse error: parse error, unexpected T_CLASS in /home/s2kciqmm/public_html/forums/admincp/vba_cmps_admin.php on line 96

Here is my line 96:
print_input_row('<span class="smallfont"><strong><a href="vba_cmps_adminprint_input_row('<span class="smallfont"><strong><a href="vba_cmps_admin.php?do=editmodule&amp;modid=' . $column['modid'] . '">' . $column['title'] . '</a> <a href="vba_cmps_admin.php?do=editcontent&modid=' . $column['modid'] . '" alt="Edit Content" title="Edit Content"> </a> </strong></span>' . iif(!$column['active'], ' <div style="color:red;font-size:9px;font-weight:normal;">(' . $vbphrase['inactive'] . ')</div>') . '<div class="smallfont" style="margin-top:5px">' . $vbphrase['move_to'] . ': ' .

Any ideas???

Sanjiyan
02-02-2005, 05:35 PM
I'll gladly pay to have this installed :)


Same here....

Sanjiyan
02-05-2005, 09:17 AM
*bump*

OK it seems that the original author of this hack, seems unable to respond, so I am hoping that someone else might be able to offer some support for this...

Has anyone got this installed under CMPS 1.0.1 ? If so could they please be so kind as to post their 'vba_cmps_include_bottom.php' file.

Or give us people that would LOVE to use this hack, but are unable to do so because of the original install instructions being very hard to follow, a better installation info, or tell/show us how to do it please...

Do I need to kneel down and beg ?

tormodg
02-05-2005, 10:02 AM
I would, if I could find one that's not worthless.

The KTML editor from Interakt - http://www.interaktonline.com/ - is perfect for this. PHP, cross-platform, and the lite version is FREE.

thabenksta
02-07-2005, 01:00 PM
Hey guys, sorry for not getting back to you, I'll answer the one's who PM'ed me.

thabenksta
02-07-2005, 01:14 PM
Ok guys, I'm not promising anything, but I'll try and streamline this a little more. I'm not a VBA hacker, just sharing some knowledge.

I'll try and post better instructions, and add the WYSIWYG. Another other suggestions?

hondaman
02-07-2005, 05:26 PM
This would be something I would use for my site, but it seems, by reading this thread, that its not compatible with vBA 1.01. If its does indeed work, I will install it. But I need easy, step by step instructions to make sure it works as I am not exactly a php hacker.

ashly
02-11-2005, 11:50 AM
Yea can any one make a version that works with vba 1.0.1 cms... and step y step install. :)

guyincorby
02-11-2005, 07:07 PM
OK, I was getting the blank page that is mentioned above, then upgraded to CMPS v1.0.1 and tried re-installing. Now I get :
Parse error: parse error, unexpected T_CLASS in /home/s2kciqmm/public_html/forums/admincp/vba_cmps_admin.php on line 96

Here is my line 96:
print_input_row('<span class="smallfont"><strong><a href="vba_cmps_adminprint_input_row('<span class="smallfont"><strong><a href="vba_cmps_admin.php?do=editmodule&amp;modid=' . $column['modid'] . '">' . $column['title'] . '</a> <a href="vba_cmps_admin.php?do=editcontent&modid=' . $column['modid'] . '" alt="Edit Content" title="Edit Content"> </a> </strong></span>' . iif(!$column['active'], ' <div style="color:red;font-size:9px;font-weight:normal;">(' . $vbphrase['inactive'] . ')</div>') . '<div class="smallfont" style="margin-top:5px">' . $vbphrase['move_to'] . ': ' .

Any ideas???

You have part of the same line entered twice. It should be:

print_input_row('<span class="smallfont"><strong><a href="vba_cmps_admin.php?do=editmodule&amp;modid=' . $column['modid'] . '">' . $column['title'] . '</a> <a href="vba_cmps_admin.php?do=editcontent&modid=' . $column['modid'] . '" alt="Edit Content" title="Edit Content"> </a> </strong></span>' . iif(!$column['active'], ' <div style="color:red;font-size:9px;font-weight:normal;">(' . $vbphrase['inactive'] . ')</div>') . '<div class="smallfont" style="margin-top:5px">' . $vbphrase['move_to'] . ': ' .

Deviant++
02-16-2005, 03:16 PM
somone should release this at vb.org as a hack

gorp
02-19-2005, 12:07 AM
somone should release this at vb.org as a hackjust as soon as anyone can get it working ... :rolleyes:

Sanjiyan
02-19-2005, 12:13 AM
yep, still waiting on this hack so I can get it working right.

Deviant++
02-19-2005, 05:02 AM
might as well use toms thingy

gorp
02-19-2005, 10:49 AM
might as well use toms thingyI think there is a dirty joke in here somewhere... hehe..

tom's thingy?

AcidCell
02-21-2005, 02:30 AM
You might want to addslashes when you enter the content into the database....

// ######################## Do Edit Custom Content ############################
$contenttitle = addslashes($_POST['content_title']);
$content = addslashes($_POST['content']);
if ($_POST['do'] == 'doeditcontent')
{
if ($_POST[pageid]) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_pages SET content_title = '$contenttitle',content = '$content' WHERE pageid = '$_POST[pageid]'");
update_module_cache();
print_cp_redirect("vba_cmps_admin.php?$session[sessionurl]&do=listpages", 0);
} elseif ($_POST[modid]) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_modules SET content_title = '$contenttitle',content = '$content' WHERE modid = '$_POST[modid]'");
update_module_cache();
print_cp_redirect("vba_cmps_admin.php?$session[sessionurl]&do=listmodules", 0);
} else {
print_cp_redirect("vba_cmps_admin.php");
}
}

StewardManscat
02-26-2005, 06:48 PM
I installed this without difficulty. Tried to keep track of it as I went. This may help:

Step 1: Update your SQL tables

Using phpMyAdmin or similar sql tool, run the following queries. Be sure to replace PREFIX_ with your own database table prefix if any.

alter table PREFIX_adv_pages add content_title TEXT;
alter table PREFIX_adv_pages add content TEXT;
alter table PREFIX_adv_modules add content_title TEXT;
alter table PREFIX_adv_modules add content TEXT;


Step 2: Modify forum/admin/vba_cmps_admin.php

Find:


print_cp_footer();
?>


Add above:


// ######################## Edit Custom Content ############################
if ($_REQUEST['do'] == 'editcontent')
{

print_form_header('vba_cmps_admin', 'doeditcontent');
$content_title;
$content;
if ($_REQUEST['pageid']) {
$page = $DB_site->query_first("SELECT content_title, content FROM " . TABLE_PREFIX . "adv_pages WHERE pageid = '$_REQUEST[pageid]'");
construct_hidden_code('pageid', $_REQUEST['pageid']);
$content_title = $page['content_title'];
$content = $page['content'];
} elseif ($_REQUEST['modid']) {
$mod = $DB_site->query_first("SELECT content_title, content FROM " . TABLE_PREFIX . "adv_modules WHERE modid = '$_REQUEST[modid]'");
construct_hidden_code('modid', $_REQUEST['modid']);
$content_title = $mod['content_title'];
$content = $mod['content'];
}
print_table_header("Edit Content");
print_textarea_row("Content Title", "content_title", $content_title, "5", "70");
print_textarea_row("Content", "content", $content, "20", "70");
print_submit_row();
}
// ######################## Do Edit Custom Content ############################
if ($_POST['do'] == 'doeditcontent')
{
$contenttitle = addslashes($_POST['content_title']);
$content = addslashes($_POST['content']);
if ($_POST[pageid]) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_pages SET content_title = '$_POST[content_title]',content = '$_POST[content]' WHERE pageid = '$_POST[pageid]'");
update_module_cache();
print_cp_redirect("vba_cmps_admin.php?$session[sessionurl]&do=listpages", 0);
} elseif ($_POST[modid]) {
$DB_site->query("UPDATE " . TABLE_PREFIX . "adv_modules SET content_title = '$_POST[content_title]',content = '$_POST[content]' WHERE modid = '$_POST[modid]'");
update_module_cache();
print_cp_redirect("vba_cmps_admin.php?$session[sessionurl]&do=listmodules", 0);
} else {
print_cp_redirect("vba_cmps_admin.php");
}
}


Find:


print_yes_no_row($vbphrase['active'] . ':', 'active', $mod['active']);


Add above:


print_label_row("Custom Content Editor", "<input type=button onclick=\"javascript:location='vba_cmps_admin.php?do=editcontent&modid=" . $mod['modid'] . "'\" value=\"Edit Content\">");


WARNING
vbulletin or this forum or some gremlin is changing do=editcontent to do=editcon tent. Inserting extra spaces: This is causing the blank page pain. Remove the spaces from do=editcontent.


Find:

print_input_row('<span class="smallfont"><strong><a href="vba_cmps_admin.php?do=editmodule&amp;modid=' . $column['modid'] . '">' . $column['title'] . '</a></strong></span>' . iif(!$column['active'], ' <div style="color:red;font-size:9px;font-weight:normal;">(' . $vbphrase['inactive'] . ')</div>') . '<div class="smallfont" style="margin-top:5px">' . $vbphrase['move_to'] . ': ' .


Replace with:


print_input_row('<span class="smallfont"><strong><a href="vba_cmps_admin.php?do=editmodule&amp;modid=' . $column['modid'] . '">' . $column['title'] . '</a> <a href="vba_cmps_admin.php?do=editcontent&modid=' . $column['modid'] . '" alt="Edit Content" title="Edit Content"> </a> </strong></span>' . iif(!$column['active'], ' <div style="color:red;font-size:9px;font-weight:normal;">(' . $vbphrase['inactive'] . ')</div>') . '<div class="smallfont" style="margin-top:5px">' . $vbphrase['move_to'] . ': ' .


Find:


case 'remove':
page = 'vba_cmps_admin.php?do=removepage&pageid=';
break;


Add below:


case 'content':
page = 'vba_cmps_admin.php?do=editcontent&pageid=';
break;


Find:


$diroptions = array(
'edit' => $vbphrase['edit'],
'remove' => $vbphrase['delete']
);


Replace with:


$diroptions = array(
'edit' => $vbphrase['edit'],
'remove' => $vbphrase['delete'],
'content' => 'Content'
);


Step 3: Modify forum/includes/vba_cmps_include_bottom.php

Find:


if ($mods['inctype'] == 0)


Add above:


$content_title = $mods['content_title'];
$content = $mods['content'];


Find:


if ($mods['identifier'] == 'custompage')
{


Add below:


$content_title = $pages['content_title'];
$content = $pages['content'];


Many thanks to the author, and the person who noticed the missing 'addslashes'.

These instructions are attached as a text file, so the author may continue to build on them if he or she wishes to post more (and here's hoping you do!)

Sanjiyan
03-01-2005, 12:31 AM
This works great, I can make it generate a page which is what I want...

BUT..... When I turn it into making a module, I enter the code/info for the module, but the module does not appear on any page, even though it is active and visable.

Any ideas ?

Sanjiyan
03-01-2005, 12:46 AM
Hmm, now I am getting mysql errors....

Any one got any ideas?

My plan was to put html/php code in the custom pages, or is this a no no ?

Sanjiyan
03-05-2005, 08:00 AM
This works great, I can make it generate a page which is what I want...

BUT..... When I turn it into making a module, I enter the code/info for the module, but the module does not appear on any page, even though it is active and visable.

Any ideas ?


Any one got any ideas on this bug ?

Cryptecks
06-03-2005, 01:21 PM
I know this is an extremely old topic, but I used StewardManscat's directions and in about 5 minutes was able to get this up and running on my site, GamingChamber (http://www.gamingchamber.com). For examples of pages I made with this awesome mod, check the reviews page (which is syndicated from another of my sites), and the Wallpapers page, both made easily with this nice mod.

Anyone still interested in this can just get ahold of me through my site (above) and I will be glad to try to help troubleshoot some of your problems.

theshoe
06-27-2005, 12:41 PM
I am getting mysql errors too

theshoe
06-27-2005, 01:38 PM
if someone wants to install thisf or me ill pay em.

remon thijssen
07-23-2005, 06:49 PM
This seems so cool, but I affaid to install it with directions like "Around line 270 I added this"

I did some wierd things to make my page working (far from coding guru) and I can't handle the fact that everything might falls apart again.

If someone could make a how-to with the same direction like installing vba
(eg Find this line and add below)

(doh, forgot to look at the second page)