Need Help with User Defined tag

General project discussion. NOT for help questions.
Post Reply
User avatar
sugna
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 10, 2007 3:04 pm

Need Help with User Defined tag

Post 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;	
}
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Need Help with User Defined tag

Post by jmcgin51 »

how about using {firstExpandCollapse id='' title=''}{stopExpandCollapse} with the Tiny custom dropdown?
User avatar
sugna
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 10, 2007 3:04 pm

Re: Need Help with User Defined tag

Post 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
Post Reply

Return to “General Discussion”