Need to use News boxes for something else, how do I . . .

About the template and stylesheet - and changing the menu

Need to use News boxes for something else, how do I . . .

Postby morgansweb » Fri May 22, 2009 6:31 pm

I am using a template that has several news boxes.

I need to use the news boxes as featured items.

I don't want to use the name News to create the content, I want to rename it something else. Can this be done?

Also, I don't want News to be a link on the menu, can this be done also?

Appreciate the help.

thanks,
Chris
morgansweb
 
Posts: 3
Joined: Fri May 22, 2009 6:21 pm

Re: Need to use News boxes for something else, how do I . . .

Postby Till » Fri May 22, 2009 6:56 pm

morgansweb wrote:I don't want to use the name News to create the content, I want to rename it something else. Can this be done?

Sure, you say newsbox("my_other_name") and generate a hidden page called "my other name".

morgansweb wrote:Also, I don't want News to be a link on the menu, can this be done also?

Sure, you have to hide the page holding the newsbox content (#cmsimple hide#). See: http://www.cmsimple.com/?Installer%27s_ ... :Hide_page

Till
Till
 
Posts: 373
Joined: Tue May 20, 2008 7:20 am
Location: Germany: Bremen

Re: Need to use News boxes for something else, how do I . . .

Postby morgansweb » Fri May 22, 2009 7:17 pm

Thanks for the quick response Till,

However, I think I may have written my request wrong.

When I use News within an H1 tags - the link shows up on the menu. I don't want the link to show up but I do want the content to show up in the respective area on the page.

I changed <?=newsbox(FeaturedVendor5)?> then put

FeaturedVendor5 within H1 tags under it I put
#CMSimple hide#

Doing this hides the entire content and doesn't show up in the designated news box.

So, how to I hide the link but yet show the content in the designated newsbox???

Sorry for the questions, I am a bit lost reading the snippet of instructions that are provided on the site for installers, not sure if I'm suppose to add the get(url) function and if so where would I put it? Big learning curve for a first time user, but appreciate the help you've provided thus far!

Till wrote:
morgansweb wrote:I don't want to use the name News to create the content, I want to rename it something else. Can this be done?

Sure, you say newsbox("my_other_name") and generate a hidden page called "my other name".

morgansweb wrote:Also, I don't want News to be a link on the menu, can this be done also?

Sure, you have to hide the page holding the newsbox content (#cmsimple hide#). See: http://www.cmsimple.com/?Installer%27s_ ... :Hide_page



Thanks,
Chris
morgansweb
 
Posts: 3
Joined: Fri May 22, 2009 6:21 pm

Re: Need to use News boxes for something else, how do I . . .

Postby ZiPs » Fri May 22, 2009 7:51 pm

#cmsimple hide# must be at the end of the content like this.
Code: Select all
<h1>FeaturedVendor5</h1>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vel leo a justo molestie semper eu nec elit. Morbi pretium lectus ultrices risus volutpat lacinia. Quisque volutpat, sapien id mollis ullamcorper, turpis quam vehicula odio, a placerat mi justo in quam. Mauris condimentum scelerisque justo, sed rutrum odio vehicula fringilla. Cras fringilla laoreet turpis eu lacinia. Duis pretium sagittis ante at accumsan. Duis dictum aliquam augue, vitae sodales libero convallis non. Aenean a quam vitae neque venenatis euismod. Cras eros diam, pharetra sed ultricies at, scelerisque ut lorem. Aliquam pretium, ipsum nec aliquet blandit, lorem leo venenatis dui, et hendrerit nisl enim in lectus. Quisque quam elit, pellentesque ornare volutpat sed, elementum vitae urna. Nam et magna sit amet velit tristique viverra. Vestibulum pretium, nunc nec auctor vestibulum, dui justo cursus lorem, eu sagittis neque lacus vel purus
#cmsimple hide#

Copy this at give it a try.

/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
ZiPs
 
Posts: 640
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark

Re: Need to use News boxes for something else, how do I . . .

Postby morgansweb » Fri May 22, 2009 8:22 pm

Thanks for the help Zips,

It worked!! :P

Have a great day!
Chris

ZiPs wrote:#cmsimple hide# must be at the end of the content like this.
Code: Select all
<h1>FeaturedVendor5</h1>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vel leo a justo molestie semper eu nec elit. Morbi pretium lectus ultrices risus volutpat lacinia. Quisque volutpat, sapien id mollis ullamcorper, turpis quam vehicula odio, a placerat mi justo in quam. Mauris condimentum scelerisque justo, sed rutrum odio vehicula fringilla. Cras fringilla laoreet turpis eu lacinia. Duis pretium sagittis ante at accumsan. Duis dictum aliquam augue, vitae sodales libero convallis non. Aenean a quam vitae neque venenatis euismod. Cras eros diam, pharetra sed ultricies at, scelerisque ut lorem. Aliquam pretium, ipsum nec aliquet blandit, lorem leo venenatis dui, et hendrerit nisl enim in lectus. Quisque quam elit, pellentesque ornare volutpat sed, elementum vitae urna. Nam et magna sit amet velit tristique viverra. Vestibulum pretium, nunc nec auctor vestibulum, dui justo cursus lorem, eu sagittis neque lacus vel purus
#cmsimple hide#

Copy this at give it a try.

/ZiPs
morgansweb
 
Posts: 3
Joined: Fri May 22, 2009 6:21 pm

Re: Need to use News boxes for something else, how do I . . .

Postby CMSimple-Styles.com » Fri May 22, 2009 8:31 pm

I thought it doesn't matter where to put #cmsimple hide#
I always put it under the headline?? Did always work.
CMSimple-Styles.com
 
Posts: 342
Joined: Thu Jun 26, 2008 8:19 pm
Location: Germany

Re: Need to use News boxes for something else, how do I . . .

Postby ZiPs » Sat May 23, 2009 5:33 pm

Hi CMSimple-Styles.com

Yes it can also be under the headline, but I have experienced that some users deleted it when it is at the top, but when it is at the bottom as the last, it has been better for the users.

/ZiPs
Preben Dahl | Webmaster cmsimple.dk | Projekt-og domæne ejer Gert Ebersbach
ZiPs
 
Posts: 640
Joined: Thu May 22, 2008 6:17 pm
Location: Faxe, Denmark


Return to Changing layout

Who is online

Users browsing this forum: No registered users and 0 guests