1
jerommeke
Smartsection print and adobe icon
  • 2009/2/2 23:10

  • jerommeke

  • Just popping in

  • Posts: 15

  • Since: 2007/5/12


Hello
I use smartsections 2.13
I have seen this module on other websites and on those websites there are a print and an adobe icon when you reed the artikel.
On my site when I open an artikel I only have the following icons: edit, duplicate an artikel, remove an artikel, send the artikel and ad file to artikel.

Can anyone tel me how I can get the print icon and the adobe icon once I view a publiced artikel?


greetz Jeroen

2
Anonymous
Re: Smartsection print and adobe icon
  • 2009/2/3 8:50

  • Anonymous

  • Posts: 0

  • Since:


I've had a quick look at my site (I use SS 2.13) and can't see any options in preferences where these things can be enable/disabled. Looks like they are available by default.

I wonder if the images are missing from your server?

3
trabis
Re: Smartsection print and adobe icon
  • 2009/2/3 13:22

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I did not check 2.13 but I´m sure the pdf and print icon were removed(commented out in the code, and pdf library removed) on 2.14. However were are working on it here.

4
McDonald
Re: Smartsection print and adobe icon
  • 2009/2/3 13:34

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Open the file /class/item.php and find these lines:
if (SMARTSECTION_LEVEL 0) {
            
// PDF button
            
$adminLinks .= "<a href='" SMARTSECTION_URL . (( ICMS_VERSION_BUILD 19 )?"":"make")."pdf.php?itemid=" $this->itemid() . "'><img src='" SMARTSECTION_URL "images/links/pdf.gif' title='" _MD_SSECTION_PDF "' alt='" _MD_SSECTION_PDF "'/></a>";
            
$adminLinks .= " ";
        }

        
// Print button
        
$adminLinks .= '<a href="' smartsection_seo_genUrl("print"$this->itemid(), $this->short_url()) . '"><img src="' SMARTSECTION_URL 'images/links/print.gif" title="' _MD_SSECTION_PRINT '" alt="' _MD_SSECTION_PRINT '"/></a>';
        
$adminLinks .= " ";

These lines are probably comment out ( // ).

As far as I remember this was fixed in version 2.14

5
jerommeke
Re: Smartsection print and adobe icon
  • 2009/2/3 18:03

  • jerommeke

  • Just popping in

  • Posts: 15

  • Since: 2007/5/12


Thanx I'm gonne try it.


Greetz Jeroen

6
Anonymous
Re: Smartsection print and adobe icon
  • 2009/2/3 18:36

  • Anonymous

  • Posts: 0

  • Since:


Version 2.14 also needs the SmartObject framework to be installed (which is why I haven't bothered to upgrade). Last I heard it was at version 1.0.1 but check on the SmartFactory website.

7
McDonald
Re: Smartsection print and adobe icon
  • 2009/2/3 18:37

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


SmartSection 2.14 Final

Quote:
=> Version 2.14 Final (2008-07-05)

- Added : New PDF generator to be used on ICMS 1.1 with tcpdf (stranger)
- Added : Using the new preference of SmartObject which allows disabling of SmartMdules footer on admin
- Fixed : Replacing the credits in the templates by a comment instead of an hidden text
- Fixed : Upgrading from news module recenter than 1.44 was not possible (stranger)

=> Version 2.14 Beta (2008-04-13)

- Added : Addition of a rate feature to rate article
- Added : Addition of an option in the module preference '[CONTENT OPTIONS] Display sub categories', 'Display sub-categories on index page only' thanks to Mowaffak
- Added : Config option to display or not the module breadcrumb
- Added : Addition of a shortcut link to edit the categories' details (only application for those with administrative privilege), thanks to Jason Wong and Shine
- Added : Addition of the possibility to select multiple categories in the Recent Items List and Recent Items Details block
- Added : Import script for WF-Section up to until version 2.07
- Added : Verification to be sure SmartObject is installed as this is now a requirement for SmartSection to work
- Fixed : SmartsectionMetagen was missing under some situation
- Fixed : The Spotlight block edit form was causing a problem with large number of articles
- Fixed : Some characters were not supported in makepdf.php. They are now, thanks to ccopen and McDonald
- Fixed : Category icon problem fixed thanks to Jason Wong and Shine
- Fixed : Categories now have pagination thanks to eljkmw and Shine
- Fixed : No introduction text showen in mainpage thanks to McDonald and Shine
- Fixed : Upon deleting article tag-entries are not deleted from Tag-module thanks to McDonald and Shine
- Fixed : Offline articles were still accessible via direct URL (malanciault/shine)
- Fixed : Files linked to articles are now only accessible by people with proper permissions AND when article is "Published"
- Fixed : File needs to be "Visible" for it to be available, even via direct link

8
Mamba
Re: Smartsection print and adobe icon
  • 2009/2/3 18:58

  • Mamba

  • Moderator

  • Posts: 11228

  • Since: 2004/4/23


Once the upcoming Publisher module will be released, there will be no need for the SmartObject framework. It will also include tons of improvements over SmartSection.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

9
McDonald
Re: Smartsection print and adobe icon
  • 2009/2/3 20:23

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


End if you're creative you can make your own article module with the possibility to add articles to multiple categories

Login

Username:
Password:

Lost Password? Register now!

Who's Online

69 user(s) are online (47 user(s) are browsing Support Forums)


Members: 0


Guests: 69


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits