Social Web CMS
February 09, 2010, 06:43:38 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We have reinvented SocialWebCMS as HotaruCMS, which is available to download from http://hotarucms.org.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Related Links on Submission Module v.0.1  (Read 866 times)
Nick
Administrator
Hero Member
*****
Offline Offline

Posts: 668



View Profile WWW
« on: December 04, 2008, 01:51:42 am »

Description of Related Links on Submission Module v.0.2

Updated to v.0.2 on Jan 20th 2009

Displays up to 10 related links on step 3 of the submission process so that users can check they aren't submitting a duplicate story. See the attached screenshot.

Instructions
  • 1. Upload the related_links_submit folder to your modules folder. Install it from Module Management in Admin.
  • 2. Add the following to /templates/your_template/submit_step_3.tpl:
          {checkActionsTpl location="tpl_submit_step_3_pre_submit"}
        after {$the_story}

Revision History
  • v0.2 2009/01/20 LongCountdown - Renamed module hook.
  • v0.1 2008/12/04 LongCountdown - first version.


* related_links_submit_image.jpg (104.53 KB, 623x531 - viewed 109 times.)
* related_links_submit.zip (17.67 KB - downloaded 55 times.)
« Last Edit: January 20, 2009, 12:48:23 am by longcountdown » Logged

Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
nothingman
Full Member
***
Offline Offline

Posts: 111


View Profile
« Reply #1 on: December 04, 2008, 02:14:22 am »

LCD, thanks for this.. but I get the following error on submit step 3 Undecided

Code:
Warning: file_get_contents(./submission_approval_swcms_lang_conf): failed to open stream: No such file or directory in /home/content/l/a/w/lawrmcom/html/libs/templatelite/class.config.php on line 49
Could not open ./submission_approval_swcms_lang_conf
Logged

I don't know, that's why I ask...
Nick
Administrator
Hero Member
*****
Offline Offline

Posts: 668



View Profile WWW
« Reply #2 on: December 04, 2008, 02:47:04 am »

Whoops! Okay, I've fixed that and updated the zip file. Thanks for pointing it out.
« Last Edit: December 06, 2008, 12:30:28 pm by longcountdown » Logged

Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
nothingman
Full Member
***
Offline Offline

Posts: 111


View Profile
« Reply #3 on: December 04, 2008, 02:55:02 am »

Cool! works like a charm...  Cool
« Last Edit: January 22, 2009, 09:08:10 am by nothingman » Logged

I don't know, that's why I ask...
Nick
Administrator
Hero Member
*****
Offline Offline

Posts: 668



View Profile WWW
« Reply #4 on: January 20, 2009, 12:48:30 am »

Related Links on Submission Module updated to v.0.2

Changes:
---------
Module hook renamed for compatibility with other modules.

If you're upgrading from v.0.1...

In /templates/your_template/submit_step_3.tpl
Change: {checkActionsTpl location="tpl_submit_step_3_related_links"}
To: {checkActionsTpl location="tpl_submit_step_3_pre_submit"}
Logged

Reinventing SWCMS at HotaruCMS.org - testers, designers and developers wanted!
Geoserv
Global Moderator
Jr. Member
*****
Offline Offline

Posts: 65



View Profile WWW
« Reply #5 on: January 22, 2009, 05:53:52 am »

Great idea, thanks for the mod.

Geoserv.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!