#159 Enhancements to tiki-view_articles & tiki-edit_submission

open
Michael Davey
None
5
2005-02-26
2005-01-09
subbu sastry
No

I didn't know where to submit this, so posting it here ...

I have tiki 1.8.4.1 installed at home.
I needed the functionality where:
(1) articles are displayed on a per-topic basis
(2) provide links for editing a new "article"
submission where
the topic and article type is pre-assigned.

I was told earlier today that
tiki-view_articles.php?topic=3 displays all articles in
topic with id 3. however, in the display, there was no
title.

So, I edited tiki-view_articles.php and
tiki-view_articles.tpl to display an appropriate
heading depending on whether the article type, the
topic id are given (all 4 combinations).

Secondly, I wanted support for links of the type:
tiki-edit_submission.php?type=Review&topic=4 to not
present any drop-down lists for article type and
topics. So, I changed tiki-edit_submission.php and
tiki-edit_submission.tpl to do error checks and if
valid, display the article type and topic and not
present the drop down lists.

These chages are sufficient for my work, but, I can
send across the files to some developer to do any
necessary sanity checks, move the style declaration to
the CSS ... etc.

Subbu.

Discussion

  • Michael Davey
    Michael Davey
    2005-02-26

    • assigned_to: nobody --> michael_davey
     
  • subbu sastry
    subbu sastry
    2005-02-26

    Logged In: YES
    user_id=1130360

    Michael: Should I send the edited files? -Subbu.

     
  • Michael Davey
    Michael Davey
    2005-02-26

    Logged In: YES
    user_id=399326

    Subbu,

    > Should I send the edited files?
    Please.

    If you have a fairly recent cvs of 1.8.5 or 1.9, it would
    help if you could generate a unified diff of your changes.
    Best if you could do a "cvs up" prior to generating the
    unified diff. On Unix/Linux, you can generate a unified
    diff output with "cvs diff -u ..." or "diff -u ...".

    Otherwise, please just attach the entire files to this tracker.

    Thanks,
    --
    Michael

     
  • subbu sastry
    subbu sastry
    2005-02-27

     
  • subbu sastry
    subbu sastry
    2005-02-27

     
  • subbu sastry
    subbu sastry
    2005-02-27

    Logged In: YES
    user_id=1130360

    I dont have the latest CVS -- I just have the original
    1.8.4.1 downloaded .. so, I have attached the 4 files here.

    Subbu.