Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Blank Topics help??
  • Posted: 14.12.2004, 15:04
     
    chrisblack
    rank:
    Helper Helper
    registered:
     March 2003
    Status:
    offline
    last visit:
    18.02.07
    Posts:
    146
    Trying to rush through setting up topics, whilst building a site (and being half asleep), rather than clicking on delete Topic, I deleted the text in the topic name, topic text and topic image (deleting PostNuke and linux?).

    Now when I go to the topics page I have two blank "topics" at the beginning of my topic list.

    Is there any way I can delete these??

    see here: http://www.wccp.ie/modules.php?op=modload&name=Topics&file=index

    Thanks

    Chris
  • Posted: 14.12.2004, 19:52
     
    FrankDeRosa
    rank:
    Professional Professional
    registered:
     March 2002
    Status:
    offline
    last visit:
    15.04.07
    Posts:
    2489
    That's quite a pickle you've got there. I think you should be able to edit your database directly and remove the two rows. If that's uncomfortable, then just edit in some names for them so that you can select them and delete them in admin -> topics.

    Frank

    --
    Serious hosting - all the features, bandwith and storage you could want without breaking the bank at DreamHost.com


    See what I do with PostNuke - http://surreal-dreams.com
  • Posted: 14.12.2004, 20:07
     
    chrisblack
    rank:
    Helper Helper
    registered:
     March 2003
    Status:
    offline
    last visit:
    18.02.07
    Posts:
    146
    Thanks Frank

    I'd be happy editing the database, if I could figure out how - I've looked at the database via phpMyAdmin, but can't figure out what to do next - i presume it is in the nuke_topics section - Here are my field listings:

    Field Type Attributes Null Default Extra Action
    pn_topicid tinyint(4) No auto_increment
    pn_topicname varchar(255) Yes NULL
    pn_topicimage varchar(255) Yes NULL
    pn_topictext varchar(255) Yes NULL
    pn_counter int(11) No 0
    Check All / Uncheck All With selected:

    perhpas if you could explain how to edit in new names for the blank topics, so i can delete them from admin.

    Thanks Chris
  • Posted: 14.12.2004, 20:14
     
    FrankDeRosa
    rank:
    Professional Professional
    registered:
     March 2002
    Status:
    offline
    last visit:
    15.04.07
    Posts:
    2489
    While viewing the table, click the browse tab (top of the screen). This will display the actual data of the table. There's two icons towards the left end of each row. One is edit, and the other is delete. I think you can just pick out the two blank ones (pn_topicname will be blank) and delete them. If you prefer, click the edit icon for the blank rows and edit in text, and then delete the topic from admin.

    Frank

    --
    Serious hosting - all the features, bandwith and storage you could want without breaking the bank at DreamHost.com


    See what I do with PostNuke - http://surreal-dreams.com
  • Posted: 14.12.2004, 20:23
     
    chrisblack
    rank:
    Helper Helper
    registered:
     March 2003
    Status:
    offline
    last visit:
    18.02.07
    Posts:
    146
    COOL - that was straightforward.

    Thanks

    Chris

    --
    www.bantryyouth.net
    www.wccp.ie
    www.sheepshead.ie/sheepshead
    www.cpn.ie
    www.ruraltransport.ie

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula