Page 1 of 1

Need Help with User Defined tag

Posted: Tue May 04, 2010 9:14 pm
by sugna
Is there a way with user defined tags to create a {read_more} smarty to create a "Read More Link"

Example of layout



Read More



I want to give the ability to a content editor to only have to add (read_more} below any content block without using the news module and have the ability to link to any page or external page using Tiny's URL function. I don't them to have to worry about hand coding the

Page Content Block Example

Code: Select all

<h1>Title of Content</h1>
<p>Content text</p>

{read_more}

The style sheet looks like this

Code: Select all

.read-more ul{
	
	width: 75px;
	margin: 0px;
	padding: 0px;
}

.read-more ul li a{
background: url(uploads/images/blue-arrow.png) no-repeat right;
	font-weight: bold;
	color: #0092bf;
	display: block;
	margin: 0px;
	padding: 0px;	
}

Re: Need Help with User Defined tag

Posted: Tue May 04, 2010 10:48 pm
by jmcgin51
how about using {firstExpandCollapse id='' title=''}{stopExpandCollapse} with the Tiny custom dropdown?

Re: Need Help with User Defined tag

Posted: Tue May 04, 2010 11:08 pm
by sugna
I'll check it out. I've never used that before. My only concern is the styling of the "Read More" and I don't want the editor to have to choose a style for the read more link.

I'm using a block and background arrow image for the Read More's

Shane