PDA

View Full Version : Custom Content Page Module?


apokalupsis
07-19-2004, 05:03 PM
What exactly is it? I accidentally deleted it a while back. Do I need it? I've been running w/o it...but perhaps it serves an important purpose? Was it just a place holder?

If I should have it, how can I get it back? What is the code for it? Like I said, I deleted it. I've looked through the install files, can't find anything for it.

Brian
07-19-2004, 05:18 PM
That is used when you add pages that use a specific template (Please read the User's Manual available in the Member's Area here for more info).
To add it back, run this query:

INSERT INTO adv_modules (title, identifier, filename, inctype, modcol, displayorder, templatelist, userperms, active) VALUES ('Custom Page Content', 'custompage', '', 2, 1, 1, '', '', 1);

Our Sponsors
 

gorp
01-31-2005, 01:44 AM
what query do I use to remove the custom content modules? For some reason I seem to have 2, and neither work, so I want to delete them both and add one back in using the above query and see if that works.

Brian
01-31-2005, 08:43 AM
Your best bet would probably be to go in through phpMyAdmin and delete them from the 'adv_modules' table if you're unable to delete them in the admin cp.

Our Sponsors
 

gorp
01-31-2005, 09:59 AM
so if I drop all of the adv_modules tables I won't lose anything that that query won't bring back, right? just checking since it is running great other than that, and I have NO IDEA how 2 custom content pages ended up in there. I did a search here to find the answer and found this 6 month old post to reply to since it seemed to apply. Thanks for your help. Please let me know if it is OK to drop ALL of the the adv_modules tables in phpMyadmin, and then add them back witht his query since this is on my live site I want to make sure...

Brian
01-31-2005, 10:47 AM
No, you do not want to drop all of them. Just browse through the table and find one that has 'custompage' in the 'identifier' column.

gorp
01-31-2005, 11:39 AM
thanks! that did the trick - all I knew how to do in phpMyadmin before was run mass sql queries, so now I learned something new, as well! thanks again :)