Subrion CMS Support Forums   Follow Subrion on Twitter Join Us on Facebook

Go Back   Subrion CMS Support Forums > Subrion CMS Core Discussion > Subrion Core Discussion

Subrion Core Discussion Here we discuss everything that is related to Subrion CMS core functionality. Additional features related to plugins and templates engines. New features that are related to Manage Pages functionality or anything that's not related to Subrion packages.

Reply

 

LinkBack Thread Tools Display Modes
Old 06-03-2007   #1 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Removal of subitem radio in Add-Article.tpl

Hi

Can you help me remove the subitem section ' Do you want to add your subitem info now?' in Add-Article.tpl bit more complex than the registration section

Apart from Admin which i want to keep, are there any other subitem sections in the front end? If so could you help me remove them please.

Oh and if you didn't see other post, send me the zip of the version I testing so i can replace the editor box, which I stupidly removed please.

Bless you so many questions!

By the way hate this emotis what happened to the ones like esyndicat...
LorenGK is offline   Reply With Quote
Old 06-03-2007   #2 (permalink)
Senior Member
 
Join Date: Apr 2007
Location: YOZGAT[TR]-StraSbourg[Fr]
Posts: 167
TurXaliM is on a distinguished road
Send a message via ICQ to TurXaliM Send a message via MSN to TurXaliM Send a message via Skype™ to TurXaliM
Default Re: Removal of subitem radio in Add-Article.tpl

Check this thread;
http://www.xooarticles.com/forums/te...ved-these.html
__________________
Excuse me all, My English isn't good
TurXaliM is offline   Reply With Quote
Old 06-03-2007   #3 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: Removal of subitem radio in Add-Article.tpl

Loren, do you want completely disable subitems? Then you should to disable subitems in Configuration->Subitems and change 2 lines in add-article.tpl. In lines #246 and #376 replace
PHP Code:
{if not $gAccount
with
PHP Code:
{if not $gAccount and $gConfig.allow_subitems
Sergey Hmelevsky is offline   Reply With Quote
Old 06-04-2007   #4 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: Removal of subitem radio in Add-Article.tpl

I want to completely disable subitems for members but not admin, i want to be able to add the subitems.

I did try that button but it disabled my ability too, will those extra bits of code allow me to still submit?
LorenGK is offline   Reply With Quote
Old 06-04-2007   #5 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: Removal of subitem radio in Add-Article.tpl

Loren, subitems created specially to be attached to article. Now, admin CP hasn't feature to attach subitems to articles. So, in that way, if you disable subitems posting for user now, you can't attach its to articles and it will be separated and senseless.
Sergey Hmelevsky is offline   Reply With Quote
Old 06-04-2007   #6 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: Removal of subitem radio in Add-Article.tpl

Not really senseless...because I can post news using subitems, and members can post articles. The idea in principle will work, if i can just stop the subitems radio boxes being seen by members. This will require obviously commenting out of various coding for front end. That's all I am asking for really. And yes i do want them linked just a bit in control of the subitems.
LorenGK is offline   Reply With Quote
Old 06-04-2007   #7 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: Removal of subitem radio in Add-Article.tpl

Well, tomorrow I write which lines should be commented.
Sergey Hmelevsky is offline   Reply With Quote
Old 06-04-2007   #8 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: Removal of subitem radio in Add-Article.tpl

Your a star thank you, I do appreciate all the help you are giving me

Hopefully not many more modifications or problems to iron out
LorenGK is offline   Reply With Quote
Old 06-04-2007   #9 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 644
Sergey Hmelevsky will become famous soon enough
Default Re: Removal of subitem radio in Add-Article.tpl

Loren, I update some files on your site to disable subitem functionality for users.
Sergey Hmelevsky is offline   Reply With Quote
Old 06-05-2007   #10 (permalink)
Senior Member
 
Join Date: May 2007
Posts: 105
LorenGK is on a distinguished road
Default Re: Removal of subitem radio in Add-Article.tpl

You Are an Angel! Bless you! Thank you so much!
LorenGK is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
problem of this character \ before ' when i have posted a Subitem TurXaliM Subrion Core Discussion 3 06-05-2007 03:12 AM


All times are GMT -6. The time now is 06:39 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0